@opencode/core 0.0.0-dev-19894 → 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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/chunks/{location-lifecycle-hwvyndb6.js → image-036p5t1s.js} +4 -4
- package/dist/chunks/{location-lifecycle-zex37ywk.js → image-05xfxpq7.js} +5 -5
- package/dist/chunks/{location-lifecycle-zm4vrf7k.js → image-096mz8kq.js} +3 -3
- package/dist/chunks/{location-lifecycle-0jq9fyba.js → image-0996nyz8.js} +9 -9
- package/dist/chunks/{location-lifecycle-tzbte7z6.js → image-0k7zad8a.js} +12 -12
- package/dist/chunks/{location-lifecycle-atcatw0c.js → image-0ke265bw.js} +9 -9
- package/dist/chunks/{location-lifecycle-azbd23ze.js → image-0m3w2t1r.js} +11 -11
- package/dist/chunks/image-0mesazry.js +4 -0
- package/dist/chunks/{location-lifecycle-0paq2nw3.js → image-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-lifecycle-0q0f95c6.js → image-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-lifecycle-7hvhjnef.js → image-0r3xy393.js} +20 -20
- package/dist/chunks/{location-lifecycle-sntz0pcz.js → image-0tesc0cp.js} +54 -54
- package/dist/chunks/{location-lifecycle-zmv6dkz3.js → image-0zhzd60j.js} +7 -7
- package/dist/chunks/{location-lifecycle-ftp936sg.js → image-125x6jc5.js} +13 -13
- package/dist/chunks/{location-lifecycle-qmxwecnf.js → image-1361eat1.js} +15 -15
- package/dist/chunks/{location-lifecycle-bjc8ma1j.js → image-13x3xvzj.js} +15 -15
- package/dist/chunks/{location-lifecycle-ajcqkwnf.js → image-16tkqbq4.js} +10 -10
- package/dist/chunks/{location-lifecycle-5feghaxz.js → image-17e5z2kv.js} +39 -39
- package/dist/chunks/{location-lifecycle-1dazxqgg.js → image-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-lifecycle-zjbv19xv.js → image-1fvpqx3e.js} +1 -1
- package/dist/chunks/{location-lifecycle-8nfn27r0.js → image-1rj7qwbn.js} +23 -23
- package/dist/chunks/{location-lifecycle-56gdpj1q.js → image-1ygqh575.js} +9 -9
- package/dist/chunks/{location-lifecycle-3gybahgz.js → image-21mwcfey.js} +16 -16
- package/dist/chunks/{location-lifecycle-21r38tys.js → image-21r38tys.js} +1 -1
- package/dist/chunks/{location-lifecycle-8m81rpck.js → image-21xfqssn.js} +29 -29
- package/dist/chunks/{location-lifecycle-cygrf01w.js → image-23gvq6ep.js} +29 -29
- package/dist/chunks/{location-lifecycle-2402vzrj.js → image-2402vzrj.js} +1 -1
- package/dist/chunks/{location-lifecycle-rk5jd2b3.js → image-27q2gfj6.js} +32 -32
- package/dist/chunks/{location-lifecycle-2a5m3afh.js → image-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-lifecycle-21r66r60.js → image-2b1p80hb.js} +32 -32
- package/dist/chunks/{location-lifecycle-0pq4d6yy.js → image-2fg7feb3.js} +10 -10
- package/dist/chunks/{location-lifecycle-4vn8gs9z.js → image-2fqe24zy.js} +10 -10
- package/dist/chunks/{location-lifecycle-1krxbagm.js → image-2gm71543.js} +36 -36
- package/dist/chunks/{location-lifecycle-sa53s2va.js → image-38rmxb2h.js} +8 -8
- package/dist/chunks/{location-lifecycle-jtexvcen.js → image-3e2sbbgt.js} +25 -25
- package/dist/chunks/{location-lifecycle-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-lifecycle-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-lifecycle-0b2jrrme.js → image-3v2q00bj.js} +13 -13
- package/dist/chunks/{location-lifecycle-h6jr292a.js → image-3ythc6yv.js} +4 -4
- package/dist/chunks/{location-lifecycle-0ct2ft9s.js → image-43365wyy.js} +26 -26
- package/dist/chunks/{location-lifecycle-fkjmw100.js → image-44ke2mar.js} +6 -6
- package/dist/chunks/{location-lifecycle-5mtzsd3b.js → image-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-lifecycle-k9bmr3a1.js → image-4en9k6ag.js} +18 -18
- package/dist/chunks/{location-lifecycle-2c293f3h.js → image-4r4gs5bv.js} +8 -8
- package/dist/chunks/{location-lifecycle-6q7a50ek.js → image-4y72ap3v.js} +12 -12
- package/dist/chunks/{location-lifecycle-em2jr9mj.js → image-4z1052x1.js} +13 -13
- package/dist/chunks/{location-lifecycle-m6q5faa9.js → image-4zxrr8c3.js} +11 -11
- package/dist/chunks/image-511hynh8.js +252 -0
- package/dist/chunks/{location-lifecycle-m549exyf.js → image-53md4s8b.js} +12 -12
- package/dist/chunks/{location-lifecycle-hb1m031k.js → image-5bds7g24.js} +37 -37
- package/dist/chunks/{location-lifecycle-a1bz86dw.js → image-5c4hm403.js} +3 -3
- package/dist/chunks/{location-lifecycle-1m851fz5.js → image-5cyh5ysx.js} +15 -15
- package/dist/chunks/{location-lifecycle-5daktx2q.js → image-5daktx2q.js} +1 -1
- package/dist/chunks/{location-lifecycle-k2nq7ztr.js → image-5fkza10m.js} +11 -11
- package/dist/chunks/{location-lifecycle-qnz5ymak.js → image-5mwyragx.js} +32 -32
- package/dist/chunks/{location-lifecycle-9a30k7dn.js → image-5n1tag38.js} +14 -14
- package/dist/chunks/{location-lifecycle-5n6s9hm6.js → image-5rt7nyka.js} +13 -13
- package/dist/chunks/{location-lifecycle-g3xf870q.js → image-5sea6wyy.js} +89 -89
- package/dist/chunks/{location-lifecycle-5t3nmthw.js → image-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-lifecycle-crahewxf.js → image-61pe7ftv.js} +7 -7
- package/dist/chunks/{location-lifecycle-669tq793.js → image-669tq793.js} +1 -1
- package/dist/chunks/{location-lifecycle-0g5kjbpy.js → image-685zzjpb.js} +33 -33
- package/dist/chunks/{location-lifecycle-dqdee38h.js → image-6ae436se.js} +22 -22
- package/dist/chunks/{location-lifecycle-hh5sdbys.js → image-6dh17h6r.js} +5 -5
- package/dist/chunks/{location-lifecycle-9vjfyag7.js → image-6kyk1s1d.js} +19 -19
- package/dist/chunks/{location-lifecycle-6msgmcgs.js → image-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-lifecycle-7j8v41s3.js → image-6phjk5y4.js} +38 -38
- package/dist/chunks/{location-lifecycle-kd541efj.js → image-6q20z57g.js} +12 -12
- package/dist/chunks/{location-lifecycle-5vcjqd34.js → image-6xrxpe8b.js} +13 -13
- package/dist/chunks/{location-lifecycle-h2h79dva.js → image-6z0kz2ac.js} +17 -17
- package/dist/chunks/{location-lifecycle-mh5cgvr5.js → image-740h8prc.js} +32 -32
- package/dist/chunks/{location-lifecycle-600vrq00.js → image-7422bz05.js} +18 -18
- package/dist/chunks/{location-lifecycle-atmhrajx.js → image-78pdypyy.js} +15 -15
- package/dist/chunks/{location-lifecycle-5s2p338g.js → image-799r1xjp.js} +5 -5
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-4rapdxbm.js → image-7bpxshnk.js} +8 -8
- package/dist/chunks/{location-lifecycle-f3r43bhh.js → image-7j5hs8df.js} +4 -4
- package/dist/chunks/{location-lifecycle-ejnxb373.js → image-7qky9ae7.js} +47 -47
- package/dist/chunks/{location-lifecycle-36b1949e.js → image-7v72e2sa.js} +16 -16
- package/dist/chunks/{location-lifecycle-2w3b2ebc.js → image-7yjzmpmm.js} +7 -7
- package/dist/chunks/{location-lifecycle-bcsq46nn.js → image-86erpfar.js} +24 -24
- package/dist/chunks/{location-lifecycle-xse2s150.js → image-8ads4nte.js} +32 -32
- package/dist/chunks/{location-lifecycle-2axye2ft.js → image-8arcc1g8.js} +3 -3
- package/dist/chunks/{location-lifecycle-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-lifecycle-h36cdnfm.js → image-8mp5am81.js} +23 -23
- package/dist/chunks/{location-lifecycle-3cq1aq8e.js → image-8tpzrn2j.js} +14 -14
- package/dist/chunks/{location-lifecycle-1tj20jfk.js → image-8vzkmd2j.js} +24 -24
- package/dist/chunks/{location-lifecycle-gd0h8cq1.js → image-8x7kb0dp.js} +28 -28
- package/dist/chunks/{location-lifecycle-dhc7fjat.js → image-9ajz18mq.js} +18 -18
- package/dist/chunks/{location-lifecycle-8n69n882.js → image-9c3np669.js} +7 -7
- package/dist/chunks/{location-lifecycle-xgw5arqg.js → image-9espvn2j.js} +41 -41
- package/dist/chunks/{location-lifecycle-3vfjkkqt.js → image-9gda8h3b.js} +4 -4
- package/dist/chunks/{location-lifecycle-x27mk1f7.js → image-9gnetxtg.js} +2 -2
- package/dist/chunks/{location-lifecycle-06pedn7m.js → image-9n5m0pzr.js} +28 -28
- package/dist/chunks/{location-lifecycle-pr20cmdv.js → image-9q6mkjsj.js} +11 -11
- package/dist/chunks/{location-lifecycle-es6ymm0f.js → image-9qda3fsd.js} +9 -9
- package/dist/chunks/{location-lifecycle-bfwjxbj5.js → image-9qtp6n1k.js} +26 -26
- package/dist/chunks/{location-lifecycle-1mer2z42.js → image-a2ffvnhx.js} +17 -17
- package/dist/chunks/{location-lifecycle-z2qbjhyn.js → image-a694798e.js} +5 -5
- package/dist/chunks/{location-lifecycle-aaet6srn.js → image-aaet6srn.js} +2 -2
- package/dist/chunks/{location-lifecycle-vkxpz7g2.js → image-ae01ggp0.js} +4 -4
- package/dist/chunks/{location-lifecycle-ggs1y8br.js → image-ajznkaye.js} +31 -31
- package/dist/chunks/{location-lifecycle-bneryqg7.js → image-aszzyynm.js} +11 -11
- package/dist/chunks/{location-lifecycle-b6gygkdw.js → image-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-lifecycle-e5kr9kgh.js → image-b8hzf7nw.js} +8 -8
- package/dist/chunks/{location-lifecycle-1e8jm6ep.js → image-bbvn5bpq.js} +20 -20
- package/dist/chunks/{location-lifecycle-p0bbwx7d.js → image-bejcrqds.js} +17 -17
- package/dist/chunks/{location-lifecycle-6eyfberv.js → image-bjdzf017.js} +19 -19
- package/dist/chunks/{location-lifecycle-428ep8fh.js → image-bjmt3h04.js} +8 -8
- package/dist/chunks/{location-lifecycle-jz8czyh7.js → image-c3wa40ms.js} +21 -21
- package/dist/chunks/{location-lifecycle-ag38rq08.js → image-c4056kjb.js} +14 -14
- package/dist/chunks/{location-lifecycle-t7ac428t.js → image-c60yd45z.js} +11 -11
- package/dist/chunks/{location-lifecycle-3qkj39pp.js → image-cke3a6ft.js} +6 -6
- package/dist/chunks/{location-lifecycle-g0445xdp.js → image-cmwkp3r5.js} +4 -4
- package/dist/chunks/{location-lifecycle-2cfefjf7.js → image-cr5e6c9v.js} +40 -40
- package/dist/chunks/{location-lifecycle-cpneeje0.js → image-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-lifecycle-ssdf6eb6.js → image-d090tx9v.js} +17 -17
- package/dist/chunks/{location-lifecycle-d24axzz0.js → image-d5y0ycpw.js} +10 -10
- package/dist/chunks/{location-lifecycle-14a3xf5h.js → image-d8hn99j1.js} +18 -18
- package/dist/chunks/{location-lifecycle-b7skvr2w.js → image-da8am2av.js} +19 -19
- package/dist/chunks/image-decnw00n.js +492 -0
- package/dist/chunks/{location-lifecycle-e4gx0yxa.js → image-df03p2qx.js} +27 -27
- package/dist/chunks/{location-lifecycle-8p4f9s12.js → image-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-lifecycle-3cfzdc8e.js → image-dj9sq318.js} +5 -5
- package/dist/chunks/{location-lifecycle-begp2na7.js → image-djazf891.js} +20 -20
- package/dist/chunks/{location-lifecycle-fddp59hc.js → image-dk1nkhy9.js} +24 -24
- package/dist/chunks/{location-lifecycle-xdc3mw17.js → image-dp32qy3n.js} +27 -27
- package/dist/chunks/{location-lifecycle-8t7cv3nq.js → image-dv747h8f.js} +20 -20
- package/dist/chunks/{location-lifecycle-6g52q5q2.js → image-e5feqydn.js} +6 -6
- package/dist/chunks/{location-lifecycle-9cy2qm6f.js → image-e83b4wjw.js} +9 -9
- package/dist/chunks/{location-lifecycle-hmpcbkgd.js → image-e8ymqar5.js} +68 -68
- package/dist/chunks/{location-lifecycle-5cgvgbkt.js → image-ea64kw3d.js} +22 -22
- package/dist/chunks/{location-lifecycle-0gdmqesm.js → image-eaj1djv9.js} +8 -8
- package/dist/chunks/{location-lifecycle-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-lifecycle-erw5rpbs.js → image-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-lifecycle-qwyffd8f.js → image-erxttzdb.js} +8 -8
- package/dist/chunks/{location-lifecycle-vs79q017.js → image-etbrhcmb.js} +43 -43
- package/dist/chunks/{location-lifecycle-etq0c3wd.js → image-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-lifecycle-aja1kpp3.js → image-exftq8yt.js} +14 -14
- package/dist/chunks/{location-lifecycle-pbv0yjjw.js → image-f81z5vps.js} +17 -17
- package/dist/chunks/{location-lifecycle-a79avww4.js → image-ffg0s7y6.js} +30 -30
- package/dist/chunks/{location-lifecycle-qxhyk1pg.js → image-fkj783w2.js} +26 -26
- package/dist/chunks/{location-lifecycle-zz4e6p7j.js → image-fvgnskq7.js} +14 -14
- package/dist/chunks/{location-lifecycle-fxbjtjnd.js → image-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-lifecycle-frvteen9.js → image-g2dvk4e7.js} +13 -13
- package/dist/chunks/{location-lifecycle-2q3ccgdz.js → image-gby52dfb.js} +18 -18
- package/dist/chunks/{location-lifecycle-gs88pkvr.js → image-gcaewnb3.js} +6 -6
- package/dist/chunks/{location-lifecycle-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-lifecycle-wbkyxrgf.js → image-gg7pg1rj.js} +5 -5
- package/dist/chunks/{location-lifecycle-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-lifecycle-76782hfa.js → image-gz8ekwtz.js} +11 -11
- package/dist/chunks/{location-lifecycle-2w7gr4k3.js → image-h2mxsdb2.js} +24 -24
- package/dist/chunks/{location-lifecycle-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-lifecycle-d2sxwqa1.js → image-h868bt0t.js} +7 -7
- package/dist/chunks/{location-lifecycle-yc7a5kvr.js → image-hare45ya.js} +31 -31
- package/dist/chunks/{location-lifecycle-f828m53h.js → image-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-lifecycle-1zsecf4k.js → image-her9e4hr.js} +11 -11
- package/dist/chunks/{location-lifecycle-1vmxbjpt.js → image-hhw8xstx.js} +9 -9
- package/dist/chunks/{location-lifecycle-08cxtdw8.js → image-hwxt3g9r.js} +30 -30
- package/dist/chunks/{location-lifecycle-j56e64zr.js → image-j56e64zr.js} +1 -1
- package/dist/chunks/{location-lifecycle-gg245rpa.js → image-j59qwfbj.js} +37 -37
- package/dist/chunks/{location-lifecycle-96rw58h8.js → image-j699j8bt.js} +2 -2
- package/dist/chunks/{location-lifecycle-sgvsg5c7.js → image-j7t2khjb.js} +13 -13
- package/dist/chunks/{location-lifecycle-t9zs3egg.js → image-j83byb14.js} +4 -4
- package/dist/chunks/{location-lifecycle-hk6farcs.js → image-jdnp2mh3.js} +4 -4
- package/dist/chunks/{location-lifecycle-92ayrrn7.js → image-jdxnr9v5.js} +16 -16
- package/dist/chunks/{location-lifecycle-2r3zh37g.js → image-jf3nzqf4.js} +9 -9
- package/dist/chunks/{location-lifecycle-8n7ya8jg.js → image-jgts6fy0.js} +3 -3
- package/dist/chunks/{location-lifecycle-318dhbth.js → image-jp0sq0c2.js} +20 -20
- package/dist/chunks/{location-lifecycle-ah45zszs.js → image-jvgf4mts.js} +34 -34
- package/dist/chunks/{location-lifecycle-nzks3jc8.js → image-k3c624dm.js} +3 -3
- package/dist/chunks/{location-lifecycle-agdtkq8n.js → image-k4msv9rg.js} +22 -22
- package/dist/chunks/{location-lifecycle-4efcx757.js → image-kfaxk64y.js} +11 -11
- package/dist/chunks/{location-lifecycle-z0868ay8.js → image-kqcs6dfg.js} +10 -10
- package/dist/chunks/{location-lifecycle-66baz8ka.js → image-kwwk4ft6.js} +9 -9
- package/dist/chunks/{location-lifecycle-0gz940bd.js → image-kxb46qvg.js} +9 -9
- package/dist/chunks/{location-lifecycle-ees997fz.js → image-kxjbraxt.js} +18 -18
- package/dist/chunks/{location-lifecycle-w9kyydez.js → image-m0bs8e2g.js} +47 -47
- package/dist/chunks/{location-lifecycle-cfpkc3c9.js → image-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-lifecycle-xk747vep.js → image-m2d0j7c0.js} +9 -9
- package/dist/chunks/{location-lifecycle-m3fdjcah.js → image-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-lifecycle-dv1b5hnc.js → image-m4ywmv3t.js} +4 -4
- package/dist/chunks/{location-lifecycle-taw5yzha.js → image-m7x6mvdf.js} +10 -10
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-qj8eh1ht.js → image-magykp64.js} +4 -4
- package/dist/chunks/{location-lifecycle-mvfsc1pv.js → image-mhkvc446.js} +3 -3
- package/dist/chunks/{location-lifecycle-06dxphr1.js → image-msq0jde0.js} +4 -4
- package/dist/chunks/{location-lifecycle-89s9kgby.js → image-n0bnpkq1.js} +18 -18
- package/dist/chunks/{location-lifecycle-q5nw5m1n.js → image-ndqtf2h8.js} +6 -6
- package/dist/chunks/{location-lifecycle-bwz7508e.js → image-nesvm5v2.js} +20 -20
- package/dist/chunks/{location-lifecycle-58jf2b5n.js → image-njc7fd3x.js} +24 -24
- package/dist/chunks/{location-lifecycle-snq071ae.js → image-nnjacqg1.js} +3 -3
- package/dist/chunks/{location-lifecycle-7dseyta3.js → image-npx37cxs.js} +25 -25
- package/dist/chunks/{location-lifecycle-mtjt07v8.js → image-nxxwwkwy.js} +22 -22
- package/dist/chunks/image-p1y881a7.js +26 -0
- package/dist/chunks/{location-lifecycle-tbz0fdvh.js → image-p28j5sbe.js} +5 -5
- package/dist/chunks/{location-lifecycle-ch9rpgww.js → image-p2f06z72.js} +11 -11
- package/dist/chunks/{location-lifecycle-gg7mxwnh.js → image-p4wnq9w8.js} +20 -20
- package/dist/chunks/{location-lifecycle-k0gdq8ga.js → image-pb1eahw5.js} +5 -5
- package/dist/chunks/{location-lifecycle-yt0fqk68.js → image-pecb0brz.js} +5 -5
- package/dist/chunks/{location-lifecycle-jewzahs7.js → image-ph842b28.js} +4 -4
- package/dist/chunks/{location-lifecycle-7t48jg8f.js → image-phnm1pec.js} +3 -3
- package/dist/chunks/{location-lifecycle-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-lifecycle-pb07aktf.js → image-pk2244jm.js} +3 -3
- package/dist/chunks/{location-lifecycle-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-bz85s9hh.js → image-pstg3rfm.js} +1 -1
- package/dist/chunks/{location-lifecycle-2cmdkyhw.js → image-q27m98z5.js} +3 -3
- package/dist/chunks/{location-lifecycle-5ygjede2.js → image-q818k922.js} +8 -8
- package/dist/chunks/{location-lifecycle-b7b4ctej.js → image-qdbakdjh.js} +5 -5
- package/dist/chunks/{location-lifecycle-2k8khapm.js → image-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-lifecycle-ttjk2wdc.js → image-qkb9ksse.js} +24 -24
- package/dist/chunks/{location-lifecycle-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{location-lifecycle-nxw9x78p.js → image-qx38d0n5.js} +11 -11
- package/dist/chunks/{location-lifecycle-kq8bx7xq.js → image-r2d10xbt.js} +35 -35
- package/dist/chunks/{location-lifecycle-3ykewcag.js → image-r9232fht.js} +17 -17
- package/dist/chunks/image-rap9a73h.js +18 -0
- package/dist/chunks/{location-lifecycle-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-lifecycle-mqdmt1va.js → image-remj23m8.js} +5 -5
- package/dist/chunks/{location-lifecycle-b3td3swv.js → image-rfxgs9t3.js} +1 -1
- package/dist/chunks/{location-lifecycle-fde1cms4.js → image-rk8wmvgg.js} +9 -9
- package/dist/chunks/{location-lifecycle-t2az9yje.js → image-rpg9c19m.js} +4 -4
- package/dist/chunks/{location-lifecycle-etn8yy9q.js → image-rpp1r6qa.js} +37 -37
- package/dist/chunks/{location-lifecycle-nfyg7my7.js → image-rv5rhnwn.js} +6 -6
- package/dist/chunks/{location-lifecycle-1ah0ee7v.js → image-rwp78atz.js} +6 -6
- package/dist/chunks/{location-lifecycle-8kb38tbd.js → image-s7zd2jzd.js} +26 -26
- package/dist/chunks/{location-lifecycle-a881zpfh.js → image-s93dsjvp.js} +9 -9
- package/dist/chunks/{location-lifecycle-3fn9vj2a.js → image-sc186k9x.js} +3 -3
- package/dist/chunks/{location-lifecycle-9xrddee8.js → image-sqp8kdc3.js} +17 -17
- package/dist/chunks/{location-lifecycle-zvfsx9q6.js → image-ss3mtxdg.js} +4 -4
- package/dist/chunks/{location-lifecycle-6hh8tjw2.js → image-sxz6gkc3.js} +5 -5
- package/dist/chunks/{location-lifecycle-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-lifecycle-fdd9a936.js → image-tb7b58hr.js} +5 -5
- package/dist/chunks/{location-lifecycle-9gew6ke4.js → image-tc4mawtk.js} +3 -3
- package/dist/chunks/{location-lifecycle-89znhe33.js → image-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-lifecycle-aj2gph7f.js → image-tdfwg5cp.js} +42 -42
- package/dist/chunks/{location-lifecycle-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{location-lifecycle-d6w1d759.js → image-thrv2w6y.js} +5 -5
- package/dist/chunks/{location-lifecycle-eb9hbpar.js → image-tkt8k2an.js} +20 -20
- package/dist/chunks/{location-lifecycle-8d6xnbxe.js → image-tst491ea.js} +10 -10
- package/dist/chunks/{location-lifecycle-h040sa7w.js → image-tvqm6ts3.js} +22 -22
- package/dist/chunks/{location-lifecycle-tvtrv512.js → image-tvtrv512.js} +1 -1
- package/dist/chunks/{location-lifecycle-xz20991e.js → image-tvzewt7x.js} +5 -5
- package/dist/chunks/{location-lifecycle-vdtc3ka7.js → image-v0a3n2n2.js} +37 -37
- package/dist/chunks/{location-lifecycle-aght5zda.js → image-v0cj4jgk.js} +84 -84
- package/dist/chunks/{location-lifecycle-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{location-lifecycle-zysgr26p.js → image-vevjmzcs.js} +22 -22
- package/dist/chunks/{location-lifecycle-vzcthcp8.js → image-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-35agz59w.js → image-w4arg62q.js} +4 -4
- package/dist/chunks/{location-lifecycle-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-v52rr7b3.js → image-wnt6v6p0.js} +30 -30
- package/dist/chunks/{location-lifecycle-xnftke6g.js → image-wsw7wh6v.js} +44 -44
- package/dist/chunks/{location-lifecycle-z07d95xm.js → image-wv1a429p.js} +8 -8
- package/dist/chunks/{location-lifecycle-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-lifecycle-92r5vq45.js → image-x1yv39pn.js} +184 -184
- package/dist/chunks/{location-lifecycle-sc1q6wgr.js → image-x3mn157g.js} +4 -4
- package/dist/chunks/{location-lifecycle-drwq78ky.js → image-xfkkasph.js} +4 -4
- package/dist/chunks/image-xjfpeq55.js +65 -0
- package/dist/chunks/{location-lifecycle-00b8gsc2.js → image-xynqawvq.js} +28 -28
- package/dist/chunks/{location-lifecycle-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-lifecycle-4ns3h2re.js → image-y38ja4bc.js} +6 -6
- package/dist/chunks/{location-lifecycle-jc1e48xp.js → image-y5ks5t0g.js} +26 -26
- package/dist/chunks/{location-lifecycle-y71avatq.js → image-y71avatq.js} +1 -1
- package/dist/chunks/{location-lifecycle-qbd2ms54.js → image-y79k1xra.js} +22 -22
- package/dist/chunks/{location-lifecycle-c8kta4n6.js → image-ybeakdkx.js} +15 -15
- package/dist/chunks/{location-lifecycle-8cptxgqr.js → image-ycnbsp3j.js} +8 -8
- package/dist/chunks/{location-lifecycle-fvzswx9a.js → image-ye2ymfh9.js} +6 -6
- package/dist/chunks/{location-lifecycle-9ae44cfy.js → image-yf4jcbx9.js} +6 -6
- package/dist/chunks/{location-lifecycle-62qat4sn.js → image-yk94a6e0.js} +4 -4
- package/dist/chunks/{location-lifecycle-yp2x3t23.js → image-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-lifecycle-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-lifecycle-yrznvahk.js → image-yrznvahk.js} +2 -2
- package/dist/chunks/{location-lifecycle-pgsazkxm.js → image-ytqj6kad.js} +5 -5
- package/dist/chunks/{location-lifecycle-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-lifecycle-dx7cz548.js → image-z0eq1mse.js} +11 -11
- package/dist/chunks/{location-lifecycle-fbpmdm9b.js → image-z3ct0j69.js} +25 -25
- package/dist/chunks/{location-lifecycle-z63w68vq.js → image-z63w68vq.js} +2 -2
- package/dist/chunks/{location-lifecycle-zeh9ct20.js → image-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-lifecycle-1w0pc04v.js → image-zgfzjsp4.js} +18 -18
- package/dist/chunks/{location-lifecycle-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-lifecycle-zxq2ej10.js → image-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- 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 +122 -122
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- 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 +69 -69
- 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 +224 -224
- 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 +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +98 -98
- 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 +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- 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 +98 -98
- 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 +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- 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 +119 -119
- 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 +6 -6
- 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 +5 -5
- 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 +228 -228
- 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 +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- 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 +3 -3
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- 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 +1 -1
- 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 +169 -169
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- 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 +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- 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 +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- 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 +16 -16
- 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 +3 -3
- 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 +5 -5
- 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 +83 -83
- 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/location-lifecycle-4x0xy3ak.js +0 -492
- package/dist/chunks/location-lifecycle-9x5t835t.js +0 -252
- package/dist/chunks/location-lifecycle-ht5y0zrb.js +0 -18
- package/dist/chunks/location-lifecycle-jqaz7hb4.js +0 -26
- package/dist/chunks/location-lifecycle-qapv375x.js +0 -4
- package/dist/chunks/location-lifecycle-yrsab33h.js +0 -65
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3w5fmr99.js → image-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-922hggd3.js → image-922hggd3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hjbc5kem.js → image-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-twg0f83k.js → image-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8cydn3q.js → image-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -2,47 +2,47 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./image-bejcrqds.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service14,
|
|
12
|
+
node16
|
|
13
|
+
} from "./image-740h8prc.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry2,
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service13,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node15
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content2 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event2 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service13 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service78;
|
|
95
|
+
const search = yield* Service14;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service13.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node15 = makeLocationNode({
|
|
144
|
+
service: Service13,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node82, node16]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node15, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./image-bejcrqds.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service78;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./image-bejcrqds.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-tkt8k2an.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin4,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin4 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service78;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin4, exports_git };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service78
|
|
8
|
+
} from "./image-bejcrqds.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service76
|
|
11
|
+
} from "./image-njc7fd3x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service23
|
|
14
|
+
} from "./image-ybeakdkx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service21,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-6xrxpe8b.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service58
|
|
22
|
+
} from "./image-rpp1r6qa.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service25,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./image-9ajz18mq.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./image-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./image-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin37,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin37 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service76;
|
|
112
|
+
const access = yield* Service25;
|
|
113
|
+
const fileMutation = yield* Service21;
|
|
114
|
+
const formatter = yield* Service23;
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const permission = yield* Service58;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin25 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin37, exports_patch };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./image-kxjbraxt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make4
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service44;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make4, LoadError2, exports_module };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-yk94a6e0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service57,
|
|
7
|
+
node59
|
|
8
|
+
} from "./image-kqcs6dfg.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service22,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node25
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event6 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service22 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service82;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service57;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service22.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node25 = makeLocationNode({
|
|
188
|
+
service: Service22,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node86,
|
|
190
|
+
deps: [node86, node59]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service22, node25, exports_websearch3, Event6 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service74,
|
|
3
|
+
node77,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-p2f06z72.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service54,
|
|
8
|
+
node56
|
|
9
|
+
} from "./image-yf4jcbx9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service15
|
|
12
|
+
} from "./image-xjfpeq55.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-511hynh8.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service74, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service15);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node56.replace(Layer.succeed(Service54, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node77.replace(Layer.succeed(Service74, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin13
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin13 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin45 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin13, exports_mcp_codemode_exclusion };
|