@opencode/core 0.0.0-dev-20634 → 0.0.0-dev-20637
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 +77 -77
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +75 -75
- package/dist/chunks/{ripgrep-f0dkdsq1.js → provider-02jgg23j.js} +43 -43
- package/dist/chunks/{ripgrep-9cwpj9ng.js → provider-09q1rvk8.js} +15 -15
- package/dist/chunks/{ripgrep-crcmjdtg.js → provider-0jq8n27z.js} +21 -21
- package/dist/chunks/{ripgrep-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
- package/dist/chunks/{ripgrep-hfzgxkwx.js → provider-0ym7r8mw.js} +1 -1
- package/dist/chunks/{ripgrep-1acjjqhc.js → provider-1acjjqhc.js} +1 -1
- package/dist/chunks/{ripgrep-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-1dvck2a7.js → provider-1dvck2a7.js} +2 -2
- package/dist/chunks/{ripgrep-dzxd22x2.js → provider-1qwpq4r3.js} +9 -9
- package/dist/chunks/{ripgrep-ytj75ggh.js → provider-1vcbmft8.js} +25 -25
- package/dist/chunks/{ripgrep-mfqp6xfm.js → provider-1ygqh575.js} +6 -6
- package/dist/chunks/{ripgrep-b94zytem.js → provider-2502a444.js} +14 -14
- package/dist/chunks/{ripgrep-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-6s4xe45t.js → provider-2dsr8txv.js} +25 -25
- package/dist/chunks/{ripgrep-838kzc8c.js → provider-2jdp9x1k.js} +5 -5
- package/dist/chunks/{ripgrep-qgn6gcr1.js → provider-2k8khapm.js} +5 -5
- package/dist/chunks/{ripgrep-y88nahzz.js → provider-2tfb63jn.js} +1 -1
- package/dist/chunks/{ripgrep-kf1mpqzp.js → provider-2xj975mh.js} +3 -3
- package/dist/chunks/{ripgrep-jq45s55z.js → provider-33cp61c9.js} +11 -11
- package/dist/chunks/{ripgrep-bpw2rrm0.js → provider-394yer4d.js} +23 -23
- package/dist/chunks/{ripgrep-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-247t9d9n.js → provider-3ffq614d.js} +8 -8
- package/dist/chunks/{ripgrep-vgzk2pn2.js → provider-3fgq8q2e.js} +9 -9
- package/dist/chunks/{ripgrep-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-d7pk3s54.js → provider-3qp2570d.js} +26 -26
- package/dist/chunks/{ripgrep-0k8zvg2a.js → provider-3rctq0x8.js} +22 -22
- package/dist/chunks/{ripgrep-yrcj3v3g.js → provider-3sj8yt8v.js} +4 -4
- package/dist/chunks/{ripgrep-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-gdzp4kpk.js → provider-3v7w85me.js} +9 -9
- package/dist/chunks/{ripgrep-n4h3j8sb.js → provider-3vtrhh30.js} +11 -11
- package/dist/chunks/{ripgrep-4pp11k09.js → provider-3xtchf3h.js} +8 -8
- package/dist/chunks/{ripgrep-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-nsja2dvh.js → provider-3zwwsd0z.js} +29 -29
- package/dist/chunks/{ripgrep-mdd5bykz.js → provider-435p4ksb.js} +7 -7
- package/dist/chunks/{ripgrep-qc6h4chp.js → provider-470p4mvx.js} +17 -17
- package/dist/chunks/{ripgrep-hh3mh7ha.js → provider-4ezdp9ng.js} +32 -32
- package/dist/chunks/{ripgrep-4ts7tf6z.js → provider-4ts7tf6z.js} +2 -2
- package/dist/chunks/provider-4v7qdvcn.js +18 -0
- package/dist/chunks/{ripgrep-9ra2mwh8.js → provider-50wdke11.js} +6 -6
- package/dist/chunks/{ripgrep-57raby7m.js → provider-51jbw7dx.js} +4 -4
- package/dist/chunks/{ripgrep-yz5emzcc.js → provider-53p9d5ea.js} +7 -7
- package/dist/chunks/{ripgrep-gq5s82mq.js → provider-54bf5ftt.js} +26 -26
- package/dist/chunks/{ripgrep-54ma36ye.js → provider-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-5daktx2q.js → provider-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-pkt8fefj.js → provider-5jrbfcyk.js} +7 -7
- package/dist/chunks/{ripgrep-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{ripgrep-w6evbe20.js → provider-5mffh87d.js} +25 -25
- package/dist/chunks/{ripgrep-ajzsbz6h.js → provider-5ngaw42y.js} +7 -7
- package/dist/chunks/{ripgrep-zng29zcf.js → provider-5ptdqdpf.js} +39 -39
- package/dist/chunks/{ripgrep-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-8v6pyhej.js → provider-5yzzbxa7.js} +8 -8
- package/dist/chunks/{ripgrep-1vyzjnq9.js → provider-63j7grd1.js} +8 -8
- package/dist/chunks/{ripgrep-qavhg4ac.js → provider-671h762m.js} +20 -20
- package/dist/chunks/{ripgrep-m7zb0vvq.js → provider-69n11mhg.js} +22 -22
- package/dist/chunks/{ripgrep-tyj0v91c.js → provider-6abn6fbv.js} +22 -22
- package/dist/chunks/{ripgrep-rhj8rxb3.js → provider-6bdkjnee.js} +5 -5
- package/dist/chunks/{ripgrep-tg7bkhef.js → provider-6g7e4dd5.js} +7 -7
- package/dist/chunks/{ripgrep-q27p0z6n.js → provider-6gp95x7h.js} +34 -34
- package/dist/chunks/{ripgrep-h76pkdx5.js → provider-6hb4axps.js} +18 -18
- package/dist/chunks/{ripgrep-pbfwh0cy.js → provider-6hh8tjw2.js} +7 -7
- package/dist/chunks/{ripgrep-dgbczadx.js → provider-6hz8g0en.js} +24 -24
- package/dist/chunks/{ripgrep-bzx0raep.js → provider-6j3fzm1y.js} +26 -26
- package/dist/chunks/{ripgrep-sj5n17p9.js → provider-6vnksd4p.js} +28 -28
- package/dist/chunks/{ripgrep-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
- package/dist/chunks/{ripgrep-5715y3z9.js → provider-6yx9cdwm.js} +11 -11
- package/dist/chunks/{ripgrep-jex6twvz.js → provider-70wfxkqk.js} +5 -5
- package/dist/chunks/{ripgrep-xfa9t8nf.js → provider-7178zsq4.js} +44 -44
- package/dist/chunks/{ripgrep-71az546q.js → provider-71az546q.js} +2 -2
- package/dist/chunks/{ripgrep-73tb2d7t.js → provider-73tb2d7t.js} +1 -1
- package/dist/chunks/{ripgrep-jrav4m5q.js → provider-79wzcjsa.js} +6 -6
- package/dist/chunks/{ripgrep-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-e6me97w7.js → provider-7cd1ytca.js} +10 -10
- package/dist/chunks/{ripgrep-0pqv7m1r.js → provider-7e5rfcwt.js} +14 -14
- package/dist/chunks/{ripgrep-pk5m11nm.js → provider-802940vn.js} +11 -11
- package/dist/chunks/{ripgrep-84txncab.js → provider-84txncab.js} +1 -1
- package/dist/chunks/{ripgrep-076smhkq.js → provider-853df498.js} +1 -1
- package/dist/chunks/{ripgrep-bps6twr8.js → provider-869sfs2n.js} +47 -47
- package/dist/chunks/{ripgrep-nhtrsw1r.js → provider-880chn4z.js} +11 -11
- package/dist/chunks/{ripgrep-tcezcvh9.js → provider-89znhe33.js} +4 -4
- package/dist/chunks/{ripgrep-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-z6kghr8f.js → provider-8hbyspe1.js} +14 -14
- package/dist/chunks/{ripgrep-9dvew4ct.js → provider-8nh1x9qx.js} +13 -13
- package/dist/chunks/{ripgrep-jebmc97d.js → provider-8phmhy56.js} +4 -4
- package/dist/chunks/{ripgrep-py3kkmfq.js → provider-8sze2n9a.js} +6 -6
- package/dist/chunks/{ripgrep-3s69ytqq.js → provider-8xcdsqe2.js} +16 -16
- package/dist/chunks/{ripgrep-hx1nh6p6.js → provider-8xr2jsn8.js} +13 -13
- package/dist/chunks/{ripgrep-cfexggbj.js → provider-90rktb5s.js} +9 -9
- package/dist/chunks/{ripgrep-6hfyjfby.js → provider-950tcz88.js} +1 -1
- package/dist/chunks/{ripgrep-9e5bzkjp.js → provider-9e5bzkjp.js} +3 -3
- package/dist/chunks/{ripgrep-8dr0pm1z.js → provider-9g978t7c.js} +32 -32
- package/dist/chunks/{ripgrep-x5tqsxq6.js → provider-9kangp0z.js} +11 -11
- package/dist/chunks/{ripgrep-rnrxqq2v.js → provider-9sy89r0f.js} +4 -4
- package/dist/chunks/{ripgrep-dkrtd87p.js → provider-9szwjyee.js} +4 -4
- package/dist/chunks/{ripgrep-c27esgm9.js → provider-9y0w708y.js} +8 -8
- package/dist/chunks/provider-9ztar93x.js +26 -0
- package/dist/chunks/{ripgrep-x9sntwkc.js → provider-a1r079t2.js} +13 -13
- package/dist/chunks/{ripgrep-76jq5zat.js → provider-a7ne0pbq.js} +23 -23
- package/dist/chunks/{ripgrep-kvvk39gs.js → provider-a8bn8zg0.js} +4 -4
- package/dist/chunks/{ripgrep-chsayper.js → provider-a8ded0f6.js} +11 -11
- package/dist/chunks/{ripgrep-mrzfpr14.js → provider-a8wp3vm3.js} +13 -13
- package/dist/chunks/{ripgrep-aaet6srn.js → provider-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-w99y5e0t.js → provider-aekpz6sr.js} +48 -48
- package/dist/chunks/{ripgrep-6spjy1ny.js → provider-af1qyrwf.js} +4 -4
- package/dist/chunks/{ripgrep-epz8bg99.js → provider-ap47h660.js} +17 -17
- package/dist/chunks/{ripgrep-v8xcpy0p.js → provider-ax2gd5n1.js} +15 -15
- package/dist/chunks/{ripgrep-kfsgvpxj.js → provider-axvgx5r8.js} +20 -20
- package/dist/chunks/{ripgrep-fyp6synz.js → provider-b122n9p4.js} +14 -14
- package/dist/chunks/{ripgrep-1mb5bsea.js → provider-b32z9e7n.js} +3 -3
- package/dist/chunks/{ripgrep-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-v6rt0rx3.js → provider-b9m8jyf5.js} +11 -11
- package/dist/chunks/{ripgrep-97na1vhb.js → provider-bya5pgnz.js} +32 -32
- package/dist/chunks/{ripgrep-0xwrgxtz.js → provider-bzd9mpph.js} +75 -75
- package/dist/chunks/{ripgrep-7xhhfgpf.js → provider-c4r1z0h4.js} +3 -3
- package/dist/chunks/{ripgrep-bwm9v46e.js → provider-cq1crqf5.js} +33 -33
- package/dist/chunks/{ripgrep-ky4t9cwy.js → provider-cr6zmxap.js} +3 -3
- package/dist/chunks/{ripgrep-8040dbmc.js → provider-crkpb7cs.js} +22 -22
- package/dist/chunks/{ripgrep-c765mh8b.js → provider-cwa6csj7.js} +9 -9
- package/dist/chunks/{ripgrep-9f8agqm4.js → provider-cywzwz9x.js} +30 -30
- package/dist/chunks/{ripgrep-6y2txcv3.js → provider-d5577vah.js} +3 -3
- package/dist/chunks/{ripgrep-2wntz932.js → provider-d63p7tmf.js} +3 -3
- package/dist/chunks/{ripgrep-twya4v6r.js → provider-db0cs2kz.js} +31 -31
- package/dist/chunks/{ripgrep-3f6jm9xf.js → provider-dky9q78m.js} +25 -25
- package/dist/chunks/{ripgrep-xkntkrq7.js → provider-dmqcgk4z.js} +5 -5
- package/dist/chunks/{ripgrep-nxm207yx.js → provider-dpkg50ah.js} +4 -4
- package/dist/chunks/{ripgrep-qddvfgkx.js → provider-dtqny3g5.js} +6 -6
- package/dist/chunks/{ripgrep-5dednvak.js → provider-dwhba9yv.js} +29 -29
- package/dist/chunks/{ripgrep-nj58sj1f.js → provider-ecf7yx0s.js} +1 -1
- package/dist/chunks/{ripgrep-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-n7y52wsc.js → provider-epfa530k.js} +13 -13
- package/dist/chunks/{ripgrep-wmvcwthb.js → provider-erxm7rkb.js} +20 -20
- package/dist/chunks/{ripgrep-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-a62nzkfm.js → provider-evz588nn.js} +9 -9
- package/dist/chunks/{ripgrep-0618bhf4.js → provider-ezr7p14b.js} +28 -28
- package/dist/chunks/{ripgrep-85nzvnnf.js → provider-f62pbbwn.js} +10 -10
- package/dist/chunks/{ripgrep-hwe7x4em.js → provider-ff0htmxq.js} +6 -6
- package/dist/chunks/{ripgrep-bf48bc2p.js → provider-fp9sff3r.js} +37 -37
- package/dist/chunks/{ripgrep-2hem8a9k.js → provider-fs772d02.js} +6 -6
- package/dist/chunks/{ripgrep-q6yya7b3.js → provider-fyjp43ss.js} +5 -5
- package/dist/chunks/{ripgrep-g31erja1.js → provider-g31erja1.js} +2 -2
- package/dist/chunks/{ripgrep-z3cgdbnx.js → provider-g66y9f43.js} +16 -16
- package/dist/chunks/{ripgrep-dda0p7y7.js → provider-g762atc6.js} +9 -9
- package/dist/chunks/{ripgrep-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-gj71zhbs.js → provider-gj71zhbs.js} +2 -2
- package/dist/chunks/{ripgrep-64vd9axx.js → provider-gpw458b7.js} +17 -17
- package/dist/chunks/{ripgrep-kabk1m9n.js → provider-grbwyzfx.js} +22 -22
- package/dist/chunks/{ripgrep-mxmk95sb.js → provider-gytvncbh.js} +17 -17
- package/dist/chunks/{ripgrep-0gqfrnsf.js → provider-gyx3rp2r.js} +14 -14
- package/dist/chunks/{ripgrep-h2b79v29.js → provider-h2b79v29.js} +2 -2
- package/dist/chunks/{ripgrep-9h4a5xab.js → provider-h4ckqw4f.js} +8 -8
- package/dist/chunks/{ripgrep-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-jpqeh2wc.js → provider-h9pnpq88.js} +4 -4
- package/dist/chunks/{ripgrep-0229r2y6.js → provider-hewdcjdf.js} +84 -84
- package/dist/chunks/{ripgrep-affqz3dt.js → provider-hkh1gyze.js} +30 -30
- package/dist/chunks/{ripgrep-e4psb9ns.js → provider-hxt8j9vk.js} +13 -13
- package/dist/chunks/{ripgrep-7nbx7n68.js → provider-j36g3wgd.js} +11 -11
- package/dist/chunks/{ripgrep-j56e64zr.js → provider-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-gdq892sv.js → provider-j82d6hxx.js} +41 -41
- package/dist/chunks/{ripgrep-fs5m8ztn.js → provider-jp0zb534.js} +23 -23
- package/dist/chunks/{ripgrep-7fv97ajc.js → provider-jpb5mf9j.js} +13 -13
- package/dist/chunks/{ripgrep-nara5m26.js → provider-jy6n4x97.js} +8 -8
- package/dist/chunks/{ripgrep-jeah1c85.js → provider-k423vsa4.js} +20 -20
- package/dist/chunks/{ripgrep-84x1qr6q.js → provider-kadn9d92.js} +14 -14
- package/dist/chunks/{ripgrep-eymws0kt.js → provider-kfxyjhp2.js} +6 -6
- package/dist/chunks/{ripgrep-5mvtnpvw.js → provider-kgx9j78r.js} +55 -55
- package/dist/chunks/{ripgrep-gsw111xz.js → provider-khr9akvx.js} +28 -28
- package/dist/chunks/{ripgrep-zcrspsvn.js → provider-kne8f3cn.js} +4 -4
- package/dist/chunks/{ripgrep-bfy8qqhy.js → provider-kvgh0332.js} +18 -18
- package/dist/chunks/{ripgrep-gmjgnzm7.js → provider-kw2wghq3.js} +15 -15
- package/dist/chunks/{ripgrep-e5zk1d3d.js → provider-kwe77dsa.js} +8 -8
- package/dist/chunks/{ripgrep-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-d2q6s312.js → provider-m7wfyeg7.js} +16 -16
- package/dist/chunks/{ripgrep-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-8cexbwpw.js → provider-mcb0hy3p.js} +29 -29
- package/dist/chunks/{ripgrep-09xbw6za.js → provider-mcrs9awc.js} +5 -5
- package/dist/chunks/{ripgrep-dqee7r49.js → provider-me3a999s.js} +9 -9
- package/dist/chunks/{ripgrep-9vspqhb9.js → provider-mkr0nv12.js} +32 -32
- package/dist/chunks/{ripgrep-9yaj1bep.js → provider-mt1f1117.js} +13 -13
- package/dist/chunks/{ripgrep-vrd8hhbp.js → provider-my8rj7kn.js} +29 -29
- package/dist/chunks/{ripgrep-b69jv39p.js → provider-n2thn3nx.js} +1 -1
- package/dist/chunks/{ripgrep-kzmatdfq.js → provider-n8hzfk5n.js} +13 -13
- package/dist/chunks/{ripgrep-axk9hj3n.js → provider-nfe4rdr7.js} +78 -78
- package/dist/chunks/{ripgrep-vjckrprz.js → provider-npjxmaz5.js} +12 -12
- package/dist/chunks/{ripgrep-h30xb52k.js → provider-p0r2k5hr.js} +13 -13
- package/dist/chunks/provider-p8msd6xk.js +253 -0
- package/dist/chunks/{ripgrep-9dz433we.js → provider-p98bz656.js} +14 -14
- package/dist/chunks/{ripgrep-2agc6006.js → provider-p9tbp9qs.js} +8 -8
- package/dist/chunks/{ripgrep-h79096x2.js → provider-pe07j12a.js} +22 -22
- package/dist/chunks/{ripgrep-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-sazs32jb.js → provider-pmv6ntjp.js} +16 -16
- package/dist/chunks/{ripgrep-4jyvzrab.js → provider-prq7hedt.js} +9 -9
- package/dist/chunks/{ripgrep-tqmfw2b9.js → provider-pxchgtyc.js} +4 -4
- package/dist/chunks/{ripgrep-q0xm7vwc.js → provider-q0xm7vwc.js} +2 -2
- package/dist/chunks/{ripgrep-v8aar8tp.js → provider-q3y1480k.js} +134 -134
- package/dist/chunks/{ripgrep-7bc7rr9r.js → provider-q4c9f7y5.js} +8 -8
- package/dist/chunks/{ripgrep-aws7tw8m.js → provider-q72rqnyr.js} +27 -27
- package/dist/chunks/{ripgrep-ttqt9zd2.js → provider-qj5ds43h.js} +35 -35
- package/dist/chunks/{ripgrep-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
- package/dist/chunks/{ripgrep-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-6zmb7467.js → provider-qx78w7x0.js} +41 -41
- package/dist/chunks/{ripgrep-zyk1yjk8.js → provider-qygbw77c.js} +5 -5
- package/dist/chunks/{ripgrep-jfa7gmqr.js → provider-r2gk0ttq.js} +15 -15
- package/dist/chunks/{ripgrep-7s8pn6vn.js → provider-r5rttqkx.js} +26 -26
- package/dist/chunks/{ripgrep-xs12am9p.js → provider-r9t00hsy.js} +8 -8
- package/dist/chunks/{ripgrep-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-q8ajcpfq.js → provider-rdz0fprs.js} +32 -32
- package/dist/chunks/{ripgrep-d0kp8v5z.js → provider-rh2bshgf.js} +16 -16
- package/dist/chunks/{ripgrep-rc3whc49.js → provider-rj109cpc.js} +11 -11
- package/dist/chunks/{ripgrep-2vsx29mh.js → provider-rxqangmd.js} +11 -11
- package/dist/chunks/{ripgrep-8wsye86r.js → provider-rzs3gq0x.js} +4 -4
- package/dist/chunks/{ripgrep-s8d7rejh.js → provider-s8d7rejh.js} +1 -1
- package/dist/chunks/{ripgrep-dm63ydvm.js → provider-skwdgpes.js} +15 -15
- package/dist/chunks/{ripgrep-29ag82sg.js → provider-syvex6wj.js} +7 -7
- package/dist/chunks/{ripgrep-r69nsnk3.js → provider-szp9cm9d.js} +11 -11
- package/dist/chunks/{ripgrep-jyd4c54m.js → provider-t8h9k6kt.js} +3 -3
- package/dist/chunks/{ripgrep-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-b7h6z6tn.js → provider-tge9ftn1.js} +11 -11
- package/dist/chunks/{ripgrep-8zy0fzze.js → provider-tpykdk7e.js} +18 -18
- package/dist/chunks/{ripgrep-2z7d0f22.js → provider-txn8qske.js} +2 -2
- package/dist/chunks/{ripgrep-v0xmac3n.js → provider-v0xmac3n.js} +2 -2
- package/dist/chunks/{ripgrep-80scg3y3.js → provider-vbfgae2j.js} +4 -4
- package/dist/chunks/{ripgrep-kx705y8y.js → provider-veqfhemw.js} +6 -6
- package/dist/chunks/{ripgrep-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-fsp0r4x8.js → provider-vj3nwvwh.js} +17 -17
- package/dist/chunks/{ripgrep-9aga8edg.js → provider-vq6phmds.js} +328 -328
- package/dist/chunks/{ripgrep-ydfe3hmk.js → provider-vxxh4q2n.js} +1 -1
- package/dist/chunks/{ripgrep-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-dssbfrwz.js → provider-w39jehkq.js} +5 -5
- package/dist/chunks/{ripgrep-4yt4fj6t.js → provider-w3ejnnxx.js} +31 -31
- package/dist/chunks/{ripgrep-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-ry2kpw21.js → provider-w4bq55ta.js} +25 -25
- package/dist/chunks/{ripgrep-bh757wj0.js → provider-w8rdajxk.js} +41 -41
- package/dist/chunks/{ripgrep-bwrbt93d.js → provider-w90th1wq.js} +8 -8
- package/dist/chunks/{ripgrep-9wknbad4.js → provider-wac6chsn.js} +21 -21
- package/dist/chunks/{ripgrep-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-k01fw88q.js → provider-wgn1zfzh.js} +2 -2
- package/dist/chunks/{ripgrep-3tx3n4vf.js → provider-wjrctzxe.js} +17 -17
- package/dist/chunks/{ripgrep-ybqq9p4b.js → provider-wxckm61x.js} +44 -44
- package/dist/chunks/{ripgrep-84zcxbc9.js → provider-x2rw7g36.js} +5 -5
- package/dist/chunks/{ripgrep-mxvxcxwy.js → provider-x661k3y3.js} +4 -4
- package/dist/chunks/{ripgrep-ggt0zq3q.js → provider-x8fg1acq.js} +8 -8
- package/dist/chunks/{ripgrep-30krspkn.js → provider-xb50yt4b.js} +4 -4
- package/dist/chunks/{ripgrep-3mm24bx6.js → provider-xb7ytst9.js} +12 -12
- package/dist/chunks/{ripgrep-jnejy8gf.js → provider-xbtqc3yy.js} +11 -11
- package/dist/chunks/{ripgrep-77f241gp.js → provider-xcmk6yw7.js} +11 -11
- package/dist/chunks/{ripgrep-283xtvn5.js → provider-xcyyqy34.js} +32 -32
- package/dist/chunks/{ripgrep-xfkkasph.js → provider-xfkkasph.js} +1 -1
- package/dist/chunks/{ripgrep-m51a3mp4.js → provider-xr86wyz0.js} +26 -26
- package/dist/chunks/{ripgrep-w9p76dg1.js → provider-xrh33zgb.js} +17 -17
- package/dist/chunks/{ripgrep-hq5hwna4.js → provider-xs6s4b8w.js} +4 -4
- package/dist/chunks/{ripgrep-10wa4fem.js → provider-xt8envp2.js} +28 -28
- package/dist/chunks/{ripgrep-qxjc9qry.js → provider-xyafkbt0.js} +3 -3
- package/dist/chunks/{ripgrep-v0xz5m4c.js → provider-y117vq4z.js} +31 -31
- package/dist/chunks/{ripgrep-96cd70s2.js → provider-y1bxg4cw.js} +37 -37
- package/dist/chunks/{ripgrep-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-qasvjq9f.js → provider-y31c2br0.js} +4 -4
- package/dist/chunks/{ripgrep-6ymq3723.js → provider-y32xjbbv.js} +2 -2
- package/dist/chunks/{ripgrep-rrpkd1dr.js → provider-y6t797ad.js} +9 -9
- package/dist/chunks/{ripgrep-v47v1yn0.js → provider-y7gnf2d1.js} +14 -14
- package/dist/chunks/{ripgrep-sexyc412.js → provider-yb860a13.js} +6 -6
- package/dist/chunks/{ripgrep-4sw1w9me.js → provider-ydm09vy0.js} +9 -9
- package/dist/chunks/{ripgrep-xgngf68r.js → provider-ykbx70vn.js} +30 -30
- package/dist/chunks/{ripgrep-r1fscvg0.js → provider-ypnqz5gf.js} +11 -11
- package/dist/chunks/{ripgrep-30nzr87g.js → provider-yspr33n3.js} +3 -3
- package/dist/chunks/{ripgrep-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-t43wy93c.js → provider-z2zdbf9m.js} +33 -33
- package/dist/chunks/{ripgrep-x5g2watm.js → provider-z7pebwj2.js} +21 -21
- package/dist/chunks/{ripgrep-zfs8ae4p.js → provider-zfs8ae4p.js} +4 -4
- package/dist/chunks/{ripgrep-187tx94p.js → provider-zgfgymxp.js} +7 -7
- package/dist/chunks/{ripgrep-1s5z1wtk.js → provider-zmzek11k.js} +16 -16
- package/dist/chunks/{ripgrep-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-akrprgjn.js → provider-zwh81tv5.js} +25 -25
- package/dist/chunks/{ripgrep-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +8 -8
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- 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 +98 -98
- 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 +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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 +4 -4
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- 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 +114 -114
- 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 +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- 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 +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +2 -2
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/ripgrep-gd7qfq63.js +0 -253
- package/dist/chunks/ripgrep-ht5y0zrb.js +0 -18
- package/dist/chunks/ripgrep-q8p5pp0n.js +0 -26
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → provider-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → provider-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-m5jcjszt.js → provider-m5jcjszt.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-yspr33n3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node85
|
|
11
|
+
} from "./provider-y7gnf2d1.js";
|
|
12
12
|
import {
|
|
13
13
|
Service81,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
node84
|
|
15
|
+
} from "./provider-jy6n4x97.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
19
|
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-6g7e4dd5.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./provider-h2b79v29.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-1dvck2a7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
40
|
Info: () => Info27,
|
|
41
|
-
NotFoundError: () =>
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
43
|
Service: () => Service80,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node83,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
61
|
var Info27 = Info28;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const git = yield* Service81;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service82;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID16.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
168
168
|
time_updated: Date.now()
|
|
169
169
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
170
170
|
if (!row)
|
|
171
|
-
return yield* new
|
|
171
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event21.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID16.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID16.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID16.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID16.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,7 +276,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
@@ -284,10 +284,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
284
284
|
});
|
|
285
285
|
return Service80.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
287
|
+
var node83 = makeGlobalNode({
|
|
288
288
|
service: Service80,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node85, node88, FSUtil.node, node84, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service80, node83, exports_project };
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-yspr33n3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node85
|
|
8
|
+
} from "./provider-y7gnf2d1.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
ID10,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service66,
|
|
15
|
+
node69
|
|
16
|
+
} from "./provider-r2gk0ttq.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-5t3nmthw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service71,
|
|
22
|
+
node74
|
|
23
|
+
} from "./provider-3qp2570d.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./provider-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./provider-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./provider-3sj8yt8v.js";
|
|
36
36
|
import {
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./provider-p9tbp9qs.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./provider-n2thn3nx.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service31,
|
|
47
|
+
node34
|
|
48
|
+
} from "./provider-db0cs2kz.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service46,
|
|
51
|
+
node49
|
|
52
|
+
} from "./provider-p0r2k5hr.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./provider-qygbw77c.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./provider-6bdkjnee.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./provider-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./provider-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service10,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
78
|
layer: () => layer7,
|
|
79
|
-
node: () =>
|
|
79
|
+
node: () => node12,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var layer7 = Layer.effect(
|
|
175
|
-
const agents = yield*
|
|
176
|
-
const bus = yield*
|
|
174
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service66;
|
|
176
|
+
const bus = yield* Service82;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
178
|
+
const catalog = yield* Service71;
|
|
179
|
+
const models = yield* Service46;
|
|
180
180
|
const db = (yield* Service84).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service31;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service10.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
481
|
+
var node12 = makeLocationNode({
|
|
482
|
+
service: Service10,
|
|
483
483
|
layer: layer7,
|
|
484
|
-
deps: [
|
|
484
|
+
deps: [node69, node85, node88, llmClient2, node74, node34, node49]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make11,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
60
60
|
return { retry: true, attempt, delay: normalized };
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var make11 = (bus, sessionID) => Effect.gen(function* () {
|
|
64
64
|
const decide = yield* policy2(sessionID);
|
|
65
65
|
const wait = (input) => Effect.gen(function* () {
|
|
66
66
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -77,4 +77,4 @@ var make5 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
77
77
|
return { decide, wait };
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { isRetryable2, policy2,
|
|
80
|
+
export { isRetryable2, policy2, make11, exports_retry };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./provider-y7gnf2d1.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event15,
|
|
18
18
|
ID: () => ID10,
|
|
19
19
|
Info: () => Info18,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service66,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node69
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event15 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
33
|
var ID10 = Agent.ID;
|
|
@@ -36,10 +36,10 @@ var defaultID2 = ID10.make("build");
|
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
37
|
var Info18 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service66 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service82;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service66.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node69 = makeLocationNode({ service: Service66, layer, deps: [node85, Global.node] });
|
|
120
120
|
|
|
121
|
-
export { ID10, Name3, defaultID2, Color2, Info18,
|
|
121
|
+
export { ID10, Name3, defaultID2, Color2, Info18, Service66, node69, exports_agent4, Event15 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-yspr33n3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node87
|
|
12
|
+
} from "./provider-9szwjyee.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID18,
|
|
25
|
+
Info: () => Info29,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service83,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured12,
|
|
30
|
+
node: () => node86
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID18 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info29 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID18,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info25 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID18 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID18,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service83 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured12 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service83,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node87]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service83, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info29({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service83.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID18.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node86 = configured12();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID18, Info29, NotFound3, CreateConflict2, Service83, configured12, node86, exports_workspace };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin6,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin6 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin22 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin6, exports_exa };
|