@opencode/core 0.0.0-dev-20360 → 0.0.0-dev-20361
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +90 -90
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{credential-zjvnwc4k.js → generate-0ag8d68y.js} +11 -11
- package/dist/chunks/{credential-6s8gfz9t.js → generate-0g0872c8.js} +6 -6
- package/dist/chunks/{credential-a2ep968a.js → generate-0m1hjkr9.js} +7 -7
- package/dist/chunks/{credential-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{credential-3pe3cw95.js → generate-0wrn0h38.js} +31 -31
- package/dist/chunks/{credential-0smkj3y4.js → generate-137qhyq7.js} +43 -43
- package/dist/chunks/{credential-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{credential-870z7kx6.js → generate-1h0ntq3z.js} +1 -1
- package/dist/chunks/{credential-mvqxaapf.js → generate-1q6agpkc.js} +11 -11
- package/dist/chunks/{credential-yc6cck3c.js → generate-1sq11vt2.js} +20 -20
- package/dist/chunks/{credential-3csh498x.js → generate-1t36cnam.js} +3 -3
- package/dist/chunks/{credential-m7e3szd5.js → generate-1wwdvsgc.js} +13 -13
- package/dist/chunks/{credential-56gdpj1q.js → generate-1ygqh575.js} +9 -9
- package/dist/chunks/{credential-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{credential-f75ercvt.js → generate-269d0mcm.js} +34 -34
- package/dist/chunks/{credential-0z9fggxj.js → generate-28586spg.js} +14 -14
- package/dist/chunks/{credential-j8dtq6y3.js → generate-288h1877.js} +17 -17
- package/dist/chunks/{credential-z63w68vq.js → generate-29x78va6.js} +6 -6
- package/dist/chunks/{credential-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{credential-e3wq1ttc.js → generate-2c14t6ee.js} +16 -16
- package/dist/chunks/{credential-pfcz9sqy.js → generate-2e9mgspx.js} +3 -3
- package/dist/chunks/{credential-mfdc5s1p.js → generate-2h131gfv.js} +34 -34
- package/dist/chunks/{credential-v512vev1.js → generate-2mgjv0a7.js} +1 -1
- package/dist/chunks/{credential-q5g2qkjb.js → generate-2q66m20k.js} +48 -48
- package/dist/chunks/{credential-gkh9q6r5.js → generate-2re9wx64.js} +5 -5
- package/dist/chunks/{credential-3cngkzkk.js → generate-2x1dfb4g.js} +10 -10
- package/dist/chunks/{credential-ws7geqk2.js → generate-2xexx0cn.js} +309 -309
- package/dist/chunks/{credential-9cw6d4xs.js → generate-3ad885dn.js} +9 -9
- package/dist/chunks/{credential-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{credential-n88a24bz.js → generate-3gapehae.js} +30 -30
- package/dist/chunks/{credential-c9wvx4hd.js → generate-3gsbm4gg.js} +10 -10
- package/dist/chunks/{credential-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-bct739vz.js → generate-3j8sdtpz.js} +4 -4
- package/dist/chunks/{credential-aesn9jmf.js → generate-3pncb000.js} +11 -11
- package/dist/chunks/{credential-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-eeqn3rht.js → generate-3ymnsx2y.js} +25 -25
- package/dist/chunks/{credential-vedgbhsv.js → generate-3zpz61n9.js} +9 -9
- package/dist/chunks/{credential-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{credential-cqq7jq20.js → generate-401kh7j2.js} +6 -6
- package/dist/chunks/{credential-9dvwwspr.js → generate-46sb35mq.js} +8 -8
- package/dist/chunks/{credential-z01xxs7v.js → generate-4g39nh95.js} +2 -2
- package/dist/chunks/{credential-wck86893.js → generate-4x9ewffz.js} +10 -10
- package/dist/chunks/{credential-sp64v9sw.js → generate-4xky6n3z.js} +20 -20
- package/dist/chunks/{credential-yg076965.js → generate-4yq8704b.js} +28 -28
- package/dist/chunks/{credential-nk7ac7sg.js → generate-52vqgt0f.js} +11 -11
- package/dist/chunks/{credential-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{credential-2phzajzt.js → generate-55ed9ppa.js} +30 -30
- package/dist/chunks/{credential-2typzmmc.js → generate-5633drez.js} +25 -25
- package/dist/chunks/{credential-57ez7d0k.js → generate-57ez7d0k.js} +2 -2
- package/dist/chunks/{credential-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{credential-a8sp9t89.js → generate-5manytmk.js} +24 -24
- package/dist/chunks/{credential-py16vch9.js → generate-5n14brjt.js} +31 -31
- package/dist/chunks/{credential-5ytafwqr.js → generate-5rx44j2k.js} +5 -5
- package/dist/chunks/{credential-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{credential-8v6pyhej.js → generate-5xtgfte3.js} +8 -8
- package/dist/chunks/{credential-gk3mvatd.js → generate-620zpmpb.js} +3 -3
- package/dist/chunks/{credential-52vf1pv4.js → generate-63m9xggh.js} +13 -13
- package/dist/chunks/{credential-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{credential-pf2hb43r.js → generate-6anwy9fs.js} +4 -4
- package/dist/chunks/{credential-0bc61wjf.js → generate-6hcagxvr.js} +15 -15
- package/dist/chunks/{credential-ha8wqv5x.js → generate-6hdxzw8t.js} +6 -6
- package/dist/chunks/{credential-ahewrzjd.js → generate-6kgmmmcp.js} +11 -11
- package/dist/chunks/{credential-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{credential-61gbp7xt.js → generate-6seya0vx.js} +12 -12
- package/dist/chunks/{credential-k2h4r4s0.js → generate-6sr3ve8g.js} +21 -21
- package/dist/chunks/{credential-7k39p2e0.js → generate-6tnzqxfz.js} +4 -4
- package/dist/chunks/{credential-egrah4t7.js → generate-71cfveas.js} +5 -5
- package/dist/chunks/{credential-xh5d7yn4.js → generate-782xyd0k.js} +5 -5
- package/dist/chunks/{credential-rz106t8w.js → generate-7bftgs18.js} +4 -4
- package/dist/chunks/{credential-hfaq9h6q.js → generate-7bja5kqe.js} +25 -25
- package/dist/chunks/{credential-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-4r4k6gyt.js → generate-7cwwemrn.js} +16 -16
- package/dist/chunks/{credential-qgn6gcr1.js → generate-7dqw4kz8.js} +5 -5
- package/dist/chunks/{credential-vp5pmtp7.js → generate-7dwngxrb.js} +26 -26
- package/dist/chunks/{credential-3a86qk9h.js → generate-7qtea46p.js} +19 -19
- package/dist/chunks/{credential-ctz7jbry.js → generate-7s2tn799.js} +8 -8
- package/dist/chunks/{credential-nye6styw.js → generate-7zbrh5tq.js} +22 -22
- package/dist/chunks/{credential-84txncab.js → generate-84txncab.js} +1 -1
- package/dist/chunks/{credential-t1pf2w0e.js → generate-86k1dhwd.js} +25 -25
- package/dist/chunks/{credential-mbgsk580.js → generate-8bsdq35e.js} +32 -32
- package/dist/chunks/{credential-6y8y59xk.js → generate-8csxj5r3.js} +2 -2
- package/dist/chunks/{credential-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{credential-mqvz5ney.js → generate-8hy9en8e.js} +9 -9
- package/dist/chunks/{credential-9280n09q.js → generate-8rc9khtm.js} +28 -28
- package/dist/chunks/{credential-dsa8rbxc.js → generate-8t60vhkw.js} +12 -12
- package/dist/chunks/{credential-94ek1h2f.js → generate-94ek1h2f.js} +2 -2
- package/dist/chunks/{credential-wye7wwv1.js → generate-9bvjat3n.js} +22 -22
- package/dist/chunks/{credential-spsefvqx.js → generate-9g5c7gye.js} +16 -16
- package/dist/chunks/{credential-wc3dm7y9.js → generate-9nantg5p.js} +24 -24
- package/dist/chunks/{credential-zya4esrg.js → generate-9pj3ea5v.js} +4 -4
- package/dist/chunks/{credential-3wers1sj.js → generate-9pvxkkw3.js} +22 -22
- package/dist/chunks/{credential-75m27ksb.js → generate-9rdrv7ss.js} +13 -13
- package/dist/chunks/{credential-04e1yqay.js → generate-9vh74ph3.js} +13 -13
- package/dist/chunks/{credential-7g2rjez8.js → generate-a0q0x2br.js} +30 -30
- package/dist/chunks/{credential-nng2ktcm.js → generate-a3r4dcrj.js} +2 -2
- package/dist/chunks/{credential-ratrq7cm.js → generate-a46v4e4v.js} +4 -4
- package/dist/chunks/{credential-yn9wwxkv.js → generate-a4e6jaw7.js} +18 -18
- package/dist/chunks/{credential-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{credential-tn0aqsam.js → generate-ag9w8cw1.js} +5 -5
- package/dist/chunks/{credential-g119zzvp.js → generate-ap3j0wzh.js} +7 -7
- package/dist/chunks/{credential-dwvzh0g2.js → generate-apn8f15b.js} +7 -7
- package/dist/chunks/{credential-xsxzmn3v.js → generate-arndb05z.js} +6 -6
- package/dist/chunks/{credential-qf2zcmdt.js → generate-asmv1htq.js} +18 -18
- package/dist/chunks/{credential-0p9070wt.js → generate-azvwj0fe.js} +10 -10
- package/dist/chunks/{credential-0vs09wn3.js → generate-b6dxgyqp.js} +10 -10
- package/dist/chunks/{credential-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{credential-1zsnqtzs.js → generate-bknrv093.js} +10 -10
- package/dist/chunks/{credential-cbgww8ce.js → generate-bpa17nke.js} +16 -16
- package/dist/chunks/{credential-amekftng.js → generate-btppnszc.js} +15 -15
- package/dist/chunks/{credential-c0kxmb28.js → generate-bz31k0m7.js} +42 -42
- package/dist/chunks/{credential-ja41pfcf.js → generate-c1k7n5xw.js} +27 -27
- package/dist/chunks/{credential-a6w30j4s.js → generate-c54qn10r.js} +12 -12
- package/dist/chunks/{credential-c765mh8b.js → generate-c765mh8b.js} +2 -2
- package/dist/chunks/{credential-3ppptnan.js → generate-cdm0dq9n.js} +6 -6
- package/dist/chunks/{credential-4pf7hmpg.js → generate-cfafq1xv.js} +13 -13
- package/dist/chunks/{credential-vpezmzvj.js → generate-cfba12s0.js} +16 -16
- package/dist/chunks/{credential-5bdbc12f.js → generate-cjwramev.js} +6 -6
- package/dist/chunks/{credential-ckecvw8r.js → generate-ckecvw8r.js} +2 -2
- package/dist/chunks/{credential-bkms2a7d.js → generate-cym1wyth.js} +60 -60
- package/dist/chunks/{credential-dq8a20as.js → generate-d7zsbx7j.js} +6 -6
- package/dist/chunks/{credential-hmrpbdxr.js → generate-daepexh6.js} +3 -3
- package/dist/chunks/{credential-1fwvf67m.js → generate-ddjyqeqz.js} +9 -9
- package/dist/chunks/{credential-dnxkq42g.js → generate-dnxkq42g.js} +1 -1
- package/dist/chunks/{credential-gz65dbkz.js → generate-dpt32np6.js} +2 -2
- package/dist/chunks/{credential-rv46xap4.js → generate-dqvb69t0.js} +83 -83
- package/dist/chunks/{credential-je1n680z.js → generate-dsbv4z0s.js} +13 -13
- package/dist/chunks/{credential-5qd3pb7m.js → generate-e3qxr5gk.js} +2 -2
- package/dist/chunks/{credential-x8rbqhnh.js → generate-e8bnxdhk.js} +8 -8
- package/dist/chunks/{credential-kkp8zx71.js → generate-eahhehpg.js} +4 -4
- package/dist/chunks/{credential-ecfe7b91.js → generate-ecfe7b91.js} +2 -2
- package/dist/chunks/{credential-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{credential-tm8tq2ex.js → generate-emesakwd.js} +15 -15
- package/dist/chunks/{credential-mx39dx40.js → generate-et8frtwb.js} +8 -8
- package/dist/chunks/{credential-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{credential-zjan7maf.js → generate-ez6a7f19.js} +24 -24
- package/dist/chunks/{credential-wzvva4fg.js → generate-f1tyew74.js} +15 -15
- package/dist/chunks/{credential-9185qsvj.js → generate-f4yc8xxh.js} +33 -33
- package/dist/chunks/generate-fnkhvjm5.js +26 -0
- package/dist/chunks/{credential-fpgps28a.js → generate-fpn16xgt.js} +43 -43
- package/dist/chunks/{credential-k3d00yp3.js → generate-g0htbh8p.js} +10 -10
- package/dist/chunks/{credential-scsjx6k2.js → generate-g8m0a0fc.js} +20 -20
- package/dist/chunks/{credential-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-bhcpdcvk.js → generate-gnq7tvv0.js} +16 -16
- package/dist/chunks/{credential-w1nx6pka.js → generate-gqvhrk1p.js} +11 -11
- package/dist/chunks/{credential-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
- package/dist/chunks/{credential-4fwtqxnv.js → generate-gw9vfp6d.js} +25 -25
- package/dist/chunks/generate-gz4nb8qn.js +252 -0
- package/dist/chunks/{credential-rpwk60st.js → generate-h06zvkf4.js} +13 -13
- package/dist/chunks/{credential-32ymn5e1.js → generate-h316b9n0.js} +9 -9
- package/dist/chunks/{credential-g3j0qegx.js → generate-h55chb60.js} +9 -9
- package/dist/chunks/{credential-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-sk2hk6tq.js → generate-h71w788e.js} +9 -9
- package/dist/chunks/{credential-a2rpfkac.js → generate-h9pnpq88.js} +4 -4
- package/dist/chunks/{credential-f29mbr7f.js → generate-h9wp8z5w.js} +4 -4
- package/dist/chunks/{credential-bw8ezstw.js → generate-hhdwea2n.js} +7 -7
- package/dist/chunks/{credential-amdc3z30.js → generate-hnb8nmvn.js} +1 -1
- package/dist/chunks/{credential-res4mv3n.js → generate-j3b8pxcj.js} +28 -28
- package/dist/chunks/{credential-2npzgc2q.js → generate-j46cqjxg.js} +1 -1
- package/dist/chunks/{credential-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{credential-zhpm82pg.js → generate-j79x0brg.js} +18 -18
- package/dist/chunks/{credential-7zpeh0yx.js → generate-j8afcsyc.js} +4 -4
- package/dist/chunks/{credential-ex4azxym.js → generate-jb9mn43j.js} +19 -19
- package/dist/chunks/{credential-q811ynmw.js → generate-jbkn1qdd.js} +27 -27
- package/dist/chunks/{credential-7w99qc9d.js → generate-jexxy024.js} +3 -3
- package/dist/chunks/{credential-9dpvv6bw.js → generate-jfcw678q.js} +13 -13
- package/dist/chunks/{credential-rkprpv83.js → generate-jws6fkes.js} +8 -8
- package/dist/chunks/{credential-tz6ja4zj.js → generate-jwz4x6p9.js} +26 -26
- package/dist/chunks/{credential-5jbme0dy.js → generate-jz6c2g7k.js} +5 -5
- package/dist/chunks/{credential-bgtqdj6f.js → generate-k0hzrm3v.js} +4 -4
- package/dist/chunks/{credential-9wncg805.js → generate-k1qrnqst.js} +8 -8
- package/dist/chunks/{credential-zp72hf0n.js → generate-k2px01h0.js} +12 -12
- package/dist/chunks/{credential-k3c624dm.js → generate-k3c624dm.js} +3 -3
- package/dist/chunks/{credential-q51p3dvy.js → generate-k45ah5vd.js} +14 -14
- package/dist/chunks/{credential-m9f54dp4.js → generate-k4abns9x.js} +16 -16
- package/dist/chunks/{credential-tq4jq2s5.js → generate-k9v3gyrk.js} +40 -40
- package/dist/chunks/{credential-ve08z9fz.js → generate-kjsvp2pq.js} +30 -30
- package/dist/chunks/{credential-6g0am89f.js → generate-kkndcpqr.js} +4 -4
- package/dist/chunks/{credential-hs3bg854.js → generate-kmg0ctnh.js} +6 -6
- package/dist/chunks/{credential-6n88yxkj.js → generate-kmyx2sbj.js} +11 -11
- package/dist/chunks/{credential-myx5pz82.js → generate-kvge6qe2.js} +13 -13
- package/dist/chunks/{credential-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{credential-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-bddt2pqj.js → generate-magsh8sv.js} +16 -16
- package/dist/chunks/{credential-r5x6zcsm.js → generate-mhkvc446.js} +3 -3
- package/dist/chunks/{credential-sffmc9nc.js → generate-mk5c8h6r.js} +124 -124
- package/dist/chunks/{credential-qdqrq8q9.js → generate-mptgk8ew.js} +3 -3
- package/dist/chunks/{credential-hyaya0nw.js → generate-mtqbjg7z.js} +16 -16
- package/dist/chunks/{credential-mvksx64m.js → generate-mvksx64m.js} +4 -4
- package/dist/chunks/{credential-xfqdq6f4.js → generate-mvvgbvx5.js} +8 -8
- package/dist/chunks/{credential-8pk9ts4g.js → generate-n6cha630.js} +2 -2
- package/dist/chunks/{credential-6ahf2jbm.js → generate-n79ymqnj.js} +8 -8
- package/dist/chunks/{credential-87fx34tv.js → generate-n8w64hgs.js} +9 -9
- package/dist/chunks/{credential-g50tfs4x.js → generate-nav4wwqp.js} +1 -1
- package/dist/chunks/{credential-x5nwq7sz.js → generate-nhshtkhx.js} +34 -34
- package/dist/chunks/{credential-kr5r2322.js → generate-p1gamy9h.js} +20 -20
- package/dist/chunks/{credential-6btajet3.js → generate-pgperwgr.js} +11 -11
- package/dist/chunks/generate-phz3h32g.js +18 -0
- package/dist/chunks/{credential-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{credential-3r916n3t.js → generate-pxhak851.js} +6 -6
- package/dist/chunks/{credential-rghjtt8s.js → generate-q0raz0xt.js} +9 -9
- package/dist/chunks/{credential-53dszk21.js → generate-q67tqqz3.js} +20 -20
- package/dist/chunks/{credential-yweces30.js → generate-qac5j8jk.js} +34 -34
- package/dist/chunks/{credential-84zt2byv.js → generate-qg0jgkcp.js} +9 -9
- package/dist/chunks/{credential-7d6d5frt.js → generate-qhx40mea.js} +24 -24
- package/dist/chunks/{credential-v7hfm648.js → generate-qkt0mxxe.js} +75 -75
- package/dist/chunks/{credential-0gqv3qc4.js → generate-qktdvtk9.js} +9 -9
- package/dist/chunks/{credential-drwq78ky.js → generate-qqeeq2t9.js} +7 -7
- package/dist/chunks/{credential-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-30846h32.js → generate-qwjmgwmn.js} +8 -8
- package/dist/chunks/{credential-903keqrn.js → generate-r3cfpwkz.js} +6 -6
- package/dist/chunks/{credential-kct9520v.js → generate-r8rnv0jj.js} +12 -12
- package/dist/chunks/{credential-n34gk992.js → generate-ra6s1qz5.js} +14 -14
- package/dist/chunks/{credential-e7710hd6.js → generate-rav9e4bf.js} +8 -8
- package/dist/chunks/{credential-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{credential-rhjbct0v.js → generate-rhjbct0v.js} +1 -1
- package/dist/chunks/{credential-xtfr2a7s.js → generate-rpfbxaa7.js} +15 -15
- package/dist/chunks/{credential-ssecb20m.js → generate-rtweafxj.js} +13 -13
- package/dist/chunks/{credential-yrznvahk.js → generate-s4enseaf.js} +2 -2
- package/dist/chunks/{credential-qkenf8ew.js → generate-s4qvy6da.js} +11 -11
- package/dist/chunks/{credential-6xsqxv1p.js → generate-s62cygkh.js} +9 -9
- package/dist/chunks/{credential-czw2gks2.js → generate-sccx0yvr.js} +26 -26
- package/dist/chunks/{credential-47h7tx69.js → generate-sgzjm3r6.js} +5 -5
- package/dist/chunks/{credential-30gprf1d.js → generate-smyv73yd.js} +11 -11
- package/dist/chunks/{credential-p44d8wdy.js → generate-sra9araw.js} +5 -5
- package/dist/chunks/{credential-j3j90dte.js → generate-ssy44phe.js} +14 -14
- package/dist/chunks/{credential-2xwkyk0m.js → generate-t0sqncza.js} +5 -5
- package/dist/chunks/{credential-hn57h045.js → generate-t2az9yje.js} +4 -4
- package/dist/chunks/{credential-jy3q8cv1.js → generate-t3w4twfb.js} +11 -11
- package/dist/chunks/{credential-s1g44hj8.js → generate-t6xfj4xa.js} +50 -50
- package/dist/chunks/{credential-967s8825.js → generate-tazfts3e.js} +8 -8
- package/dist/chunks/{credential-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{credential-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{credential-rcv1z36m.js → generate-te4qgv7b.js} +12 -12
- package/dist/chunks/{credential-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{credential-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-83zgddb3.js → generate-vhb3z7p9.js} +18 -18
- package/dist/chunks/{credential-dyc80tht.js → generate-vkzgvsaw.js} +52 -52
- package/dist/chunks/{credential-607q5haz.js → generate-vy4zg7qh.js} +5 -5
- package/dist/chunks/{credential-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{credential-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{credential-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-qp35zjhz.js → generate-w7907s39.js} +21 -21
- package/dist/chunks/{credential-jv01nqvq.js → generate-wbkyxrgf.js} +5 -5
- package/dist/chunks/{credential-wd3x2cqz.js → generate-wd3x2cqz.js} +2 -2
- package/dist/chunks/{credential-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{credential-tdy047wr.js → generate-wgnhx3xw.js} +26 -26
- package/dist/chunks/{credential-hf2z2aq1.js → generate-wnjg8cq9.js} +6 -6
- package/dist/chunks/{credential-29qtweaw.js → generate-wp1nbt91.js} +19 -19
- package/dist/chunks/{credential-wvqbabj3.js → generate-wtgt14fk.js} +14 -14
- package/dist/chunks/{credential-nmfttajv.js → generate-wzvwwwtc.js} +23 -23
- package/dist/chunks/{credential-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{credential-0ryd0fps.js → generate-x2rw7g36.js} +5 -5
- package/dist/chunks/{credential-akcwy8f5.js → generate-x76h38gv.js} +34 -34
- package/dist/chunks/{credential-75dq6h5a.js → generate-xcmrs36j.js} +9 -9
- package/dist/chunks/{credential-rd6b7xd8.js → generate-xd93e145.js} +4 -4
- package/dist/chunks/{credential-dmqcgk4z.js → generate-xkntkrq7.js} +5 -5
- package/dist/chunks/{credential-4cwgcsq7.js → generate-xky8qqen.js} +11 -11
- package/dist/chunks/{credential-nh77mpes.js → generate-xper0bhy.js} +6 -6
- package/dist/chunks/{credential-khf3ms8d.js → generate-xtt422ve.js} +13 -13
- package/dist/chunks/{credential-h6b02349.js → generate-xvp1j2dc.js} +5 -5
- package/dist/chunks/{credential-pjtv0hnk.js → generate-xz17nvmj.js} +11 -11
- package/dist/chunks/{credential-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-dpkg50ah.js → generate-y71avatq.js} +4 -4
- package/dist/chunks/{credential-kgzt0mfa.js → generate-yd3jw23x.js} +1 -1
- package/dist/chunks/{credential-f2n192rq.js → generate-yp2x3t23.js} +4 -4
- package/dist/chunks/{credential-848zse2m.js → generate-yqwday8d.js} +10 -10
- package/dist/chunks/{credential-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{credential-0znnjg06.js → generate-yxnc9je5.js} +11 -11
- package/dist/chunks/{credential-d3954t4j.js → generate-yyr25rwn.js} +5 -5
- package/dist/chunks/{credential-c6805mng.js → generate-yzeejkfr.js} +23 -23
- package/dist/chunks/{credential-z07pqspn.js → generate-z07pqspn.js} +3 -3
- package/dist/chunks/{credential-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-xtshptfy.js → generate-z1t43wf9.js} +8 -8
- package/dist/chunks/{credential-xyx26n42.js → generate-z5a9h27f.js} +1 -1
- package/dist/chunks/{credential-qqc4m8yb.js → generate-zbt9zsvy.js} +15 -15
- package/dist/chunks/{credential-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{credential-rk1r2hx8.js → generate-znsx74x0.js} +1 -1
- package/dist/chunks/{credential-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-rmg27sy1.js → generate-zr95g3fb.js} +10 -10
- package/dist/chunks/{credential-fqbhfcjp.js → generate-zst2aaa9.js} +37 -37
- package/dist/chunks/{credential-2drh6w9c.js → generate-ztzjtmz1.js} +14 -14
- package/dist/chunks/{credential-j29ewdw0.js → generate-zv45bf8x.js} +2 -2
- package/dist/chunks/{credential-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/chunks/{credential-nrqbvhrj.js → generate-zyy8xd5z.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- 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 +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +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 +123 -123
- 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 +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +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 +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +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 +92 -92
- package/dist/model.js +90 -90
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- 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 +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +87 -87
- 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 +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/credential-619r8v3y.js +0 -18
- package/dist/chunks/credential-yrmjxgh6.js +0 -26
- package/dist/chunks/credential-zsr1emfb.js +0 -252
- /package/dist/chunks/{credential-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{credential-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./generate-vkzgvsaw.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input8,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin42,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name8 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input8 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input8.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin42 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service57;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name8,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input8,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin23 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name8,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name8, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input8, Plugin42, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-wd3x2cqz.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service63
|
|
4
|
+
} from "./generate-k9v3gyrk.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin22
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin22 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service63;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin18 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin22, exports_websearch };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node69
|
|
9
|
+
} from "./generate-w7907s39.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-5633drez.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service66;
|
|
335
|
+
return Service12.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [node69] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-daepexh6.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service69,
|
|
17
|
+
node: () => node72
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service69 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service69.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node72 = makeGlobalNode({ service: Service69, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service69, node72, exports_kv };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-9pj3ea5v.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./generate-4yq8704b.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-zv45bf8x.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service66,
|
|
19
|
+
node69
|
|
20
|
+
} from "./generate-w7907s39.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service79,
|
|
24
|
+
node83
|
|
25
|
+
} from "./generate-q67tqqz3.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service77,
|
|
34
34
|
node81
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./generate-4x9ewffz.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
45
|
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service30,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
56
56
|
layer: () => layer14,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node33
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service30 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options4 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var layer14 = (options) => Layer.effect(
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const environment = yield*
|
|
116
|
+
const environment = yield* Service66;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
118
|
+
const forms = yield* Service79;
|
|
119
119
|
const integration = yield* Service77;
|
|
120
|
-
const credentials = yield*
|
|
120
|
+
const credentials = yield* Service78;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError3({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID16.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service66, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service30.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
535
|
+
service: Service30,
|
|
536
536
|
layer: layer14(options),
|
|
537
|
-
deps: [node84,
|
|
537
|
+
deps: [node84, node69, node87, node83, node81, node82]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node33 = configured4();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service30, Options4, layer14, configured4, node33, exports_mcp4 };
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-kmg0ctnh.js";
|
|
6
6
|
import {
|
|
7
7
|
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
10
|
Info26
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-71cfveas.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|