@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,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./image-cr5e6c9v.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service76
|
|
13
|
+
} from "./image-njc7fd3x.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service56
|
|
16
|
+
} from "./image-d090tx9v.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service58
|
|
19
|
+
} from "./image-rpp1r6qa.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service25,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./image-9ajz18mq.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./image-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service50,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./image-ea64kw3d.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service41
|
|
37
|
+
} from "./image-etbrhcmb.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service28
|
|
40
|
+
} from "./image-v0cj4jgk.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./image-jdnp2mh3.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./image-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin38,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name3 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input3 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin38 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service28;
|
|
122
|
+
const jobs = yield* Service56;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service76;
|
|
125
|
+
const access = yield* Service25;
|
|
126
|
+
const shell = yield* Service41;
|
|
127
|
+
const shellSelect = yield* Service50;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service58;
|
|
130
|
+
const config = yield* Service43;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin24 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name3,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin24 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name3,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input3,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin24 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name3,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name3];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin38, exports_shell2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-h868bt0t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./image-yk94a6e0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./image-y79k1xra.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-ajznkaye.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID12
|
|
20
|
+
} from "./image-wnt6v6p0.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./image-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./image-ye2ymfh9.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service82;
|
|
49
49
|
const tokens = new Map;
|
|
50
50
|
const loading = Semaphore.makeUnsafe(1);
|
|
51
51
|
const loaded = {};
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID12.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID12.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID12.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID12.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID12.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID12.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./image-cr5e6c9v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./image-s93dsjvp.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin32
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin32 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service43;
|
|
26
|
+
const image = yield* Service66;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin15 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin32, exports_image };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-8arcc1g8.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service57,
|
|
17
|
+
node: () => node59
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service57 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service83).db;
|
|
26
|
-
return
|
|
26
|
+
return Service57.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node59 = makeGlobalNode({ service: Service57, layer, deps: [node87] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service57, node59, exports_kv };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./image-yf4jcbx9.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-rap9a73h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./image-etbrhcmb.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service54;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./image-yf4jcbx9.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-rap9a73h.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-sc186k9x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./image-6ae436se.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service54;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event8,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service44,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer18,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node47,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event8 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service44 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service44.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service44.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service44).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service44, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service44, layer: layer18(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node47 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event8, hasNativeBinding2, Native3, Options8, Service44, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured7, node47, exports_watcher };
|