@opencode/core 0.0.0-dev-20487 → 0.0.0-dev-20489
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{git-56qj8wan.js → plugin-08tmw935.js} +5 -5
- package/dist/chunks/{git-6g7e4dd5.js → plugin-0bg0bx69.js} +9 -9
- package/dist/chunks/{git-cth98fgx.js → plugin-0ghtmzcp.js} +48 -48
- package/dist/chunks/{git-qzexb7dd.js → plugin-0he9bta8.js} +12 -12
- package/dist/chunks/{git-zfs8ae4p.js → plugin-0me0fk48.js} +4 -4
- package/dist/chunks/{git-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-73nkehxt.js → plugin-0st2k7bp.js} +8 -8
- package/dist/chunks/{git-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
- package/dist/chunks/{git-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-w2h15q85.js → plugin-1pxz8ven.js} +5 -5
- package/dist/chunks/{git-pavar7ea.js → plugin-1rpvqjb2.js} +28 -28
- package/dist/chunks/{git-5hwzk0w4.js → plugin-1xw4ekgp.js} +26 -26
- package/dist/chunks/{git-ff8nr4y0.js → plugin-2920kkda.js} +35 -35
- package/dist/chunks/{git-0zghx38h.js → plugin-29eykq4v.js} +15 -15
- package/dist/chunks/{git-5hzbnnap.js → plugin-29g2crnb.js} +11 -11
- package/dist/chunks/{git-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-j5w2yx54.js → plugin-2a6rn6yr.js} +6 -6
- package/dist/chunks/{git-tftvtmn6.js → plugin-2sjdad61.js} +30 -30
- package/dist/chunks/{git-s8tf1dff.js → plugin-32hdvsd1.js} +9 -9
- package/dist/chunks/{git-1ygqh575.js → plugin-33w4ejhs.js} +6 -6
- package/dist/chunks/{git-0f7xk5x9.js → plugin-37n8qkst.js} +11 -11
- package/dist/chunks/{git-33b8fnsk.js → plugin-3ag6mk8n.js} +6 -6
- package/dist/chunks/{git-ep5xej2h.js → plugin-3ah5pgmr.js} +54 -54
- package/dist/chunks/{git-h2b79v29.js → plugin-3cegwx68.js} +2 -2
- package/dist/chunks/{git-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-satpgpy0.js → plugin-3gmgegrq.js} +20 -20
- package/dist/chunks/{git-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-rf94mawb.js → plugin-42ada8tk.js} +19 -19
- package/dist/chunks/{git-9pa8tak9.js → plugin-4a2kvcyx.js} +2 -2
- package/dist/chunks/{git-1b4m0bzf.js → plugin-4j4tgtq5.js} +4 -4
- package/dist/chunks/{git-p1463psw.js → plugin-4p82swk3.js} +5 -5
- package/dist/chunks/{git-2ccvkpx1.js → plugin-4ts7tf6z.js} +2 -2
- package/dist/chunks/{git-fm9vx6we.js → plugin-530jjp36.js} +10 -10
- package/dist/chunks/{git-gzn9fqyv.js → plugin-53751w34.js} +29 -29
- package/dist/chunks/{git-54ma36ye.js → plugin-54ma36ye.js} +1 -1
- package/dist/chunks/{git-4rchyh60.js → plugin-552dhgzm.js} +5 -5
- package/dist/chunks/{git-6pgc1f5w.js → plugin-58avdj84.js} +12 -12
- package/dist/chunks/{git-1by5q0j9.js → plugin-592e04rw.js} +26 -26
- package/dist/chunks/{git-qyzaws7n.js → plugin-59t371j7.js} +3 -3
- package/dist/chunks/{git-5daktx2q.js → plugin-5daktx2q.js} +1 -1
- package/dist/chunks/{git-zbfyanxm.js → plugin-5eqgw8nb.js} +8 -8
- package/dist/chunks/{git-e3qxr5gk.js → plugin-5qd3pb7m.js} +2 -2
- package/dist/chunks/{git-vgepzxbh.js → plugin-5qwkxp89.js} +4 -4
- package/dist/chunks/{git-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-n3qqcskk.js → plugin-5w1jn6g6.js} +33 -33
- package/dist/chunks/{git-9ppqf0fm.js → plugin-5xs2yarg.js} +26 -26
- package/dist/chunks/plugin-619r8v3y.js +18 -0
- package/dist/chunks/{git-6n8y2g7x.js → plugin-62hsdztg.js} +7 -7
- package/dist/chunks/{git-669tq793.js → plugin-669tq793.js} +1 -1
- package/dist/chunks/{git-yj5m20h0.js → plugin-6b8kbxwq.js} +9 -9
- package/dist/chunks/{git-q6jj9914.js → plugin-6nam3y6a.js} +21 -21
- package/dist/chunks/{git-vc5agm35.js → plugin-6ncs3jcp.js} +39 -39
- package/dist/chunks/{git-qqm7ywwe.js → plugin-6ne101av.js} +16 -16
- package/dist/chunks/{git-1k4dr7g1.js → plugin-6vge9h39.js} +27 -27
- package/dist/chunks/{git-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-tczj4wcr.js → plugin-7bwettt8.js} +8 -8
- package/dist/chunks/{git-2c3eq8z5.js → plugin-7cr7kbfa.js} +1 -1
- package/dist/chunks/{git-fcrkznn8.js → plugin-7dqw4kz8.js} +5 -5
- package/dist/chunks/{git-c243x79n.js → plugin-7k9nbph5.js} +35 -35
- package/dist/chunks/{git-pp3qghtd.js → plugin-7mvfv48b.js} +5 -5
- package/dist/chunks/{git-2vp5hvvb.js → plugin-7sjb06ew.js} +7 -7
- package/dist/chunks/{git-g5kmhmn4.js → plugin-7x15szr3.js} +11 -11
- package/dist/chunks/{git-1dvck2a7.js → plugin-84h8c373.js} +2 -2
- package/dist/chunks/{git-xb9d739d.js → plugin-88wfbx9b.js} +32 -32
- package/dist/chunks/{git-q9zb0ecv.js → plugin-8am2xe2c.js} +91 -91
- package/dist/chunks/{git-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-0x70nm0y.js → plugin-8wvbgzhc.js} +9 -9
- package/dist/chunks/{git-9vtq88j9.js → plugin-8x81hhm0.js} +33 -33
- package/dist/chunks/{git-v2mjd211.js → plugin-9bk9cnp5.js} +37 -37
- package/dist/chunks/{git-hj210d1a.js → plugin-9ck34fdg.js} +7 -7
- package/dist/chunks/{git-6mhn18hh.js → plugin-9dbt7z73.js} +17 -17
- package/dist/chunks/{git-sa28a9tf.js → plugin-9f659gft.js} +9 -9
- package/dist/chunks/{git-1hya600g.js → plugin-9j62v1na.js} +5 -5
- package/dist/chunks/{git-g1d57xsd.js → plugin-9m5s7xmk.js} +32 -32
- package/dist/chunks/{git-nr6gcs3w.js → plugin-9njedpex.js} +8 -8
- package/dist/chunks/plugin-9pk6az91.js +26 -0
- package/dist/chunks/{git-99d0s71v.js → plugin-9tv1ghsx.js} +4 -4
- package/dist/chunks/{git-5dcjqgan.js → plugin-9v7q5m1c.js} +12 -12
- package/dist/chunks/{git-edgxv28b.js → plugin-a1tj4w97.js} +15 -15
- package/dist/chunks/{git-1j8ev5c3.js → plugin-a546qe5c.js} +24 -24
- package/dist/chunks/{git-2pnhn36q.js → plugin-a8bn8zg0.js} +21 -21
- package/dist/chunks/{git-b131bxh3.js → plugin-a9bdmzgt.js} +24 -24
- package/dist/chunks/{git-aaet6srn.js → plugin-aaet6srn.js} +2 -2
- package/dist/chunks/{git-xezz0ntz.js → plugin-aby4nxsj.js} +26 -26
- package/dist/chunks/{git-szbzmdkq.js → plugin-aepc0ehj.js} +28 -28
- package/dist/chunks/{git-6jr8kha2.js → plugin-afabwxgp.js} +8 -8
- package/dist/chunks/{git-k18ytf7m.js → plugin-ak9msbxp.js} +6 -6
- package/dist/chunks/{git-b43h1dzc.js → plugin-aqcsk7k7.js} +12 -12
- package/dist/chunks/{git-d7jaa4wg.js → plugin-aqg4cax4.js} +8 -8
- package/dist/chunks/{git-rjw6hp1j.js → plugin-b00njkv4.js} +23 -23
- package/dist/chunks/{git-scgrse2b.js → plugin-b3f8fkhc.js} +5 -5
- package/dist/chunks/{git-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-6vabwvmw.js → plugin-b6h23dgp.js} +14 -14
- package/dist/chunks/{git-4t94svg8.js → plugin-bh48mnt2.js} +26 -26
- package/dist/chunks/{git-b0ze2mb8.js → plugin-bn6g6p4n.js} +10 -10
- package/dist/chunks/{git-n79tw6se.js → plugin-bqq66rcm.js} +4 -4
- package/dist/chunks/{git-143qq2q9.js → plugin-btfhnvjh.js} +3 -3
- package/dist/chunks/{git-94pjbwqw.js → plugin-bwwwqt94.js} +10 -10
- package/dist/chunks/{git-2m6x7dk2.js → plugin-bxwnqnzf.js} +24 -24
- package/dist/chunks/{git-nr6bfqmd.js → plugin-bz068n2q.js} +27 -27
- package/dist/chunks/{git-mnraq51s.js → plugin-c59ctwfg.js} +23 -23
- package/dist/chunks/{git-m99rkf63.js → plugin-c7s4vxbp.js} +5 -5
- package/dist/chunks/{git-11wpxp25.js → plugin-cfymty4z.js} +35 -35
- package/dist/chunks/{git-v7qe61cb.js → plugin-cn6q53zc.js} +11 -11
- package/dist/chunks/{git-2p5y98w0.js → plugin-cnvcdvk7.js} +6 -6
- package/dist/chunks/{git-ph842b28.js → plugin-dbmc5gjs.js} +4 -4
- package/dist/chunks/{git-qmqgtz8f.js → plugin-djszqvmq.js} +9 -9
- package/dist/chunks/{git-zm2ry5m5.js → plugin-dmrh8gvy.js} +28 -28
- package/dist/chunks/{git-y71avatq.js → plugin-dpkg50ah.js} +4 -4
- package/dist/chunks/{git-1f2q55ad.js → plugin-e2ts7srd.js} +23 -23
- package/dist/chunks/{git-1phwnavf.js → plugin-e4qyxvqk.js} +11 -11
- package/dist/chunks/{git-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-f5gy8qwh.js → plugin-eneefzjq.js} +8 -8
- package/dist/chunks/{git-0t098hqn.js → plugin-engkm2d6.js} +5 -5
- package/dist/chunks/{git-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-71az546q.js → plugin-f75zav2x.js} +2 -2
- package/dist/chunks/{git-gsnyd5qq.js → plugin-fy55jrv2.js} +7 -7
- package/dist/chunks/{git-c8s4yex5.js → plugin-g0eqw7vj.js} +16 -16
- package/dist/chunks/{git-r3vcwrv4.js → plugin-g2qsvwwh.js} +29 -29
- package/dist/chunks/{git-1bvxe6eh.js → plugin-g3khgvgp.js} +58 -58
- package/dist/chunks/{git-0bbrpfc7.js → plugin-g5nesaam.js} +11 -11
- package/dist/chunks/{git-h017z5nv.js → plugin-g6tzv9ct.js} +13 -13
- package/dist/chunks/{git-wmnssb6q.js → plugin-g7pyd2xg.js} +22 -22
- package/dist/chunks/{git-bh00h86y.js → plugin-g99crknm.js} +22 -22
- package/dist/chunks/{git-nrkx522j.js → plugin-gcbvw9h7.js} +329 -329
- package/dist/chunks/{git-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-wnpk5cj0.js → plugin-gdgk23je.js} +11 -11
- package/dist/chunks/{git-8f95w5kh.js → plugin-gf5746j9.js} +11 -11
- package/dist/chunks/{git-56espktj.js → plugin-gkj81yr6.js} +18 -18
- package/dist/chunks/{git-gv1782g9.js → plugin-gm6expwy.js} +15 -15
- package/dist/chunks/{git-524eer23.js → plugin-gvf59224.js} +10 -10
- package/dist/chunks/{git-xvvg8evz.js → plugin-gxer4289.js} +2 -2
- package/dist/chunks/{git-w24kdg89.js → plugin-gy1e9esd.js} +18 -18
- package/dist/chunks/{git-d7tmzpbn.js → plugin-h2mrpd9j.js} +47 -47
- package/dist/chunks/{git-2bc3cxj7.js → plugin-h3gq0wn1.js} +51 -51
- package/dist/chunks/{git-tc14gx3q.js → plugin-h4ckqw4f.js} +11 -11
- package/dist/chunks/{git-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-631zgpvt.js → plugin-h7zfyhdd.js} +13 -13
- package/dist/chunks/{git-325sge2s.js → plugin-hd8vw2pw.js} +1 -1
- package/dist/chunks/{git-pttd3nzj.js → plugin-hgqax4q6.js} +23 -23
- package/dist/chunks/{git-m4qj4fpw.js → plugin-hgt7erew.js} +11 -11
- package/dist/chunks/{git-gca7nrd2.js → plugin-hh2jxtdr.js} +70 -70
- package/dist/chunks/{git-j56e64zr.js → plugin-j56e64zr.js} +1 -1
- package/dist/chunks/{git-vvwn34gm.js → plugin-jagbr6h4.js} +21 -21
- package/dist/chunks/{git-8vpe69nk.js → plugin-jebqk7jw.js} +27 -27
- package/dist/chunks/{git-njerjs8t.js → plugin-jgaj827t.js} +29 -29
- package/dist/chunks/{git-3j8n7zh4.js → plugin-jhmdvha7.js} +14 -14
- package/dist/chunks/{git-gtczcmth.js → plugin-js7acmhb.js} +3 -3
- package/dist/chunks/{git-bn8r8h40.js → plugin-jvq0khv9.js} +18 -18
- package/dist/chunks/{git-x661k3y3.js → plugin-k22b66k8.js} +4 -4
- package/dist/chunks/{git-s3s036sb.js → plugin-k3kq5fdz.js} +3 -3
- package/dist/chunks/{git-n7m60htf.js → plugin-k4wmp9nh.js} +37 -37
- package/dist/chunks/{git-d7rqbc4v.js → plugin-k9wzpze3.js} +32 -32
- package/dist/chunks/{git-9e5bzkjp.js → plugin-kb9j3d72.js} +3 -3
- package/dist/chunks/{git-rrjhvgg4.js → plugin-keq0amzm.js} +13 -13
- package/dist/chunks/{git-n1mcftb7.js → plugin-kh2dz1qf.js} +13 -13
- package/dist/chunks/{git-w2dybhf4.js → plugin-knqt1fk3.js} +3 -3
- package/dist/chunks/{git-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-m64hph1b.js → plugin-m6g91zyk.js} +15 -15
- package/dist/chunks/{git-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-0w8cbt7c.js → plugin-maheee0q.js} +35 -35
- package/dist/chunks/{git-jdnhh2g6.js → plugin-mdwkzxwq.js} +34 -34
- package/dist/chunks/{git-73tb2d7t.js → plugin-mhkvc446.js} +3 -3
- package/dist/chunks/{git-s5qxm7c2.js → plugin-mhnyy3p3.js} +11 -11
- package/dist/chunks/{git-nf3bc7kp.js → plugin-mmha00yr.js} +23 -23
- package/dist/chunks/{git-6xkwkya9.js → plugin-mpfqpskx.js} +12 -12
- package/dist/chunks/{git-9cnxfjke.js → plugin-mzpqzxtj.js} +22 -22
- package/dist/chunks/{git-nkh99vgj.js → plugin-n0qch2gr.js} +15 -15
- package/dist/chunks/{git-4etvww50.js → plugin-n389n8yy.js} +188 -188
- package/dist/chunks/{git-5y9w058m.js → plugin-n7fvg6tv.js} +8 -8
- package/dist/chunks/{git-938vy3my.js → plugin-na8rrp7m.js} +35 -35
- package/dist/chunks/{git-yfeh97mb.js → plugin-ndp479ha.js} +27 -27
- package/dist/chunks/{git-hjndax5w.js → plugin-nge6e8t3.js} +20 -20
- package/dist/chunks/{git-vwwdt11q.js → plugin-nje5s9z6.js} +13 -13
- package/dist/chunks/{git-c2kekdpx.js → plugin-ns6nxdj3.js} +1 -1
- package/dist/chunks/{git-5yzzbxa7.js → plugin-p37cw4rj.js} +8 -8
- package/dist/chunks/{git-7eb1d2yt.js → plugin-p4k59x61.js} +30 -30
- package/dist/chunks/{git-bf0bx9gk.js → plugin-p8v7gray.js} +6 -6
- package/dist/chunks/{git-p79yms0y.js → plugin-p9dr31ta.js} +10 -10
- package/dist/chunks/plugin-pjqdv965.js +253 -0
- package/dist/chunks/{git-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{git-e8tr3786.js → plugin-pn55wrwy.js} +33 -33
- package/dist/chunks/{git-nj62jbws.js → plugin-pr301zdv.js} +63 -63
- package/dist/chunks/{git-0jq9fyba.js → plugin-prq7hedt.js} +2 -2
- package/dist/chunks/{git-1ycnedvv.js → plugin-pt41nrzb.js} +31 -31
- package/dist/chunks/{git-8zhmd018.js → plugin-pte6hzve.js} +36 -36
- package/dist/chunks/{git-xdj3jjdd.js → plugin-py01hhmc.js} +11 -11
- package/dist/chunks/{git-py3kkmfq.js → plugin-py3kkmfq.js} +2 -2
- package/dist/chunks/{git-0j77ygfz.js → plugin-q0xm7vwc.js} +6 -6
- package/dist/chunks/{git-bsbz52zb.js → plugin-q4aqwj73.js} +24 -24
- package/dist/chunks/{git-yev3q7x9.js → plugin-q553k2y0.js} +18 -18
- package/dist/chunks/{git-vs1y934m.js → plugin-q5sv98z1.js} +15 -15
- package/dist/chunks/{git-y9ehdwpk.js → plugin-qe2mh3tq.js} +6 -6
- package/dist/chunks/{git-q4g8h7yf.js → plugin-qes05c22.js} +44 -44
- package/dist/chunks/{git-bzt0dk37.js → plugin-qf3mq4ra.js} +26 -26
- package/dist/chunks/{git-rrt2er56.js → plugin-qj72p9h2.js} +3 -3
- package/dist/chunks/{git-s1mk6ccd.js → plugin-qkb64swz.js} +11 -11
- package/dist/chunks/{git-b27vhd2z.js → plugin-qm0v3jhh.js} +7 -7
- package/dist/chunks/{git-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{git-2hr5nhwa.js → plugin-qvb3nf84.js} +8 -8
- package/dist/chunks/{git-x2rw7g36.js → plugin-qvreyy9g.js} +5 -5
- package/dist/chunks/{git-p45atnv4.js → plugin-r2s5mzj1.js} +12 -12
- package/dist/chunks/{git-h79qd4dv.js → plugin-r44petzp.js} +12 -12
- package/dist/chunks/{git-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-nk6rbrgr.js → plugin-rghnzapf.js} +23 -23
- package/dist/chunks/{git-zftzqrxt.js → plugin-rhwq70n6.js} +11 -11
- package/dist/chunks/{git-ztjvgwme.js → plugin-rkse2x0j.js} +19 -19
- package/dist/chunks/{git-pt5yrvtv.js → plugin-s2rhz4ah.js} +3 -3
- package/dist/chunks/{git-50bccm45.js → plugin-s4vv33mq.js} +34 -34
- package/dist/chunks/{git-thtvf947.js → plugin-s66tm1sq.js} +5 -5
- package/dist/chunks/{git-mzytx70b.js → plugin-seybfen1.js} +89 -89
- package/dist/chunks/{git-m5eggbga.js → plugin-sjhf83m2.js} +8 -8
- package/dist/chunks/{git-g1sxm558.js → plugin-sk5hrgtc.js} +8 -8
- package/dist/chunks/{git-3jda838f.js → plugin-snnkctvy.js} +16 -16
- package/dist/chunks/{git-2003xh4j.js → plugin-sqmzwr9m.js} +9 -9
- package/dist/chunks/{git-29mm1gn9.js → plugin-svykb2th.js} +35 -35
- package/dist/chunks/{git-m70sbz6t.js → plugin-t7n9q6bq.js} +4 -4
- package/dist/chunks/{git-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-73apqjm5.js → plugin-tbdf39ae.js} +19 -19
- package/dist/chunks/{git-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{git-7zqvbyaq.js → plugin-te665yay.js} +17 -17
- package/dist/chunks/{git-cwz9jdg6.js → plugin-ttn9g19g.js} +17 -17
- package/dist/chunks/{git-2bw54qtz.js → plugin-vdgc7sk8.js} +3 -3
- package/dist/chunks/{git-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{git-4c9fjdh1.js → plugin-vjx4dhe3.js} +11 -11
- package/dist/chunks/{git-zn3xdhgm.js → plugin-vpgtgc27.js} +4 -4
- package/dist/chunks/{git-8fnsfksf.js → plugin-vxh2w9az.js} +22 -22
- package/dist/chunks/{git-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-84txncab.js → plugin-w1eejvng.js} +5 -5
- package/dist/chunks/{git-rr03d8em.js → plugin-w224pj40.js} +22 -22
- package/dist/chunks/{git-pfebza6x.js → plugin-w25fr9f9.js} +29 -29
- package/dist/chunks/{git-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-jgf0bwqe.js → plugin-w43yw030.js} +5 -5
- package/dist/chunks/{git-ys8thrvz.js → plugin-w4dx7hzn.js} +3 -3
- package/dist/chunks/{git-tbj8krrj.js → plugin-w758s7nv.js} +43 -43
- package/dist/chunks/{git-nyfw82fd.js → plugin-w81m6cf9.js} +15 -15
- package/dist/chunks/{git-1174b0hx.js → plugin-w8zxs343.js} +16 -16
- package/dist/chunks/{git-16apfsbq.js → plugin-wbhkz6w4.js} +15 -15
- package/dist/chunks/{git-dx0zancp.js → plugin-wc1qr0sj.js} +8 -8
- package/dist/chunks/{git-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{git-8pm5vmt4.js → plugin-whbvrzaq.js} +17 -17
- package/dist/chunks/{git-ab3b0rew.js → plugin-wpfn465e.js} +4 -4
- package/dist/chunks/{git-6pf3my43.js → plugin-wpvpdrjr.js} +4 -4
- package/dist/chunks/{git-at2w5gta.js → plugin-wsw9xjjb.js} +29 -29
- package/dist/chunks/{git-s8d7rejh.js → plugin-wv396vej.js} +8 -8
- package/dist/chunks/{git-x1ezjp6w.js → plugin-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-xfkkasph.js → plugin-xfkkasph.js} +1 -1
- package/dist/chunks/{git-tkh413by.js → plugin-xk6sbjp1.js} +9 -9
- package/dist/chunks/{git-dmqcgk4z.js → plugin-xkntkrq7.js} +5 -5
- package/dist/chunks/{git-wgwzc84g.js → plugin-xn3aq1vn.js} +46 -46
- package/dist/chunks/{git-yg4x4cvm.js → plugin-xp6rvhe2.js} +9 -9
- package/dist/chunks/{git-475q9svy.js → plugin-xqb26yp8.js} +12 -12
- package/dist/chunks/{git-wa9061eh.js → plugin-xqkkqd5t.js} +3 -3
- package/dist/chunks/{git-qxjc9qry.js → plugin-xyafkbt0.js} +3 -3
- package/dist/chunks/{git-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-9mdv1d98.js → plugin-y5f3qdbg.js} +9 -9
- package/dist/chunks/{git-w1ad28wa.js → plugin-y6kccm89.js} +8 -8
- package/dist/chunks/{git-7gd3hzpr.js → plugin-y7cqqg6m.js} +21 -21
- package/dist/chunks/{git-db35ckwp.js → plugin-ydgym1xa.js} +17 -17
- package/dist/chunks/{git-2k9fjx65.js → plugin-ygdna4kr.js} +5 -5
- package/dist/chunks/{git-yp2x3t23.js → plugin-yp2x3t23.js} +1 -1
- package/dist/chunks/{git-yrhqyw5v.js → plugin-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-1e03kyp0.js → plugin-yssjxqzx.js} +8 -8
- package/dist/chunks/{git-fsse434c.js → plugin-ywp84kpb.js} +9 -9
- package/dist/chunks/{git-gz56ec1j.js → plugin-yy6k95dt.js} +42 -42
- package/dist/chunks/{git-avae2qkj.js → plugin-yz16v67g.js} +16 -16
- package/dist/chunks/{git-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-em4qz8cs.js → plugin-z6e4akrq.js} +10 -10
- package/dist/chunks/{git-3pnse8ed.js → plugin-zpd5qt32.js} +12 -12
- package/dist/chunks/{git-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
- package/dist/chunks/{git-h6310vsd.js → plugin-zy43x3f1.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- 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 +114 -114
- package/dist/config/plugin/instruction.js +88 -88
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +133 -133
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +218 -218
- 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 +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- 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 +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- 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 +352 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- 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 +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +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/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 +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- 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/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- 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 +342 -342
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/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 +217 -217
- package/dist/session/execution.js +125 -125
- 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 +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 +222 -222
- 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 +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +204 -204
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- 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 +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/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- 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/variant.js +91 -91
- 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 +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/git-1x11rq2a.js +0 -18
- package/dist/chunks/git-j2kychf2.js +0 -26
- package/dist/chunks/git-q2cxkkpz.js +0 -253
- /package/dist/chunks/{git-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → plugin-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./plugin-r2s5mzj1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service37,
|
|
7
|
+
node40
|
|
8
|
+
} from "./plugin-3ah5pgmr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service68,
|
|
11
|
+
node70
|
|
12
|
+
} from "./plugin-pr301zdv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service49,
|
|
15
|
+
node51
|
|
16
|
+
} from "./plugin-g7pyd2xg.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
|
+
layer: () => layer13,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service31 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service37;
|
|
42
|
+
const tools = yield* Service49;
|
|
43
|
+
const bus = yield* Service83;
|
|
44
|
+
const permission = yield* Service68;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node35 = makeLocationNode({
|
|
124
|
+
service: Service31,
|
|
125
|
+
layer: layer13,
|
|
126
|
+
deps: [node51, node40, node87, node70]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service31, layer13, node35, exports_mcp3 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./plugin-jgaj827t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./plugin-pr301zdv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service26
|
|
14
|
+
} from "./plugin-jebqk7jw.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./plugin-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin10,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name9 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input9 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin10 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service68;
|
|
53
|
+
const forms = yield* Service64;
|
|
54
|
+
const websearch = yield* Service26;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name9,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input9,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name9,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name9];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name9, NO_RESULTS2, description4, Input9, Plugin10, exports_websearch };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./plugin-r2s5mzj1.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./plugin-g0eqw7vj.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID7,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service61,
|
|
20
|
+
node63,
|
|
21
|
+
Event12
|
|
22
|
+
} from "./plugin-svykb2th.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./plugin-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,26 +30,26 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event11,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID6,
|
|
36
|
+
Info: () => Info14,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service59,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node61,
|
|
45
|
+
parse: () => parse4
|
|
46
46
|
});
|
|
47
47
|
import { Model } from "@opencode/schema/model";
|
|
48
48
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import { freeze } from "immer";
|
|
51
|
-
import { Event as
|
|
52
|
-
var
|
|
51
|
+
import { Event as Event11 } from "@opencode/schema/model";
|
|
52
|
+
var ID6 = Model.ID;
|
|
53
53
|
var VariantID2 = Model.VariantID;
|
|
54
54
|
var Family2 = Model.Family;
|
|
55
55
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -65,14 +65,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
65
65
|
};
|
|
66
66
|
var Cost2 = Model.Cost;
|
|
67
67
|
var Ref2 = Model.Ref;
|
|
68
|
-
var
|
|
68
|
+
var Info14 = Model.Info;
|
|
69
69
|
|
|
70
|
-
class
|
|
70
|
+
class Service59 extends Context.Service()("@opencode/Model") {
|
|
71
71
|
}
|
|
72
|
-
var layer = Layer.effect(
|
|
73
|
-
const providers = yield*
|
|
74
|
-
const bus = yield*
|
|
75
|
-
const location = yield*
|
|
72
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
73
|
+
const providers = yield* Service61;
|
|
74
|
+
const bus = yield* Service83;
|
|
75
|
+
const location = yield* Service79;
|
|
76
76
|
let input;
|
|
77
77
|
const state = create3({
|
|
78
78
|
name: "model",
|
|
@@ -117,7 +117,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
117
117
|
const models = writable(providerID);
|
|
118
118
|
if (!models)
|
|
119
119
|
return;
|
|
120
|
-
const model = draft(providerID, modelID) ??
|
|
120
|
+
const model = draft(providerID, modelID) ?? Info14.default(providerID, modelID);
|
|
121
121
|
update(model);
|
|
122
122
|
model.id = modelID;
|
|
123
123
|
model.providerID = providerID;
|
|
@@ -206,8 +206,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
206
206
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
|
-
yield* bus.subscribe(
|
|
210
|
-
return
|
|
209
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
210
|
+
return Service59.of({
|
|
211
211
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
212
212
|
reload,
|
|
213
213
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -226,7 +226,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
226
226
|
})
|
|
227
227
|
});
|
|
228
228
|
}));
|
|
229
|
-
var
|
|
229
|
+
var node61 = makeLocationNode({ service: Service59, layer, deps: [node63, node87, node83] });
|
|
230
230
|
function compatibility2(input) {
|
|
231
231
|
if (typeof input === "string")
|
|
232
232
|
return { reasoningField: input };
|
|
@@ -234,12 +234,12 @@ function compatibility2(input) {
|
|
|
234
234
|
return;
|
|
235
235
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function parse4(input) {
|
|
238
238
|
const index = input.indexOf("/");
|
|
239
239
|
return {
|
|
240
|
-
providerID:
|
|
241
|
-
modelID:
|
|
240
|
+
providerID: ID7.make(index === -1 ? input : input.slice(0, index)),
|
|
241
|
+
modelID: ID6.make(index === -1 ? "" : input.slice(index + 1))
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
export {
|
|
245
|
+
export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info14, Service59, node61, compatibility2, parse4, exports_model2, Event11 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options6,
|
|
15
|
+
Service: () => Service50,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured6,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node52,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options6 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service50 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service50.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured6(options) {
|
|
210
|
+
return makeLocationNode({ service: Service50, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node52 = configured6();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options6, Service50, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured6, node52, exports_select };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./plugin-jgaj827t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./plugin-pr301zdv.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service64;
|
|
57
|
+
const permission = yield* Service68;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export { name14, description6,
|
|
120
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service47,
|
|
10
|
+
node: () => node49
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service47 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node49 = LayerNode.unbound(Service47, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service47, node49, exports_service2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./plugin-g0eqw7vj.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service76,
|
|
10
|
+
node79
|
|
11
|
+
} from "./plugin-jhmdvha7.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service21,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer9,
|
|
29
|
+
node: () => node23,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service21 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service21, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service76;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service21.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service21.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service21.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service21, layer: layer9(options), deps: [node83, node79] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node23 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service21, ripgrepLayer2, fffLayer2, layer9, configured3, node23, exports_search };
|