@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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-d1ejf2a0.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_command5 };
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service72,
|
|
17
|
+
node75
|
|
18
|
+
} from "./mime-vps92m75.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service73,
|
|
21
|
+
node76
|
|
22
|
+
} from "./mime-cmmdg65p.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./mime-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./mime-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service71,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node74
|
|
42
42
|
});
|
|
43
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";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service71 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(Service71, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service73;
|
|
58
|
+
const image = yield* Service72;
|
|
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(Service59, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service71.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 node74 = makeLocationNode({
|
|
277
|
+
service: Service71,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node76, node75]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service71, node74, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID6
|
|
3
|
+
} from "./mime-r205r7v3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./mime-byjwxeqw.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-ew79ghek.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -26,7 +26,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service55;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID6.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-ck4n2qmk.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin39,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin39 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin20 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin20 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin39, exports_tinyfish };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID6,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-r205r7v3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./mime-byjwxeqw.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-ew79ghek.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service55;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID6.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make7();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make7, OllamaPlugin2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
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
|
+
Service55
|
|
9
|
+
} from "./mime-byjwxeqw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service22
|
|
12
|
+
} from "./mime-1a49mg8n.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin6
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin6 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service55;
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service22;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin49 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin6, exports_worktree };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./mime-bm3m92rh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service79,
|
|
13
|
+
node83
|
|
14
|
+
} from "./mime-246wn8dt.js";
|
|
15
15
|
import {
|
|
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/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service50,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node52,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
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 Service50 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service67, 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(Service67, 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;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service67, 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 Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node52 = makeLocationNode({
|
|
144
|
+
service: Service50,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service67, Service67.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 {
|
|
166
|
+
export { ID5, Error3, Service50, node52, noopLayer3, exports_snapshot2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-jg3tkmqv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./mime-246wn8dt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service63,
|
|
13
13
|
node66
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-6asax46e.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service18,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node20,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service18 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service79;
|
|
61
|
+
const permission = yield* Service63;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service18.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node20 = makeLocationNode({ service: Service18, layer, deps: [FSUtil.node, node83, node66] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service18, resolvePath2, node20, exports_file_access };
|