@opencode/core 0.0.0-dev-20165 → 0.0.0-dev-20169
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{bus-1de9bfc6.js → mime-07xxyaze.js} +22 -22
- package/dist/chunks/{bus-82rhge12.js → mime-0996nyz8.js} +9 -9
- package/dist/chunks/{bus-p4h2ee3k.js → mime-0e9d45z6.js} +39 -39
- package/dist/chunks/{bus-wnbk6n9k.js → mime-0gs1t9y7.js} +26 -26
- package/dist/chunks/{bus-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-1m2z8e7b.js → mime-0r9gc419.js} +7 -7
- package/dist/chunks/mime-0rjbbhdn.js +252 -0
- package/dist/chunks/{bus-4a6jpjer.js → mime-0ryd0fps.js} +5 -5
- package/dist/chunks/{bus-pwhnje2m.js → mime-0s890w15.js} +5 -5
- package/dist/chunks/{bus-0v53mg2y.js → mime-0v53mg2y.js} +1 -1
- package/dist/chunks/{bus-fnhgg4jn.js → mime-0x4ra8ng.js} +13 -13
- package/dist/chunks/{bus-4k0xqdp1.js → mime-16cax9zb.js} +8 -8
- package/dist/chunks/{bus-e5bgy2te.js → mime-1a49mg8n.js} +19 -19
- package/dist/chunks/{bus-xck3z9mf.js → mime-1cn8p0vk.js} +3 -3
- package/dist/chunks/{bus-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-hax2a083.js → mime-1dybw484.js} +329 -329
- package/dist/chunks/{bus-w4j00t45.js → mime-1fw2a5v8.js} +17 -17
- package/dist/chunks/{bus-5saxw66x.js → mime-1kppbkx0.js} +25 -25
- package/dist/chunks/{bus-90xaeqwc.js → mime-1qspzcx3.js} +11 -11
- package/dist/chunks/{bus-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{bus-492h1gdm.js → mime-246wn8dt.js} +14 -14
- package/dist/chunks/{bus-6z9y85k1.js → mime-2735jr6x.js} +12 -12
- package/dist/chunks/{bus-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-bkwphhr2.js → mime-2qtvb2sf.js} +14 -14
- package/dist/chunks/{bus-z9dd25k8.js → mime-2xqf92me.js} +1 -1
- package/dist/chunks/{bus-zr2g05xs.js → mime-2y6wvzw1.js} +8 -8
- package/dist/chunks/{bus-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-f6k3fn9n.js → mime-3h23es9p.js} +46 -46
- package/dist/chunks/{bus-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-a59y5hzn.js → mime-3sz51aqf.js} +12 -12
- package/dist/chunks/{bus-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{bus-kvj3dve3.js → mime-44ykbs4n.js} +11 -11
- package/dist/chunks/{bus-rp1mvs2e.js → mime-492avacy.js} +8 -8
- package/dist/chunks/{bus-x2d6vh57.js → mime-4a39hndw.js} +175 -175
- package/dist/chunks/{bus-p9annnb7.js → mime-4fewzrdd.js} +7 -7
- package/dist/chunks/{bus-wqk3mr70.js → mime-4mj1cvph.js} +23 -23
- package/dist/chunks/{bus-9ban3fzf.js → mime-4nxa3yrp.js} +13 -13
- package/dist/chunks/{bus-9nepbqpa.js → mime-4pwxaf10.js} +6 -6
- package/dist/chunks/{bus-2j6jsqwq.js → mime-4v0ac6w2.js} +12 -12
- package/dist/chunks/{bus-fftnqjnh.js → mime-4xvevn0r.js} +31 -31
- package/dist/chunks/{bus-b0d9tgj8.js → mime-547acfmc.js} +8 -8
- package/dist/chunks/{bus-33w4ejhs.js → mime-56gdpj1q.js} +6 -6
- package/dist/chunks/{bus-5p3qe974.js → mime-5796tcck.js} +3 -3
- package/dist/chunks/{bus-57ez7d0k.js → mime-57ez7d0k.js} +2 -2
- package/dist/chunks/{bus-nyva0bg3.js → mime-58m92xrk.js} +21 -21
- package/dist/chunks/{bus-gxqmhm25.js → mime-5cta56rp.js} +1 -1
- package/dist/chunks/{bus-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-vqymvczy.js → mime-5r6fx1qs.js} +17 -17
- package/dist/chunks/{bus-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-tbyx57wx.js → mime-6260z82e.js} +19 -19
- package/dist/chunks/{bus-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{bus-rq3x7jf0.js → mime-6asax46e.js} +52 -52
- package/dist/chunks/{bus-621fsy7e.js → mime-6gb804jb.js} +32 -32
- package/dist/chunks/{bus-2402vzrj.js → mime-6h73sxmp.js} +5 -5
- package/dist/chunks/{bus-2j6e3bvk.js → mime-6ka24jaf.js} +17 -17
- package/dist/chunks/{bus-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-wqezm4py.js → mime-6qx8bc3d.js} +31 -31
- package/dist/chunks/{bus-cazgjqaa.js → mime-6x3df6m5.js} +15 -15
- package/dist/chunks/{bus-5vfxef0j.js → mime-70dy1mpp.js} +8 -8
- package/dist/chunks/{bus-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-ywkte6jb.js → mime-7e3zd5d4.js} +20 -20
- package/dist/chunks/{bus-qg0jgkcp.js → mime-84zt2byv.js} +9 -9
- package/dist/chunks/{bus-yvvvp4gn.js → mime-89bb6baa.js} +8 -8
- package/dist/chunks/{bus-4eq8w0dz.js → mime-8b6wz1s2.js} +4 -4
- package/dist/chunks/{bus-5wrpqmpn.js → mime-8cmactcw.js} +6 -6
- package/dist/chunks/{bus-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-rptbjxz5.js → mime-8fvtg4q1.js} +22 -22
- package/dist/chunks/{bus-kbqbpb5y.js → mime-8pkr1zz8.js} +5 -5
- package/dist/chunks/{bus-w92k2e0p.js → mime-8sze2n9a.js} +4 -4
- package/dist/chunks/{bus-xcd0eash.js → mime-909p1r3q.js} +6 -6
- package/dist/chunks/{bus-94ek1h2f.js → mime-94ek1h2f.js} +2 -2
- package/dist/chunks/{bus-a5tc7nft.js → mime-96172wp9.js} +9 -9
- package/dist/chunks/{bus-5gpwaaa3.js → mime-9g6mcpc9.js} +27 -27
- package/dist/chunks/{bus-n9axn9y3.js → mime-9nj21xqc.js} +8 -8
- package/dist/chunks/{bus-nng2ktcm.js → mime-a3r4dcrj.js} +2 -2
- package/dist/chunks/{bus-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-h23yh68c.js → mime-acp8wmh6.js} +23 -23
- package/dist/chunks/{bus-5e23jtee.js → mime-ae1n2vcd.js} +4 -4
- package/dist/chunks/{bus-0aphxhy3.js → mime-ak9msbxp.js} +8 -8
- package/dist/chunks/{bus-htnmj870.js → mime-amtxatrd.js} +38 -38
- package/dist/chunks/{bus-68xb8x64.js → mime-aq494hqz.js} +9 -9
- package/dist/chunks/{bus-75hmpj5n.js → mime-ax1mpjb7.js} +27 -27
- package/dist/chunks/{bus-zqkerfns.js → mime-axrwawvg.js} +9 -9
- package/dist/chunks/{bus-804gbpmx.js → mime-b6fp2acj.js} +21 -21
- package/dist/chunks/{bus-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-9w24k8ft.js → mime-bdn7vv49.js} +9 -9
- package/dist/chunks/{bus-r9y96fy8.js → mime-bemp11m2.js} +92 -92
- package/dist/chunks/{bus-9e4j78a5.js → mime-bf4gbvg4.js} +15 -15
- package/dist/chunks/{bus-vy4zg7qh.js → mime-bm3m92rh.js} +12 -12
- package/dist/chunks/{bus-hb54f2e7.js → mime-byjwxeqw.js} +42 -42
- package/dist/chunks/{bus-x4f6av98.js → mime-bz63ghv0.js} +30 -30
- package/dist/chunks/{bus-23k6j2rh.js → mime-ccksk4yj.js} +15 -15
- package/dist/chunks/{bus-cs75ts80.js → mime-ce49hgg3.js} +3 -3
- package/dist/chunks/{bus-t2n45ka6.js → mime-chwtr2e5.js} +26 -26
- package/dist/chunks/{bus-pyp2czcp.js → mime-ck42neey.js} +35 -35
- package/dist/chunks/{bus-ajvebkcv.js → mime-ck4n2qmk.js} +7 -7
- package/dist/chunks/{bus-ckecvw8r.js → mime-ckecvw8r.js} +2 -2
- package/dist/chunks/{bus-s5met55r.js → mime-cmmdg65p.js} +8 -8
- package/dist/chunks/{bus-x1fhfwhd.js → mime-cmx4q0sw.js} +3 -3
- package/dist/chunks/{bus-7e0e9twk.js → mime-cs3vqxz8.js} +5 -5
- package/dist/chunks/{bus-y3t73a5g.js → mime-cvh6twbq.js} +10 -10
- package/dist/chunks/{bus-cwa6csj7.js → mime-cwa6csj7.js} +2 -2
- package/dist/chunks/{bus-xfdhhsh9.js → mime-d15a5crh.js} +16 -16
- package/dist/chunks/{bus-2yz1cbm3.js → mime-d1ejf2a0.js} +48 -48
- package/dist/chunks/{bus-hkfg6fzm.js → mime-d2aac7k2.js} +5 -5
- package/dist/chunks/{bus-m0nnjza8.js → mime-d6h5jf52.js} +11 -11
- package/dist/chunks/{bus-8r8xc86v.js → mime-ddzkc74p.js} +20 -20
- package/dist/chunks/{bus-p8a6mfpk.js → mime-denbd3k6.js} +31 -31
- package/dist/chunks/{bus-1r8wqweq.js → mime-dhcd5s6n.js} +14 -14
- package/dist/chunks/{bus-37s12vcn.js → mime-dj9sq318.js} +5 -5
- package/dist/chunks/{bus-qeg755aj.js → mime-djgw09t3.js} +12 -12
- package/dist/chunks/{bus-hzk9myad.js → mime-dmy463da.js} +15 -15
- package/dist/chunks/{bus-8gsyrf1v.js → mime-dtb55fr6.js} +10 -10
- package/dist/chunks/{bus-fqx7x8ej.js → mime-dx066ber.js} +9 -9
- package/dist/chunks/{bus-z7gsgqjy.js → mime-dyynjqpa.js} +39 -39
- package/dist/chunks/{bus-510m7gjw.js → mime-e6hmchc5.js} +5 -5
- package/dist/chunks/{bus-fe7dkewn.js → mime-ebhn8wwf.js} +17 -17
- package/dist/chunks/{bus-4w7sepzt.js → mime-ec7jv6ne.js} +50 -50
- package/dist/chunks/{bus-ecfe7b91.js → mime-ecfe7b91.js} +2 -2
- package/dist/chunks/{bus-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-0x3w53kc.js → mime-empm8ahp.js} +28 -28
- package/dist/chunks/{bus-534vcbcv.js → mime-ennxz5nn.js} +20 -20
- package/dist/chunks/{bus-syyr0948.js → mime-eq9tcww4.js} +18 -18
- package/dist/chunks/{bus-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-h8bd7r45.js → mime-ew79ghek.js} +6 -6
- package/dist/chunks/{bus-nxcrwpga.js → mime-f4d0s1t2.js} +16 -16
- package/dist/chunks/{bus-x2qdxhwm.js → mime-f5gy8qwh.js} +8 -8
- package/dist/chunks/{bus-v9cj5dav.js → mime-f6rek99c.js} +7 -7
- package/dist/chunks/mime-f81tjggh.js +18 -0
- package/dist/chunks/{bus-rrrgw129.js → mime-f9hgfqpn.js} +18 -18
- package/dist/chunks/{bus-hsxpg77g.js → mime-fbfwk3fg.js} +5 -5
- package/dist/chunks/{bus-cjbxtrec.js → mime-fk8kps10.js} +11 -11
- package/dist/chunks/{bus-bbb6qde0.js → mime-fqvsmr7a.js} +17 -17
- package/dist/chunks/{bus-9wdwr662.js → mime-fxfxepgh.js} +6 -6
- package/dist/chunks/{bus-g2dy75c5.js → mime-fya34y6j.js} +15 -15
- package/dist/chunks/{bus-ffdxvw45.js → mime-fydjrjbk.js} +21 -21
- package/dist/chunks/{bus-50mzsvk4.js → mime-g190xswt.js} +4 -4
- package/dist/chunks/{bus-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-r0c8qkf4.js → mime-ghghsxj7.js} +19 -19
- package/dist/chunks/{bus-evhxqahe.js → mime-ghw31w7j.js} +10 -10
- package/dist/chunks/{bus-phycxd65.js → mime-gk9fhfww.js} +26 -26
- package/dist/chunks/{bus-11mp6xcc.js → mime-gs4bd3ck.js} +13 -13
- package/dist/chunks/mime-gv3av4nc.js +26 -0
- package/dist/chunks/{bus-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
- package/dist/chunks/{bus-x5yxy9ce.js → mime-gyn306pg.js} +18 -18
- package/dist/chunks/{bus-9x3m2tdt.js → mime-h0jd11tf.js} +5 -5
- package/dist/chunks/{bus-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-40e6w6a8.js → mime-h99x4ah1.js} +32 -32
- package/dist/chunks/{bus-yeddeprc.js → mime-hp23trsw.js} +32 -32
- package/dist/chunks/{bus-rrh5t7kc.js → mime-hvt58z0f.js} +29 -29
- package/dist/chunks/{bus-yk31kz7x.js → mime-j1nzbrzj.js} +27 -27
- package/dist/chunks/{bus-c0s8qqjn.js → mime-j26kfq5v.js} +10 -10
- package/dist/chunks/{bus-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-pgp1nwjn.js → mime-j8m1p4p1.js} +4 -4
- package/dist/chunks/{bus-k53npxr2.js → mime-j9ty9cws.js} +1 -1
- package/dist/chunks/{bus-7w99qc9d.js → mime-jexxy024.js} +3 -3
- package/dist/chunks/{bus-m984pxrh.js → mime-jg3tkmqv.js} +22 -22
- package/dist/chunks/{bus-jh76kevn.js → mime-jpva2q9q.js} +11 -11
- package/dist/chunks/{bus-q612gbfm.js → mime-jq7v6dgk.js} +5 -5
- package/dist/chunks/{bus-7wmnk88b.js → mime-jqfs4f8t.js} +44 -44
- package/dist/chunks/{bus-jh3gssky.js → mime-jwm73ahz.js} +8 -8
- package/dist/chunks/{bus-nzks3jc8.js → mime-k3c624dm.js} +3 -3
- package/dist/chunks/{bus-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{bus-dg2cj1yd.js → mime-m6nec9qq.js} +4 -4
- package/dist/chunks/{bus-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-e654zbkh.js → mime-mb4xa1j6.js} +36 -36
- package/dist/chunks/{bus-cfq2wmsc.js → mime-mbdf20a3.js} +16 -16
- package/dist/chunks/{bus-2p8k3371.js → mime-mbh094q3.js} +5 -5
- package/dist/chunks/{bus-0gdtjrb3.js → mime-me0b0vjg.js} +10 -10
- package/dist/chunks/{bus-jn4617zx.js → mime-mk2tfswv.js} +11 -11
- package/dist/chunks/{bus-89dazgd3.js → mime-mv8r48y5.js} +24 -24
- package/dist/chunks/{bus-mhkvc446.js → mime-mvfsc1pv.js} +3 -3
- package/dist/chunks/{bus-5xpznt2d.js → mime-mvksx64m.js} +4 -4
- package/dist/chunks/{bus-zfbsw1e6.js → mime-mw0cehm6.js} +3 -3
- package/dist/chunks/{bus-qjxrv95f.js → mime-mzqhsy22.js} +19 -19
- package/dist/chunks/{bus-a21e9xnq.js → mime-n2we63qy.js} +14 -14
- package/dist/chunks/{bus-6163gw13.js → mime-n4djqr79.js} +28 -28
- package/dist/chunks/{bus-sgr5k3cd.js → mime-neam7ak9.js} +27 -27
- package/dist/chunks/{bus-mp2z7kc7.js → mime-nr80y6k7.js} +19 -19
- package/dist/chunks/{bus-da8zkw49.js → mime-nsandnz2.js} +4 -4
- package/dist/chunks/{bus-wdqsqr18.js → mime-nyrwqgn4.js} +11 -5
- package/dist/chunks/{bus-8br708y6.js → mime-p0bpn1a8.js} +37 -37
- package/dist/chunks/{bus-dv1qgsyq.js → mime-p42hj8p8.js} +8 -8
- package/dist/chunks/{bus-7kjpmjj3.js → mime-phfznvh9.js} +80 -80
- package/dist/chunks/{bus-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-z7ygcspq.js → mime-pjwpcx5g.js} +34 -34
- package/dist/chunks/{bus-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{bus-6vjn8bs4.js → mime-prpf8ftn.js} +2 -2
- package/dist/chunks/{bus-87d1fbvh.js → mime-py5b7878.js} +9 -9
- package/dist/chunks/{bus-6kgm0dkk.js → mime-q1tmktbx.js} +11 -11
- package/dist/chunks/{bus-tvztn4z4.js → mime-qczqf1dc.js} +28 -28
- package/dist/chunks/{bus-s6ygs1j2.js → mime-qed5jbce.js} +5 -5
- package/dist/chunks/{bus-2k8khapm.js → mime-qgn6gcr1.js} +5 -5
- package/dist/chunks/{bus-v0030e94.js → mime-qmp029tv.js} +13 -13
- package/dist/chunks/{bus-4hakzmxn.js → mime-qr124z36.js} +8 -8
- package/dist/chunks/{bus-drw4pjw7.js → mime-qrmaq0pw.js} +13 -13
- package/dist/chunks/{bus-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-2ewbzxey.js → mime-r205r7v3.js} +35 -35
- package/dist/chunks/{bus-q6rf5bjx.js → mime-r2de5yng.js} +18 -18
- package/dist/chunks/{bus-6ersrjne.js → mime-r33ff4dw.js} +4 -4
- package/dist/chunks/{bus-h6r3nrb9.js → mime-r55vasa2.js} +4 -4
- package/dist/chunks/{bus-ad9vrafr.js → mime-r6fqv44t.js} +13 -13
- package/dist/chunks/{bus-s17swzag.js → mime-rdhh766h.js} +4 -4
- package/dist/chunks/{bus-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-s8d7rejh.js → mime-rhjbct0v.js} +4 -4
- package/dist/chunks/{bus-bgs9y14h.js → mime-rmk2c50f.js} +5 -5
- package/dist/chunks/{bus-saap7xtw.js → mime-rpka6xkw.js} +23 -23
- package/dist/chunks/{bus-hqn196j8.js → mime-rs4eeekc.js} +9 -9
- package/dist/chunks/{bus-ezt4q7h3.js → mime-ryps5y1f.js} +22 -22
- package/dist/chunks/{bus-jtr8e0e5.js → mime-s3mp4eq0.js} +13 -13
- package/dist/chunks/{bus-rspj2gge.js → mime-sc7svgdt.js} +25 -25
- package/dist/chunks/{bus-0ba3e5df.js → mime-scnv85zn.js} +11 -11
- package/dist/chunks/{bus-bmnhc8s0.js → mime-sdaymwv4.js} +18 -18
- package/dist/chunks/{bus-bpfs35fb.js → mime-t0dhg9xm.js} +3 -3
- package/dist/chunks/{bus-1g7epwpd.js → mime-t2fc4mz5.js} +7 -7
- package/dist/chunks/{bus-ppjrrp6c.js → mime-t3wpcfc0.js} +22 -22
- package/dist/chunks/{bus-bd4t1mec.js → mime-t5a2hf0x.js} +7 -7
- package/dist/chunks/{bus-g8yxknp6.js → mime-t73dcxme.js} +9 -9
- package/dist/chunks/{bus-94fjsw4s.js → mime-t7vjw3g9.js} +10 -10
- package/dist/chunks/{bus-8m6wptmc.js → mime-ta6q38yf.js} +15 -15
- package/dist/chunks/{bus-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{bus-9dkf152x.js → mime-thpvyx44.js} +32 -32
- package/dist/chunks/{bus-znfp2xmy.js → mime-tme7ypnb.js} +17 -17
- package/dist/chunks/{bus-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-j6rjj2pc.js → mime-tw1e01ej.js} +61 -61
- package/dist/chunks/{bus-y50wd8rz.js → mime-txm26eb2.js} +23 -23
- package/dist/chunks/{bus-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-772ac9zj.js → mime-vg1ctdtm.js} +17 -17
- package/dist/chunks/{bus-t6qketva.js → mime-vps92m75.js} +9 -9
- package/dist/chunks/{bus-bjbmfypf.js → mime-vqm199mj.js} +32 -32
- package/dist/chunks/{bus-5eh95n78.js → mime-vs4a43ce.js} +58 -58
- package/dist/chunks/{bus-2qxex346.js → mime-vt049zkw.js} +16 -16
- package/dist/chunks/{bus-hxn9qyg6.js → mime-vv7f1353.js} +18 -18
- package/dist/chunks/{bus-10jtetaj.js → mime-vyqn3nqs.js} +4 -4
- package/dist/chunks/{bus-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-ey157pts.js → mime-vzqv0rzd.js} +5 -5
- package/dist/chunks/{bus-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{bus-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-21wqhget.js → mime-wbbqzpfk.js} +6 -6
- package/dist/chunks/{bus-wd3x2cqz.js → mime-wd3x2cqz.js} +2 -2
- package/dist/chunks/{bus-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{bus-4p660y5p.js → mime-wmras1aj.js} +22 -22
- package/dist/chunks/{bus-msfwm4k6.js → mime-ww571ven.js} +22 -22
- package/dist/chunks/{bus-mw3kn4cx.js → mime-wwz2c70k.js} +14 -14
- package/dist/chunks/{bus-ee5xchhv.js → mime-x0k0k3nk.js} +20 -20
- package/dist/chunks/{bus-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-yebnd757.js → mime-x8wvmgka.js} +44 -44
- package/dist/chunks/{bus-wbns4mzj.js → mime-x960xs2s.js} +31 -31
- package/dist/chunks/{bus-k1mv0tmj.js → mime-xbmsj09z.js} +10 -10
- package/dist/chunks/{bus-kyp46z3n.js → mime-xdfcdmq0.js} +23 -23
- package/dist/chunks/{bus-75hjbzd4.js → mime-xdsb90ts.js} +11 -11
- package/dist/chunks/{bus-xep35038.js → mime-xf3wnvpw.js} +33 -33
- package/dist/chunks/{bus-57b9ws8p.js → mime-xfkkasph.js} +7 -7
- package/dist/chunks/{bus-mq14h6tz.js → mime-xjyydmb8.js} +9 -9
- package/dist/chunks/{bus-t9dc5kdx.js → mime-xjzb32y7.js} +13 -13
- package/dist/chunks/{bus-h5ak0366.js → mime-xjzvydkr.js} +26 -26
- package/dist/chunks/{bus-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
- package/dist/chunks/{bus-nxjwhan3.js → mime-xpxhmcar.js} +9 -9
- package/dist/chunks/{bus-ps92wzvy.js → mime-xr349t4n.js} +11 -11
- package/dist/chunks/{bus-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-y71avatq.js → mime-y71avatq.js} +1 -1
- package/dist/chunks/{bus-z0aj456m.js → mime-ybfnsx4m.js} +4 -4
- package/dist/chunks/{bus-2e96adxv.js → mime-ybhbtxjg.js} +6 -6
- package/dist/chunks/{bus-kwmf9msk.js → mime-yd0n98jr.js} +35 -35
- package/dist/chunks/{bus-8y4q0w2z.js → mime-ykbetyw3.js} +4 -4
- package/dist/chunks/{bus-yp2x3t23.js → mime-yp2x3t23.js} +1 -1
- package/dist/chunks/{bus-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-yrznvahk.js → mime-yrznvahk.js} +2 -2
- package/dist/chunks/{bus-nb50r9px.js → mime-ywg7ry4y.js} +4 -4
- package/dist/chunks/{bus-sgr88nar.js → mime-ywvtc5g7.js} +28 -28
- package/dist/chunks/{bus-z07pqspn.js → mime-z07pqspn.js} +3 -3
- package/dist/chunks/{bus-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-m67t35hs.js → mime-z19932rd.js} +27 -27
- package/dist/chunks/{bus-z63w68vq.js → mime-z63w68vq.js} +2 -2
- package/dist/chunks/{bus-0snn02bc.js → mime-zc2nbk21.js} +23 -23
- package/dist/chunks/{bus-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-m81s8rjw.js → mime-zmb1q919.js} +30 -30
- package/dist/chunks/{bus-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-baaqp4zd.js → mime-zvt5dnpc.js} +4 -4
- package/dist/chunks/{bus-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/chunks/{bus-agvp0yme.js → mime-zy1hsbqs.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- 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 +132 -132
- 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 +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +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.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 +1 -1
- 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 +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- 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 +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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- 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/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +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 +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- 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 +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- 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 +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 +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 +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +104 -104
- 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 +8 -8
- package/dist/tool.js +12 -12
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/bus-3zb29hwj.js +0 -26
- package/dist/chunks/bus-jqh9b0xq.js +0 -18
- package/dist/chunks/bus-mtayj47y.js +0 -252
- /package/dist/chunks/{bus-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → mime-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6kdq0pjd.js → mime-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./mime-246wn8dt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service77
|
|
12
|
+
} from "./mime-mv8r48y5.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service17
|
|
16
|
+
} from "./mime-n2we63qy.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-chwtr2e5.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service63
|
|
26
|
+
} from "./mime-6asax46e.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service18
|
|
29
|
+
} from "./mime-tme7ypnb.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./mime-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin31,
|
|
41
|
+
name: () => name11,
|
|
42
|
+
toModelContent: () => toModelContent6
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name11 = "grep";
|
|
48
|
+
var Input11 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input3 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin31 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service77;
|
|
90
|
+
const ripgrep = yield* Service17;
|
|
91
|
+
const location = yield* Service79;
|
|
92
|
+
const access = yield* Service18;
|
|
93
|
+
const permission = yield* Service63;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name11,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input11,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name11,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin5 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin5 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name11, Input11, Output7, toModelContent6, Plugin31, exports_grep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./mime-mv8r48y5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service77;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-xf3wnvpw.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-r205r7v3.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./mime-3sz51aqf.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-6asax46e.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event13,
|
|
21
|
+
ID: () => ID8,
|
|
22
|
+
Info: () => Info22,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service60,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node63,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event13 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info22 = Skill.Info;
|
|
43
|
+
var ID8 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service60 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service82;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID8.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID8.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID8.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID8.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service60.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node63 = makeLocationNode({
|
|
112
|
+
service: Service60,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node86]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info22, ID8, Name2, available2, toModelOutput3, prepare3, Service60, node63, exports_skill5, Event13 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-wd3x2cqz.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./mime-246wn8dt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service18
|
|
9
|
+
} from "./mime-tme7ypnb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./mime-ww571ven.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service7
|
|
27
|
+
} from "./mime-ccksk4yj.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Plugin: () => Plugin21,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name2,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name2 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input2 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin21 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service7;
|
|
62
|
+
const access = yield* Service18;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name2,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input2,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin6 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent2 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name2, Input2, Plugin21, toModelContent2, exports_read };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./mime-3sz51aqf.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./mime-246wn8dt.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service24,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node27
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service24 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
|
+
const bus = yield* Service82;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service24.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node27 = makeLocationNode({
|
|
168
|
+
service: Service24,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node83, node86]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service24, node27, exports_vcs };
|