@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./image-yk94a6e0.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event18,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID14,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service72,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node74,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event18 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID14 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID14
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID14
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID14
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID14,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service72 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer23 = Layer.effect(Service72, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service82;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID14.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service72.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node74 = makeLocationNode({ service: Service72, layer: layer23, deps: [node86] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID14, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service72, layer23, node74, validateAnswer2, validateFields2, exports_form, Event18 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./image-rpp1r6qa.js";
|
|
4
4
|
import {
|
|
5
5
|
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service49
|
|
10
|
+
} from "./image-6ae436se.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input12,
|
|
19
|
+
Output: () => Output8,
|
|
20
|
+
Plugin: () => Plugin48,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description5,
|
|
23
|
+
name: () => name12,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name12 = "skill";
|
|
30
|
+
var Input12 = Schema.Struct({
|
|
31
31
|
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output8 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description5 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin48 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service49;
|
|
51
|
+
const permission = yield* Service58;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name12,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description5,
|
|
56
|
+
input: Input12,
|
|
57
|
+
output: Output8,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name12,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin23 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name12, Input12, Output8, description5, toModelOutput2, Plugin48, exports_skill3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9espvn2j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./image-bejcrqds.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service58,
|
|
13
|
+
node60
|
|
14
|
+
} from "./image-rpp1r6qa.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service25,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node28,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service25 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service78;
|
|
61
|
+
const permission = yield* Service58;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service25.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node28 = makeLocationNode({ service: Service25, layer, deps: [FSUtil.node, node82, node60] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service25, resolvePath2, node28, exports_file_access };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service42,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node45
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service42 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service42, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service42.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service30, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node45 = makeGlobalNode({ service: Service42, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service42, node45, exports_environment };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-8arcc1g8.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node86
|
|
11
|
+
} from "./image-yk94a6e0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service80,
|
|
14
|
+
node84
|
|
15
|
+
} from "./image-4y72ap3v.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info34,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./image-0ke265bw.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./image-dj2t23y0.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./image-m0jqrx5p.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./image-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info33,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service79,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node83,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info33 = Info34;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service79 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,11 +93,11 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service80;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
100
|
+
const bus = yield* Service82;
|
|
101
101
|
const db = (yield* Service83).db;
|
|
102
102
|
const announcing = new Set;
|
|
103
103
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID17.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event20.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID17.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID17.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID17.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID17.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service79.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node83 = makeGlobalNode({
|
|
276
|
+
service: Service79,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node86, node87, FSUtil.node, node84, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-h868bt0t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID12
|
|
6
|
+
} from "./image-wnt6v6p0.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID12.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-61pe7ftv.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|