@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,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info12,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info12 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info12, exports_permission };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-7sjb06ew.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./plugin-r2s5mzj1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID9,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event14,
|
|
11
|
+
Service63
|
|
12
|
+
} from "./plugin-pn55wrwy.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-k22b66k8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID8,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-5w1jn6g6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID7,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-svykb2th.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID6,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info14
|
|
28
|
+
} from "./plugin-2920kkda.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./plugin-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
|
|
|
41
41
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
|
-
var providerID =
|
|
45
|
-
var integrationID =
|
|
44
|
+
var providerID = ID7.openai;
|
|
45
|
+
var integrationID = ID8.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -171,8 +171,8 @@ function listen(server) {
|
|
|
171
171
|
var ChatGPTPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const bus = yield*
|
|
175
|
-
const credentials = yield*
|
|
174
|
+
const bus = yield* Service83;
|
|
175
|
+
const credentials = yield* Service63;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID8.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID9.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID6.make(model.slug))).map((model) => deriveModel(model, Info14.default(ID7.openai, ID6.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./plugin-r2s5mzj1.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-29eykq4v.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service23,
|
|
23
23
|
UnavailableError: () => UnavailableError3,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured4,
|
|
26
|
+
layer: () => layer11,
|
|
27
|
+
node: () => node26
|
|
28
28
|
});
|
|
29
29
|
import os from "node:os";
|
|
30
30
|
import path from "node:path";
|
|
@@ -37,22 +37,22 @@ import { Global } from "@opencode/util/global";
|
|
|
37
37
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
38
38
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
39
39
|
import { available as available2 } from "#persistent-pty-binary";
|
|
40
|
-
var
|
|
40
|
+
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
41
41
|
|
|
42
42
|
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
43
43
|
message: Schema.String
|
|
44
44
|
}) {
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
48
48
|
ptyID: Pty.ID
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service23 extends Context.Service()("@opencode/PersistentPty") {
|
|
53
53
|
}
|
|
54
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
57
|
const context = yield* Effect.context();
|
|
58
58
|
const runFork = Effect.runForkWith(context);
|
|
@@ -74,7 +74,7 @@ var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* (
|
|
|
74
74
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
75
75
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
76
76
|
if (!found)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
78
78
|
return found;
|
|
79
79
|
});
|
|
80
80
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -241,7 +241,7 @@ var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* (
|
|
|
241
241
|
detach: attachment.detach
|
|
242
242
|
};
|
|
243
243
|
});
|
|
244
|
-
return
|
|
244
|
+
return Service23.of({
|
|
245
245
|
list,
|
|
246
246
|
get,
|
|
247
247
|
create,
|
|
@@ -257,13 +257,13 @@ var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* (
|
|
|
257
257
|
attach
|
|
258
258
|
});
|
|
259
259
|
}));
|
|
260
|
-
var
|
|
261
|
-
var
|
|
262
|
-
service:
|
|
263
|
-
layer: options === undefined ?
|
|
264
|
-
deps: [
|
|
260
|
+
var layer11 = makeLayer();
|
|
261
|
+
var configured4 = (options) => makeGlobalNode({
|
|
262
|
+
service: Service23,
|
|
263
|
+
layer: options === undefined ? layer11 : makeLayer(options),
|
|
264
|
+
deps: [node87, Global.node]
|
|
265
265
|
});
|
|
266
|
-
var
|
|
266
|
+
var node26 = configured4();
|
|
267
267
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
268
268
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
269
269
|
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -303,4 +303,4 @@ function fromID(value) {
|
|
|
303
303
|
return parsed;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
export {
|
|
306
|
+
export { Options4, UnavailableError3, NotFoundError4, Service23, layer11, configured4, node26, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./plugin-pr301zdv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID11,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service67
|
|
10
|
+
} from "./plugin-bh48mnt2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input7,
|
|
19
|
+
Output: () => Output5,
|
|
20
|
+
Plugin: () => Plugin8,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name7,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name7 = "skill";
|
|
30
|
+
var Input7 = Schema.Struct({
|
|
31
|
+
id: ID11.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output5 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin8 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service67;
|
|
51
|
+
const permission = yield* Service68;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name7,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input7,
|
|
57
|
+
output: Output5,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name7,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin30 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name7, Input7, Output5, description3, toModelOutput2, Plugin8, exports_skill };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./plugin-r2s5mzj1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service14,
|
|
6
|
+
Event2
|
|
7
|
+
} from "./plugin-6ncs3jcp.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service14;
|
|
33
|
+
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node82,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node82 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node82, exports_driver };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./plugin-xn3aq1vn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./plugin-eneefzjq.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin37
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin37 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service53;
|
|
29
|
+
const managed = yield* Service12;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin48 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin37, exports_policy };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./plugin-xn3aq1vn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./plugin-sqmzwr9m.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
@@ -22,8 +22,8 @@ import { Effect } from "effect";
|
|
|
22
22
|
var Plugin43 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service53;
|
|
26
|
+
const image = yield* Service56;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-59t371j7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./plugin-r2s5mzj1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service47
|
|
9
|
+
} from "./plugin-2a6rn6yr.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service43
|
|
16
|
+
} from "./plugin-e2ts7srd.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./plugin-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./plugin-y5f3qdbg.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./plugin-kb9j3d72.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./plugin-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service47;
|
|
45
45
|
const database = yield* Service84;
|
|
46
|
-
const bus = yield*
|
|
46
|
+
const bus = yield* Service83;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service43;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
77
|
-
const bus = yield*
|
|
76
|
+
const instances = yield* Service47;
|
|
77
|
+
const bus = yield* Service83;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service43;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|