@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
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin17,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin17 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin17, exports_tool_input_repair };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options7,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options7 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options7, Spec2, exports_plugin3 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./image-yk94a6e0.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service46,
|
|
17
|
+
node49
|
|
18
|
+
} from "./image-nesvm5v2.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./image-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./image-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event9,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info17,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service45,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node48
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event9 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info17 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service45 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service82;
|
|
53
|
+
const cache = yield* Service46;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info17.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info17.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node48 = makeLocationNode({
|
|
116
|
+
service: Service45,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node86, node49]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info17, Service45, node48, exports_reference2, Event9 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID10,
|
|
6
|
+
Service62
|
|
7
|
+
} from "./image-5mwyragx.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-pk2244jm.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-sc186k9x.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service62;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID10.make(from),
|
|
91
|
+
to: ID10.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,59 +1,59 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service56,
|
|
11
|
+
node58
|
|
12
|
+
} from "./image-d090tx9v.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service54,
|
|
15
|
+
node56
|
|
16
|
+
} from "./image-yf4jcbx9.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./image-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service52
|
|
26
|
+
} from "./image-rpg9c19m.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./image-sc186k9x.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service60,
|
|
32
|
+
node62
|
|
33
|
+
} from "./image-fvgnskq7.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./image-m4ywmv3t.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./image-86erpfar.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./image-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service51,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer19,
|
|
50
|
+
node: () => node54,
|
|
51
|
+
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service51 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
68
|
+
var layer19 = Layer.effect(Service51, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service60;
|
|
70
|
+
const instances = yield* Service54;
|
|
71
|
+
const bus = yield* Service82;
|
|
72
|
+
const jobs = yield* Service56;
|
|
73
73
|
const db = (yield* Service83).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,14 +82,14 @@ var layer21 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service52.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make16({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer21 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service51.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer21 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node54 = makeGlobalNode({
|
|
133
|
+
service: Service51,
|
|
134
|
+
layer: layer19,
|
|
135
|
+
deps: [node62, node56, node86, node87, node58]
|
|
136
136
|
});
|
|
137
|
-
var
|
|
137
|
+
var noopLayer2 = Layer.succeed(Service51, Service51.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service57, Service57.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service51, terminal2, layer19, node54, noopLayer2, exports_execution };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service67,
|
|
6
|
+
node69
|
|
7
|
+
} from "./image-wsw7wh6v.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service20,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer10,
|
|
20
|
+
node: () => node23
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service20 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer10 = Layer.effect(Service20, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service67;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer23 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service20.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node23 = makeLocationNode({
|
|
69
|
+
service: Service20,
|
|
70
|
+
layer: layer10,
|
|
71
|
+
deps: [node69, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError2, Service20, layer10, node23, exports_generate };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service33,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service33 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service33.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service33, awaitActivation2, exports_service };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-rpp1r6qa.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin16
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin16 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin16, exports_plan };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./image-bejcrqds.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-tkt8k2an.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin3 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service78;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin3, exports_hg };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service52,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service52 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service52, exports_runner };
|