@opencode/core 0.0.0-dev-19892 → 0.0.0-dev-19895
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{git-c6ds0c94.js → image-036p5t1s.js} +4 -4
- package/dist/chunks/{git-hz84tk5e.js → image-05xfxpq7.js} +8 -8
- package/dist/chunks/{git-ph7261hm.js → image-096mz8kq.js} +3 -3
- package/dist/chunks/{git-njhqdk9p.js → image-0996nyz8.js} +8 -8
- package/dist/chunks/{git-3c60n5rg.js → image-0k7zad8a.js} +12 -12
- package/dist/chunks/{git-aamtrqep.js → image-0ke265bw.js} +9 -9
- package/dist/chunks/{git-wx3m0z92.js → image-0m3w2t1r.js} +11 -11
- package/dist/chunks/{git-0paq2nw3.js → image-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-0q0f95c6.js → image-0q0f95c6.js} +1 -1
- package/dist/chunks/{git-43nsyqa5.js → image-0r3xy393.js} +23 -23
- package/dist/chunks/{git-3cjhgjje.js → image-0tesc0cp.js} +59 -59
- package/dist/chunks/{git-288kk2p1.js → image-0zhzd60j.js} +7 -7
- package/dist/chunks/{git-ha8vn221.js → image-125x6jc5.js} +13 -13
- package/dist/chunks/{git-3pe4e59h.js → image-1361eat1.js} +15 -15
- package/dist/chunks/{git-xchesy5b.js → image-13x3xvzj.js} +19 -19
- package/dist/chunks/{git-3hj12f9s.js → image-16tkqbq4.js} +12 -12
- package/dist/chunks/{git-9znc1w06.js → image-17e5z2kv.js} +44 -44
- package/dist/chunks/{git-1dazxqgg.js → image-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-hf4whmtg.js → image-1fvpqx3e.js} +1 -1
- package/dist/chunks/{git-8hnmhdsn.js → image-1rj7qwbn.js} +23 -23
- package/dist/chunks/{git-56gdpj1q.js → image-1ygqh575.js} +9 -9
- package/dist/chunks/{git-xdd5m13n.js → image-21mwcfey.js} +19 -19
- package/dist/chunks/{git-21r38tys.js → image-21r38tys.js} +1 -1
- package/dist/chunks/{git-pqqx5r28.js → image-21xfqssn.js} +28 -28
- package/dist/chunks/{git-sk9aqj88.js → image-23gvq6ep.js} +32 -32
- package/dist/chunks/{git-2402vzrj.js → image-2402vzrj.js} +1 -1
- package/dist/chunks/{git-dy3fdsce.js → image-27q2gfj6.js} +30 -30
- package/dist/chunks/{git-2a5m3afh.js → image-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-b4etar07.js → image-2b1p80hb.js} +32 -32
- package/dist/chunks/{git-tr4gpxdj.js → image-2fg7feb3.js} +10 -10
- package/dist/chunks/{git-0vm7ymqn.js → image-2fqe24zy.js} +10 -10
- package/dist/chunks/{git-8g9s2qm2.js → image-2gm71543.js} +36 -36
- package/dist/chunks/{git-vh4e3tf6.js → image-38rmxb2h.js} +8 -8
- package/dist/chunks/{git-3hr1140z.js → image-3e2sbbgt.js} +20 -20
- package/dist/chunks/{git-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-g2rg0ym0.js → image-3v2q00bj.js} +13 -13
- package/dist/chunks/{git-bjn91642.js → image-3ythc6yv.js} +4 -4
- package/dist/chunks/{git-ckpezhnz.js → image-43365wyy.js} +28 -28
- package/dist/chunks/{git-fkjmw100.js → image-44ke2mar.js} +6 -6
- package/dist/chunks/{git-h6r3nrb9.js → image-4dgbcxzg.js} +4 -4
- package/dist/chunks/{git-cg9hks8v.js → image-4en9k6ag.js} +20 -20
- package/dist/chunks/{git-er2nv8wb.js → image-4r4gs5bv.js} +8 -8
- package/dist/chunks/{git-qrvxy8qx.js → image-4y72ap3v.js} +12 -12
- package/dist/chunks/{git-4p5t2wp7.js → image-4z1052x1.js} +13 -13
- package/dist/chunks/{git-teypzqam.js → image-4zxrr8c3.js} +11 -11
- package/dist/chunks/image-511hynh8.js +252 -0
- package/dist/chunks/{git-dfvnyc1p.js → image-53md4s8b.js} +12 -12
- package/dist/chunks/{git-yffsrks6.js → image-5bds7g24.js} +34 -34
- package/dist/chunks/{git-a1bz86dw.js → image-5c4hm403.js} +3 -3
- package/dist/chunks/{git-dvn4kdj3.js → image-5cyh5ysx.js} +15 -15
- package/dist/chunks/{git-5daktx2q.js → image-5daktx2q.js} +1 -1
- package/dist/chunks/{git-aze3g556.js → image-5fkza10m.js} +7 -7
- package/dist/chunks/{git-r9hg784z.js → image-5mwyragx.js} +25 -25
- package/dist/chunks/{git-wejqvva8.js → image-5n1tag38.js} +16 -16
- package/dist/chunks/{git-cdbm2jpq.js → image-5rt7nyka.js} +13 -13
- package/dist/chunks/{git-rymrqawx.js → image-5sea6wyy.js} +89 -89
- package/dist/chunks/{git-5t3nmthw.js → image-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-wb6nw9s2.js → image-61pe7ftv.js} +7 -7
- package/dist/chunks/{git-669tq793.js → image-669tq793.js} +1 -1
- package/dist/chunks/{git-74b6haq2.js → image-685zzjpb.js} +33 -33
- package/dist/chunks/{git-1ns81jp7.js → image-6ae436se.js} +20 -20
- package/dist/chunks/{git-x6h9vts0.js → image-6dh17h6r.js} +5 -5
- package/dist/chunks/{git-9nxfh24q.js → image-6kyk1s1d.js} +16 -16
- package/dist/chunks/{git-6msgmcgs.js → image-6msgmcgs.js} +1 -1
- package/dist/chunks/{git-23mw9n3k.js → image-6phjk5y4.js} +41 -41
- package/dist/chunks/{git-6ybsm94g.js → image-6q20z57g.js} +16 -16
- package/dist/chunks/{git-7vr3dmr2.js → image-6xrxpe8b.js} +13 -13
- package/dist/chunks/{git-w2xq192h.js → image-6z0kz2ac.js} +16 -16
- package/dist/chunks/{git-2nwjcwjm.js → image-740h8prc.js} +32 -32
- package/dist/chunks/{git-63nbkngr.js → image-7422bz05.js} +24 -24
- package/dist/chunks/{git-ggjkqpcf.js → image-78pdypyy.js} +15 -15
- package/dist/chunks/{git-1p4vxbgh.js → image-799r1xjp.js} +5 -5
- package/dist/chunks/{git-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-jk15xws4.js → image-7bpxshnk.js} +11 -11
- package/dist/chunks/{git-8cyahtjd.js → image-7j5hs8df.js} +4 -4
- package/dist/chunks/{git-d3vp4tvv.js → image-7qky9ae7.js} +47 -47
- package/dist/chunks/{git-bpjsqt6w.js → image-7v72e2sa.js} +15 -15
- package/dist/chunks/{git-ntazb8er.js → image-7yjzmpmm.js} +10 -10
- package/dist/chunks/{git-mq533pjk.js → image-86erpfar.js} +23 -23
- package/dist/chunks/{git-x039wt3r.js → image-8ads4nte.js} +29 -29
- package/dist/chunks/{git-6e6g2mqd.js → image-8arcc1g8.js} +3 -3
- package/dist/chunks/{git-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-ntf7ng8w.js → image-8mp5am81.js} +12 -12
- package/dist/chunks/{git-5s1mhvj6.js → image-8tpzrn2j.js} +14 -14
- package/dist/chunks/{git-tw48jm20.js → image-8vzkmd2j.js} +27 -27
- package/dist/chunks/{git-wwxvw6cz.js → image-8x7kb0dp.js} +26 -26
- package/dist/chunks/{git-p0j3v3px.js → image-9ajz18mq.js} +18 -18
- package/dist/chunks/{git-2aet7wja.js → image-9c3np669.js} +8 -8
- package/dist/chunks/{git-b8wnyzx7.js → image-9espvn2j.js} +44 -44
- package/dist/chunks/{git-v2fn5cje.js → image-9gda8h3b.js} +4 -4
- package/dist/chunks/{git-rprjdt61.js → image-9gnetxtg.js} +2 -2
- package/dist/chunks/{git-r40wg4tq.js → image-9n5m0pzr.js} +35 -35
- package/dist/chunks/{git-v2fywz06.js → image-9q6mkjsj.js} +14 -14
- package/dist/chunks/{git-vrqxrqyx.js → image-9qda3fsd.js} +9 -9
- package/dist/chunks/{git-q2k0k7gp.js → image-9qtp6n1k.js} +29 -29
- package/dist/chunks/{git-nhny46wm.js → image-a2ffvnhx.js} +17 -17
- package/dist/chunks/{git-5hx7d1d6.js → image-a694798e.js} +5 -5
- package/dist/chunks/{git-aaet6srn.js → image-aaet6srn.js} +2 -2
- package/dist/chunks/{git-hfdr1yjj.js → image-ae01ggp0.js} +4 -4
- package/dist/chunks/{git-0vrxxr1a.js → image-ajznkaye.js} +34 -34
- package/dist/chunks/{git-yxssrz9b.js → image-aszzyynm.js} +11 -11
- package/dist/chunks/{git-b6gygkdw.js → image-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-z1cbmdk8.js → image-b8hzf7nw.js} +8 -8
- package/dist/chunks/{git-xd2eepn7.js → image-bbvn5bpq.js} +23 -23
- package/dist/chunks/{git-p402qtyx.js → image-bejcrqds.js} +17 -17
- package/dist/chunks/{git-0e4jjwrw.js → image-bjdzf017.js} +24 -24
- package/dist/chunks/{git-g1sxm558.js → image-bjmt3h04.js} +8 -8
- package/dist/chunks/{git-pce1006a.js → image-c3wa40ms.js} +21 -21
- package/dist/chunks/{git-g6kej4xb.js → image-c4056kjb.js} +15 -15
- package/dist/chunks/{git-16y6wkws.js → image-c60yd45z.js} +11 -11
- package/dist/chunks/{git-8fsvhpfh.js → image-cke3a6ft.js} +8 -8
- package/dist/chunks/{git-czfptnv9.js → image-cmwkp3r5.js} +6 -6
- package/dist/chunks/{git-c49neaws.js → image-cr5e6c9v.js} +49 -49
- package/dist/chunks/{git-r2m716tb.js → image-cwa6csj7.js} +9 -9
- package/dist/chunks/{git-2bxa57sj.js → image-d090tx9v.js} +17 -17
- package/dist/chunks/{git-ftt4q9pv.js → image-d5y0ycpw.js} +10 -10
- package/dist/chunks/{git-618b53ja.js → image-d8hn99j1.js} +20 -20
- package/dist/chunks/{git-drmrsq1a.js → image-da8am2av.js} +22 -22
- package/dist/chunks/{git-84rbdpxz.js → image-decnw00n.js} +327 -327
- package/dist/chunks/{git-vw95j725.js → image-df03p2qx.js} +27 -27
- package/dist/chunks/{git-8p4f9s12.js → image-dj2t23y0.js} +2 -2
- package/dist/chunks/{git-78v47nsk.js → image-dj9sq318.js} +5 -5
- package/dist/chunks/{git-pecsbykn.js → image-djazf891.js} +20 -20
- package/dist/chunks/{git-zm1kgnct.js → image-dk1nkhy9.js} +28 -28
- package/dist/chunks/{git-w072qfac.js → image-dp32qy3n.js} +27 -27
- package/dist/chunks/{git-4r2mk5j3.js → image-dv747h8f.js} +18 -18
- package/dist/chunks/{git-bm3dpr67.js → image-e5feqydn.js} +4 -4
- package/dist/chunks/{git-1e3e3vry.js → image-e83b4wjw.js} +9 -9
- package/dist/chunks/{git-s7fy4fw9.js → image-e8ymqar5.js} +74 -74
- package/dist/chunks/{git-vhzwz6jw.js → image-ea64kw3d.js} +17 -17
- package/dist/chunks/{git-s8d7rejh.js → image-eaj1djv9.js} +6 -6
- package/dist/chunks/{git-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-erw5rpbs.js → image-erw5rpbs.js} +2 -2
- package/dist/chunks/{git-tafcm9s2.js → image-erxttzdb.js} +11 -11
- package/dist/chunks/{git-krbhq476.js → image-etbrhcmb.js} +50 -50
- package/dist/chunks/{git-etq0c3wd.js → image-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-zr3s38d1.js → image-exftq8yt.js} +14 -14
- package/dist/chunks/{git-ehsj7wt5.js → image-f81z5vps.js} +15 -15
- package/dist/chunks/{git-wajqq34j.js → image-ffg0s7y6.js} +33 -33
- package/dist/chunks/{git-yc72r6y6.js → image-fkj783w2.js} +28 -28
- package/dist/chunks/{git-5hv86fpb.js → image-fvgnskq7.js} +12 -12
- package/dist/chunks/{git-fxbjtjnd.js → image-fxbjtjnd.js} +1 -1
- package/dist/chunks/{git-hka040n9.js → image-g2dvk4e7.js} +17 -17
- package/dist/chunks/{git-c6z42dag.js → image-gby52dfb.js} +31 -31
- package/dist/chunks/{git-gqft2nrr.js → image-gcaewnb3.js} +6 -6
- package/dist/chunks/{git-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-yjptyezs.js → image-gg7pg1rj.js} +5 -5
- package/dist/chunks/{git-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
- package/dist/chunks/{git-5y69b4r6.js → image-gz8ekwtz.js} +11 -11
- package/dist/chunks/{git-17peyqa8.js → image-h2mxsdb2.js} +25 -25
- package/dist/chunks/{git-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-z3t6faa9.js → image-h868bt0t.js} +11 -11
- package/dist/chunks/{git-dkgfs7qs.js → image-hare45ya.js} +43 -43
- package/dist/chunks/{git-f828m53h.js → image-hdnk95c8.js} +2 -2
- package/dist/chunks/{git-sqsnjckg.js → image-her9e4hr.js} +11 -11
- package/dist/chunks/{git-zxv2zsm9.js → image-hhw8xstx.js} +9 -9
- package/dist/chunks/{git-7parea5t.js → image-hwxt3g9r.js} +36 -36
- package/dist/chunks/{git-j56e64zr.js → image-j56e64zr.js} +1 -1
- package/dist/chunks/{git-q288btcx.js → image-j59qwfbj.js} +38 -38
- package/dist/chunks/{git-a3r4dcrj.js → image-j699j8bt.js} +2 -2
- package/dist/chunks/{git-6jqkynh6.js → image-j7t2khjb.js} +14 -14
- package/dist/chunks/{git-pmr4s4kc.js → image-j83byb14.js} +4 -4
- package/dist/chunks/{git-9gz4yvws.js → image-jdnp2mh3.js} +4 -4
- package/dist/chunks/{git-sx705cz4.js → image-jdxnr9v5.js} +16 -16
- package/dist/chunks/{git-7qfnj7bd.js → image-jf3nzqf4.js} +9 -9
- package/dist/chunks/{git-ras1ee3t.js → image-jgts6fy0.js} +3 -3
- package/dist/chunks/{git-kczjb4tf.js → image-jp0sq0c2.js} +20 -20
- package/dist/chunks/{git-8xy4ymhm.js → image-jvgf4mts.js} +43 -43
- package/dist/chunks/{git-k3c624dm.js → image-k3c624dm.js} +3 -3
- package/dist/chunks/{git-fa0xf0qg.js → image-k4msv9rg.js} +25 -25
- package/dist/chunks/{git-fzgke8tr.js → image-kfaxk64y.js} +11 -11
- package/dist/chunks/{git-4wja9c2w.js → image-kqcs6dfg.js} +10 -10
- package/dist/chunks/{git-f5yy2vv1.js → image-kwwk4ft6.js} +9 -9
- package/dist/chunks/{git-pv119cyc.js → image-kxb46qvg.js} +9 -9
- package/dist/chunks/{git-r04dhbzm.js → image-kxjbraxt.js} +22 -22
- package/dist/chunks/{git-pf4sg1bc.js → image-m0bs8e2g.js} +54 -54
- package/dist/chunks/{git-cfpkc3c9.js → image-m0jqrx5p.js} +2 -2
- package/dist/chunks/{git-rhafb4aa.js → image-m2d0j7c0.js} +8 -8
- package/dist/chunks/{git-m3fdjcah.js → image-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-2689451z.js → image-m4ywmv3t.js} +4 -4
- package/dist/chunks/{git-brvw573r.js → image-m7x6mvdf.js} +10 -10
- package/dist/chunks/{git-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-sez5jh81.js → image-magykp64.js} +4 -4
- package/dist/chunks/{git-j028xdjb.js → image-mhkvc446.js} +3 -3
- package/dist/chunks/{git-5c0f1prt.js → image-msq0jde0.js} +4 -4
- package/dist/chunks/{git-jpd36d6c.js → image-n0bnpkq1.js} +15 -15
- package/dist/chunks/{git-wzg7zq6j.js → image-ndqtf2h8.js} +9 -9
- package/dist/chunks/{git-6sxa5bvt.js → image-nesvm5v2.js} +20 -20
- package/dist/chunks/{git-yjpwaj2n.js → image-njc7fd3x.js} +24 -24
- package/dist/chunks/{git-672beszh.js → image-nnjacqg1.js} +3 -3
- package/dist/chunks/{git-5scqd8ad.js → image-npx37cxs.js} +28 -28
- package/dist/chunks/{git-xkc5gz1n.js → image-nxxwwkwy.js} +11 -11
- package/dist/chunks/image-p1y881a7.js +26 -0
- package/dist/chunks/{git-tbz0fdvh.js → image-p28j5sbe.js} +5 -5
- package/dist/chunks/{git-ebc9nwad.js → image-p2f06z72.js} +11 -11
- package/dist/chunks/{git-mp3jt1vp.js → image-p4wnq9w8.js} +18 -18
- package/dist/chunks/{git-eyqq4r43.js → image-pb1eahw5.js} +8 -8
- package/dist/chunks/{git-p44d8wdy.js → image-pecb0brz.js} +5 -5
- package/dist/chunks/{git-3ewed21c.js → image-ph842b28.js} +4 -4
- package/dist/chunks/{git-jf362r72.js → image-phnm1pec.js} +3 -3
- package/dist/chunks/{git-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-jexxy024.js → image-pk2244jm.js} +3 -3
- package/dist/chunks/{git-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{git-zhq6vg7a.js → image-pstg3rfm.js} +1 -1
- package/dist/chunks/{git-sxpyths9.js → image-q27m98z5.js} +3 -3
- package/dist/chunks/{git-858mqmds.js → image-q818k922.js} +8 -8
- package/dist/chunks/{git-x2d9qy7d.js → image-qdbakdjh.js} +5 -5
- package/dist/chunks/{git-0jwsre1p.js → image-qgn6gcr1.js} +5 -5
- package/dist/chunks/{git-6dt9rsqm.js → image-qkb9ksse.js} +27 -27
- package/dist/chunks/{git-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{git-64af36b2.js → image-qx38d0n5.js} +11 -11
- package/dist/chunks/{git-njs7e820.js → image-r2d10xbt.js} +41 -41
- package/dist/chunks/{git-6j8cvwa1.js → image-r9232fht.js} +25 -25
- package/dist/chunks/image-rap9a73h.js +18 -0
- package/dist/chunks/{git-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-8erct5rq.js → image-remj23m8.js} +5 -5
- package/dist/chunks/{git-gjcbrjt5.js → image-rfxgs9t3.js} +1 -1
- package/dist/chunks/{git-kh9xs558.js → image-rk8wmvgg.js} +9 -9
- package/dist/chunks/{git-afdssyjb.js → image-rpg9c19m.js} +4 -4
- package/dist/chunks/{git-j63fa09p.js → image-rpp1r6qa.js} +53 -53
- package/dist/chunks/{git-9zajbvzp.js → image-rv5rhnwn.js} +6 -6
- package/dist/chunks/{git-2mcg4gas.js → image-rwp78atz.js} +6 -6
- package/dist/chunks/{git-zyyrtepr.js → image-s7zd2jzd.js} +26 -26
- package/dist/chunks/{git-1rh4yqvv.js → image-s93dsjvp.js} +9 -9
- package/dist/chunks/{git-ybhbtxjg.js → image-sc186k9x.js} +6 -6
- package/dist/chunks/{git-te19744a.js → image-sqp8kdc3.js} +17 -17
- package/dist/chunks/{git-0xs9q83d.js → image-ss3mtxdg.js} +4 -4
- package/dist/chunks/{git-tkmwgdpd.js → image-sxz6gkc3.js} +4 -4
- package/dist/chunks/{git-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-6gykz65j.js → image-tb7b58hr.js} +5 -5
- package/dist/chunks/{git-p2s4r87m.js → image-tc4mawtk.js} +3 -3
- package/dist/chunks/{git-89znhe33.js → image-tcezcvh9.js} +4 -4
- package/dist/chunks/{git-j8xg6mrm.js → image-tdfwg5cp.js} +45 -45
- package/dist/chunks/{git-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{git-er6g6738.js → image-thrv2w6y.js} +5 -5
- package/dist/chunks/{git-by82rxdc.js → image-tkt8k2an.js} +23 -23
- package/dist/chunks/{git-xffg26zj.js → image-tst491ea.js} +10 -10
- package/dist/chunks/{git-zbxcgkb3.js → image-tvqm6ts3.js} +18 -18
- package/dist/chunks/{git-tvtrv512.js → image-tvtrv512.js} +1 -1
- package/dist/chunks/{git-x5cyaybx.js → image-tvzewt7x.js} +5 -5
- package/dist/chunks/{git-zh4jz90y.js → image-v0a3n2n2.js} +34 -34
- package/dist/chunks/{git-y0fr9ak9.js → image-v0cj4jgk.js} +95 -95
- package/dist/chunks/{git-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{git-nc19f9d4.js → image-vevjmzcs.js} +22 -22
- package/dist/chunks/{git-vzcthcp8.js → image-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-0ft9cg2j.js → image-w4arg62q.js} +4 -4
- package/dist/chunks/{git-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{git-c42wgx82.js → image-wnt6v6p0.js} +33 -33
- package/dist/chunks/{git-h2aa9ksg.js → image-wsw7wh6v.js} +44 -44
- package/dist/chunks/{git-ym0qxjj8.js → image-wv1a429p.js} +8 -8
- package/dist/chunks/{git-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-xgrh65hf.js → image-x1yv39pn.js} +183 -183
- package/dist/chunks/{git-pkn2k75h.js → image-x3mn157g.js} +4 -4
- package/dist/chunks/{git-drwq78ky.js → image-xfkkasph.js} +4 -4
- package/dist/chunks/image-xjfpeq55.js +65 -0
- package/dist/chunks/{git-1pp06av9.js → image-xynqawvq.js} +29 -29
- package/dist/chunks/{git-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-8e1b1gzh.js → image-y38ja4bc.js} +6 -6
- package/dist/chunks/{git-4vxbjmaf.js → image-y5ks5t0g.js} +24 -24
- package/dist/chunks/{git-y71avatq.js → image-y71avatq.js} +1 -1
- package/dist/chunks/{git-vayd41fe.js → image-y79k1xra.js} +33 -33
- package/dist/chunks/{git-1hyh35hc.js → image-ybeakdkx.js} +18 -18
- package/dist/chunks/{git-ar15xcmb.js → image-ycnbsp3j.js} +8 -8
- package/dist/chunks/{git-tjfg9936.js → image-ye2ymfh9.js} +6 -6
- package/dist/chunks/{git-fpq9acqp.js → image-yf4jcbx9.js} +6 -6
- package/dist/chunks/{git-bqcxmntf.js → image-yk94a6e0.js} +12 -12
- package/dist/chunks/{git-r8xr0va3.js → image-yp2x3t23.js} +4 -4
- package/dist/chunks/{git-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-yrznvahk.js → image-yrznvahk.js} +2 -2
- package/dist/chunks/{git-43zf1p2c.js → image-ytqj6kad.js} +5 -5
- package/dist/chunks/{git-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-6yv4qapz.js → image-z0eq1mse.js} +11 -11
- package/dist/chunks/{git-7z7fdcae.js → image-z3ct0j69.js} +24 -24
- package/dist/chunks/{git-z63w68vq.js → image-z63w68vq.js} +2 -2
- package/dist/chunks/{git-zeh9ct20.js → image-zeh9ct20.js} +2 -2
- package/dist/chunks/{git-vf09fb5w.js → image-zgfzjsp4.js} +21 -21
- package/dist/chunks/{git-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-zxq2ej10.js → image-zxq2ej10.js} +1 -1
- 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 +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- 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 +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/git-53q3ad7v.js +0 -252
- package/dist/chunks/git-9a3eyg4n.js +0 -26
- package/dist/chunks/git-q509s3k3.js +0 -18
- package/dist/chunks/git-ygkrcpmw.js +0 -65
- /package/dist/chunks/{git-0mesazry.js → image-0mesazry.js} +0 -0
- /package/dist/chunks/{git-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → image-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-922hggd3.js → image-922hggd3.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → image-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-twg0f83k.js → image-twg0f83k.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → image-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./image-yk94a6e0.js";
|
|
5
|
+
import {
|
|
6
|
+
Service72,
|
|
7
|
+
node74
|
|
8
|
+
} from "./image-8vzkmd2j.js";
|
|
9
|
+
import {
|
|
10
|
+
Ref4,
|
|
11
|
+
Service78,
|
|
12
|
+
node82
|
|
13
|
+
} from "./image-bejcrqds.js";
|
|
14
|
+
import {
|
|
15
|
+
Service58,
|
|
16
|
+
node60
|
|
17
|
+
} from "./image-rpp1r6qa.js";
|
|
18
|
+
import {
|
|
19
|
+
Service19,
|
|
20
|
+
node22
|
|
21
|
+
} from "./image-0r3xy393.js";
|
|
22
|
+
import {
|
|
23
|
+
__export
|
|
24
|
+
} from "./image-9rqn6x4v.js";
|
|
25
|
+
|
|
26
|
+
// src/location-lifecycle.ts
|
|
27
|
+
var exports_location_lifecycle = {};
|
|
28
|
+
__export(exports_location_lifecycle, {
|
|
29
|
+
LocationLifecycle: () => exports_location_lifecycle,
|
|
30
|
+
Service: () => Service15,
|
|
31
|
+
node: () => node17
|
|
32
|
+
});
|
|
33
|
+
import { Context, Effect, Layer } from "effect";
|
|
34
|
+
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
|
+
import { LocationEvent } from "@opencode/schema/location-event";
|
|
36
|
+
class Service15 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
37
|
+
}
|
|
38
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
39
|
+
const bus = yield* Service82;
|
|
40
|
+
const location = yield* Service78;
|
|
41
|
+
const permission = yield* Service58;
|
|
42
|
+
const forms = yield* Service72;
|
|
43
|
+
const rpc = yield* Service19;
|
|
44
|
+
let closed = false;
|
|
45
|
+
const shutdown = yield* Effect.cached(Effect.gen(function* () {
|
|
46
|
+
closed = true;
|
|
47
|
+
yield* permission.close;
|
|
48
|
+
yield* forms.close;
|
|
49
|
+
yield* rpc.close;
|
|
50
|
+
yield* bus.publish(LocationEvent.Shutdown, {}, {
|
|
51
|
+
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
52
|
+
});
|
|
53
|
+
}).pipe(Effect.uninterruptible));
|
|
54
|
+
return Service15.of({
|
|
55
|
+
isClosed: () => closed,
|
|
56
|
+
shutdown
|
|
57
|
+
});
|
|
58
|
+
}));
|
|
59
|
+
var node17 = makeLocationNode({
|
|
60
|
+
service: Service15,
|
|
61
|
+
layer,
|
|
62
|
+
deps: [node86, node82, node60, node74, node22]
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
export { Service15, node17, exports_location_lifecycle };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./image-yk94a6e0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./image-bejcrqds.js";
|
|
9
9
|
import {
|
|
10
10
|
ID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service50,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node53
|
|
16
|
+
} from "./image-ea64kw3d.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./image-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
30
|
Info: () => Info2,
|
|
31
|
-
NotFoundError: () =>
|
|
31
|
+
NotFoundError: () => NotFoundError3,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service16,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node18
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
@@ -45,7 +45,7 @@ var Info2 = Pty.Info;
|
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
49
|
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service16 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service82;
|
|
62
|
+
const location = yield* Service78;
|
|
63
|
+
const shell = yield* Service50;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service16.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node18 = makeLocationNode({
|
|
274
|
+
service: Service16,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node86, node82, node53]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export { Info2, CreateInput2, UpdateInput2,
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service16, node18, exports_pty, Event3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-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: () => make20,
|
|
14
|
+
node: () => node81,
|
|
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 make20 = (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 node81 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node81, exports_driver };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./image-8vzkmd2j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./image-rpp1r6qa.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service22
|
|
14
|
+
} from "./image-3e2sbbgt.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input11,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin47,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name11
|
|
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 name11 = "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 Input11 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin47 = {
|
|
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* Service58;
|
|
53
|
+
const forms = yield* Service72;
|
|
54
|
+
const websearch = yield* Service22;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name11,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input11,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name11,
|
|
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[name11];
|
|
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 { name11, NO_RESULTS2, description4, Input11, Plugin47, exports_websearch2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-8arcc1g8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./image-yk94a6e0.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service73,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node75
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service73 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service73.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node75 = makeGlobalNode({ service: Service73, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key3, Value2, Event19, Info30, Service73, node75, exports_credential };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./image-bejcrqds.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Formatter: () =>
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
13
|
+
var exports_formatter2 = {};
|
|
14
|
+
__export(exports_formatter2, {
|
|
15
|
+
Formatter: () => exports_formatter2,
|
|
16
|
+
Service: () => Service23,
|
|
17
|
+
node: () => node26
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service23 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service78;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service23.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node26 = makeLocationNode({
|
|
91
|
+
service: Service23,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node82, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service23, node26, exports_formatter2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service43
|
|
4
|
+
} from "./image-cr5e6c9v.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin26
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin26 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service43;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin14 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin26, exports_websearch };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./image-wnt6v6p0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./image-cr5e6c9v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service70;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service43);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-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: () => Service54,
|
|
10
|
+
node: () => node56
|
|
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 Service54 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node56 = LayerNode.unbound(Service54, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service54, node56, exports_service2 };
|