@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
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-wnt6v6p0.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info25
|
|
11
|
+
} from "./image-ffg0s7y6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID11.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info25.make({
|
|
122
|
+
...Info25.default(ID12.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID11.make(remote.id),
|
|
125
|
+
providerID: ID12.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin7
|
|
3
|
+
} from "./image-05xfxpq7.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin9
|
|
6
|
+
} from "./image-9qda3fsd.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin5
|
|
9
|
+
} from "./image-e83b4wjw.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin6
|
|
12
|
+
} from "./image-wv1a429p.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin8
|
|
15
|
+
} from "./image-hhw8xstx.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin7,
|
|
20
|
+
Plugin9,
|
|
21
|
+
Plugin5,
|
|
22
|
+
Plugin6,
|
|
23
|
+
Plugin8
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update2
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update2(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -401,4 +401,4 @@ function update3(adapter, event) {
|
|
|
401
401
|
return project(event);
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
export {
|
|
404
|
+
export { update2, exports_message_updater };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref4
|
|
3
|
+
} from "./image-bejcrqds.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service74,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node77,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service74 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service74, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node77 = LayerNode.unbound(Service74, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service74;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -39,10 +39,10 @@ var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
|
39
39
|
yield* Effect.logInfo("location services reloaded", { count: refs.length });
|
|
40
40
|
});
|
|
41
41
|
function canonical3(ref) {
|
|
42
|
-
return
|
|
42
|
+
return Ref4.make({
|
|
43
43
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
44
44
|
workspaceID: ref.workspaceID
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service74, node77, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-rpp1r6qa.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service40,
|
|
12
|
+
node43
|
|
13
|
+
} from "./image-m0bs8e2g.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-npx37cxs.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions3 = {};
|
|
24
24
|
__export(exports_instructions3, {
|
|
25
25
|
McpInstructions: () => exports_instructions3,
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
26
|
+
Service: () => Service35,
|
|
27
|
+
layer: () => layer12,
|
|
28
|
+
node: () => node38
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service35 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service35, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service40;
|
|
68
|
+
return Service35.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
71
|
-
key:
|
|
70
|
+
const source = (value) => make21({
|
|
71
|
+
key: Key4.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -96,6 +96,6 @@ var layer9 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node38 = makeLocationNode({ service: Service35, layer: layer12, deps: [node43] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service35, layer12, node38, exports_instructions3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info15
|
|
6
|
+
} from "./image-magykp64.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info15)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info10,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin12,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin12 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin46 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin12, exports_identity };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./image-wnt6v6p0.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID12.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID8 = Session.ID;
|
|
5
|
+
var Info22 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID8, Info22, SessionSchema2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-61pe7ftv.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-1fvpqx3e.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./image-h2mxsdb2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./image-yf4jcbx9.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-rap9a73h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service54;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service63), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin17,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin17 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin17, exports_tool_input_repair };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options7,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options7 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options7, Spec2, exports_plugin3 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-yk94a6e0.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service46,
|
|
17
|
+
node49
|
|
18
|
+
} from "./image-nesvm5v2.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./image-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./image-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event9,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info17,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service45,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node48
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event9 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info17 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service45 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service82;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service46;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info17.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info17.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node48 = makeLocationNode({
|
|
116
|
+
service: Service45,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node86,
|
|
118
|
+
deps: [Global.node, node86, node49]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info17, Service45, node48, exports_reference2, Event9 };
|