@opencode/core 0.0.0-dev-19627 → 0.0.0-dev-19628
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{file-mutation-ryrj46hv.js → project-02npky8t.js} +15 -15
- package/dist/chunks/{file-mutation-es3fm114.js → project-07jqw2wt.js} +1 -1
- package/dist/chunks/{file-mutation-7k05wx0c.js → project-09j0jr97.js} +13 -13
- package/dist/chunks/{file-mutation-7rtzrs6z.js → project-0g8b3cp3.js} +18 -18
- package/dist/chunks/{file-mutation-wa2k838w.js → project-0mxbz6cg.js} +12 -12
- package/dist/chunks/{file-mutation-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → project-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-xb3f970q.js → project-17dw8pkg.js} +11 -11
- package/dist/chunks/{file-mutation-yphy50z6.js → project-1c0qdd4m.js} +20 -20
- package/dist/chunks/{file-mutation-wc8c3q07.js → project-1cnwdj7j.js} +8 -8
- package/dist/chunks/{file-mutation-s8yyarnz.js → project-1cp7rtfc.js} +13 -13
- package/dist/chunks/{file-mutation-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-c175xrn1.js → project-1vamtg20.js} +28 -28
- package/dist/chunks/{file-mutation-9fsxynh3.js → project-1vy54y9f.js} +11 -11
- package/dist/chunks/{file-mutation-qb9x24v0.js → project-1x12esvj.js} +15 -15
- package/dist/chunks/{file-mutation-2h5ctm2z.js → project-1x7pnkv6.js} +84 -84
- package/dist/chunks/{file-mutation-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-7w3s9kd0.js → project-23sxaqwc.js} +6 -6
- package/dist/chunks/{file-mutation-z1jek54d.js → project-259jgdne.js} +5 -5
- package/dist/chunks/{file-mutation-c5rw5aek.js → project-26xawcrj.js} +5 -5
- package/dist/chunks/{file-mutation-z63w68vq.js → project-29x78va6.js} +6 -6
- package/dist/chunks/{file-mutation-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-7dqw4kz8.js → project-2k8khapm.js} +5 -5
- package/dist/chunks/project-2pwzh2qj.js +247 -0
- package/dist/chunks/{file-mutation-9nygvg6d.js → project-2swtdwje.js} +11 -11
- package/dist/chunks/{file-mutation-06x8he3q.js → project-2vs2nh1n.js} +4 -4
- package/dist/chunks/{file-mutation-1306karf.js → project-2ywebzac.js} +44 -44
- package/dist/chunks/{file-mutation-ky2zf32z.js → project-353bn1fj.js} +11 -11
- package/dist/chunks/{file-mutation-rw337v24.js → project-3dvzgvsa.js} +8 -8
- package/dist/chunks/{file-mutation-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-f7j90zp2.js → project-3pe7sts8.js} +9 -9
- package/dist/chunks/{file-mutation-eajyy5ey.js → project-3sb64rq7.js} +43 -43
- package/dist/chunks/{file-mutation-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-5sj81wm5.js → project-3w2b2yj4.js} +5 -5
- package/dist/chunks/{file-mutation-4dgbcxzg.js → project-44h5tttr.js} +4 -4
- package/dist/chunks/{file-mutation-rz5kv9fq.js → project-4b4wdfnp.js} +15 -15
- package/dist/chunks/{file-mutation-rr1pnw44.js → project-4cf19nbk.js} +11 -11
- package/dist/chunks/{file-mutation-xyny64hx.js → project-4fa8k3k5.js} +23 -23
- package/dist/chunks/{file-mutation-x2fjf6jt.js → project-4jz9xskr.js} +1 -1
- package/dist/chunks/{file-mutation-1c76g24z.js → project-4kcff6vb.js} +6 -6
- package/dist/chunks/{file-mutation-sxzvkvgj.js → project-4mwpykj0.js} +6 -6
- package/dist/chunks/project-4nrdjra1.js +26 -0
- package/dist/chunks/{file-mutation-synq1jy2.js → project-4sg5w2a7.js} +13 -13
- package/dist/chunks/{file-mutation-25jpqk5v.js → project-4t5vzxby.js} +11 -11
- package/dist/chunks/{file-mutation-pvp0xbtq.js → project-55s1chmx.js} +3 -3
- package/dist/chunks/{file-mutation-24b9aadw.js → project-55skyyrc.js} +11 -11
- package/dist/chunks/{file-mutation-56gdpj1q.js → project-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-mutation-kjfdeayr.js → project-57e9z27j.js} +8 -8
- package/dist/chunks/{file-mutation-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-xe94yqgp.js → project-5rtg8v4f.js} +6 -6
- package/dist/chunks/{file-mutation-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-qz3sdwq7.js → project-5zrne849.js} +4 -4
- package/dist/chunks/{file-mutation-5fxvnth9.js → project-60g3sj5v.js} +8 -8
- package/dist/chunks/{file-mutation-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-cpy6gm2a.js → project-6anwy9fs.js} +5 -5
- package/dist/chunks/{file-mutation-rdwnzddt.js → project-6cnpzqq7.js} +40 -40
- package/dist/chunks/{file-mutation-cmwkp3r5.js → project-6f890ccd.js} +8 -8
- package/dist/chunks/{file-mutation-2402vzrj.js → project-6h73sxmp.js} +5 -5
- package/dist/chunks/project-6kdq0pjd.js +4 -0
- package/dist/chunks/{file-mutation-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-qxmaq0sm.js → project-757464b7.js} +8 -8
- package/dist/chunks/{file-mutation-nap3yrea.js → project-79fhh2gp.js} +47 -47
- package/dist/chunks/{file-mutation-dwvb776c.js → project-79wxqeje.js} +24 -24
- package/dist/chunks/{file-mutation-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-7hg3t1ht.js → project-7r6qqdtq.js} +18 -18
- package/dist/chunks/{file-mutation-hdh38a9b.js → project-8640cccz.js} +9 -9
- package/dist/chunks/{file-mutation-pf2ava87.js → project-898hvbcp.js} +19 -19
- package/dist/chunks/{file-mutation-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-ajwqadgf.js → project-8fpqe0dc.js} +15 -15
- package/dist/chunks/{file-mutation-dp45y3n1.js → project-8gcc4xjh.js} +17 -17
- package/dist/chunks/{file-mutation-dj2t23y0.js → project-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-mutation-6zwemvqm.js → project-9daap1qz.js} +28 -28
- package/dist/chunks/{file-mutation-g1sxm558.js → project-9jbvj98d.js} +8 -8
- package/dist/chunks/{file-mutation-7ycsd0tm.js → project-9w8h378s.js} +18 -18
- package/dist/chunks/{file-mutation-11n3wfat.js → project-9wgmbypx.js} +27 -27
- package/dist/chunks/{file-mutation-5kh97ynp.js → project-9zz72r8a.js} +44 -44
- package/dist/chunks/{file-mutation-5c4hm403.js → project-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-mutation-gr1f03ws.js → project-a881zpfh.js} +9 -9
- package/dist/chunks/{file-mutation-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-tbb58408.js → project-akqwb96g.js} +41 -41
- package/dist/chunks/{file-mutation-wdzhm1dy.js → project-aq006y5y.js} +22 -22
- package/dist/chunks/{file-mutation-a04y0etw.js → project-at7enqjf.js} +26 -26
- package/dist/chunks/{file-mutation-7nam6z95.js → project-av0mmvpn.js} +8 -8
- package/dist/chunks/{file-mutation-gmp12gr6.js → project-avtdxkqt.js} +16 -16
- package/dist/chunks/{file-mutation-vtfn81vb.js → project-az8a2yam.js} +13 -13
- package/dist/chunks/{file-mutation-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-s5ech5g2.js → project-b9qgr8qp.js} +35 -35
- package/dist/chunks/{file-mutation-7avp506j.js → project-b9zj3kn1.js} +59 -59
- package/dist/chunks/{file-mutation-89smrnyf.js → project-bajakh74.js} +4 -4
- package/dist/chunks/{file-mutation-06dxphr1.js → project-bccb6npm.js} +4 -4
- package/dist/chunks/{file-mutation-gh317mre.js → project-bgqy63e3.js} +22 -22
- package/dist/chunks/{file-mutation-3qgtx68d.js → project-bkrjkb13.js} +14 -14
- package/dist/chunks/{file-mutation-pcvnxmb4.js → project-bmkfdkwx.js} +20 -20
- package/dist/chunks/{file-mutation-j4p8w3kg.js → project-bvejaycr.js} +35 -35
- package/dist/chunks/{file-mutation-3nmkgzqt.js → project-by0gsg89.js} +3 -3
- package/dist/chunks/{file-mutation-ayex3wth.js → project-c0480hwk.js} +25 -25
- package/dist/chunks/{file-mutation-6fkjc3gv.js → project-c3q8eaer.js} +24 -24
- package/dist/chunks/{file-mutation-t1eg3y3w.js → project-c84hgbnx.js} +13 -13
- package/dist/chunks/{file-mutation-m0jqrx5p.js → project-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-mutation-g87vc5p1.js → project-cgy3sbv3.js} +19 -19
- package/dist/chunks/{file-mutation-kyvf95r7.js → project-cshfpq41.js} +35 -35
- package/dist/chunks/{file-mutation-qyqjfx9x.js → project-cwp5xj07.js} +18 -18
- package/dist/chunks/{file-mutation-3aaqwtv7.js → project-cyevzdjf.js} +42 -42
- package/dist/chunks/{file-mutation-4sy6x2w1.js → project-d21w5bt1.js} +11 -11
- package/dist/chunks/{file-mutation-1x1ag7qp.js → project-d4t6hpm2.js} +15 -15
- package/dist/chunks/{file-mutation-v3fdhb9p.js → project-d5s5pf33.js} +35 -35
- package/dist/chunks/{file-mutation-dzrq5311.js → project-d7vf99ne.js} +9 -9
- package/dist/chunks/{file-mutation-tcdc8g31.js → project-dr36qrwc.js} +9 -9
- package/dist/chunks/{file-mutation-698497kr.js → project-dv1vx6t2.js} +18 -18
- package/dist/chunks/{file-mutation-2qcp78kg.js → project-dwghrtd7.js} +17 -17
- package/dist/chunks/{file-mutation-tv17mb0q.js → project-e15ntc4t.js} +7 -7
- package/dist/chunks/{file-mutation-5qd3pb7m.js → project-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-mutation-e5nv3ght.js → project-e5nv3ght.js} +2 -2
- package/dist/chunks/{file-mutation-bvdx5xp3.js → project-edvgyycs.js} +13 -13
- package/dist/chunks/{file-mutation-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-2tvcbkwg.js → project-f2b80ee2.js} +10 -10
- package/dist/chunks/{file-mutation-5p8vcd02.js → project-f7ty4j2n.js} +30 -30
- package/dist/chunks/{file-mutation-hdnk95c8.js → project-f828m53h.js} +2 -2
- package/dist/chunks/{file-mutation-dcq050h0.js → project-f9gg2skd.js} +29 -29
- package/dist/chunks/{file-mutation-rf848q2s.js → project-fcwr5x5c.js} +8 -8
- package/dist/chunks/{file-mutation-82adjhvd.js → project-feb5hr90.js} +8 -8
- package/dist/chunks/{file-mutation-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-48r4agm7.js → project-fxhv1aw0.js} +19 -19
- package/dist/chunks/{file-mutation-2v6a2rnj.js → project-fy2r6802.js} +12 -12
- package/dist/chunks/{file-mutation-6804x6mf.js → project-g0ke2vx6.js} +22 -22
- package/dist/chunks/{file-mutation-18db4y5c.js → project-g374vg8s.js} +27 -27
- package/dist/chunks/{file-mutation-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-eg6djbbr.js → project-grx711cr.js} +32 -32
- package/dist/chunks/{file-mutation-yyb7tjpc.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-g9nckgd1.js → project-gyrnz1ke.js} +27 -27
- package/dist/chunks/{file-mutation-h03wrkyp.js → project-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-mutation-x2c9waxa.js → project-h2hkvaqb.js} +8 -8
- package/dist/chunks/{file-mutation-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-aychzs8s.js → project-hc2rjyny.js} +16 -16
- package/dist/chunks/{file-mutation-t3swkhbg.js → project-hcz3zddy.js} +5 -5
- package/dist/chunks/{file-mutation-hjt4xg1x.js → project-hjt4xg1x.js} +1 -1
- package/dist/chunks/{file-mutation-ns5krr68.js → project-hmq12a4k.js} +2 -2
- package/dist/chunks/{file-mutation-xqk8sbne.js → project-hx5ww8wt.js} +12 -12
- package/dist/chunks/{file-mutation-gcavn3wx.js → project-j34dxvpb.js} +5 -5
- package/dist/chunks/{file-mutation-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-pes8w8r9.js → project-j6cnd6pq.js} +30 -30
- package/dist/chunks/{file-mutation-k6v14n43.js → project-jbh7eaj6.js} +15 -15
- package/dist/chunks/{file-mutation-635mjk8g.js → project-jd3sm2cb.js} +25 -25
- package/dist/chunks/{file-mutation-bqnv8r25.js → project-jm41p8c9.js} +9 -9
- package/dist/chunks/{file-mutation-qr8mshgh.js → project-jse2t38q.js} +30 -30
- package/dist/chunks/{file-mutation-nw2nz702.js → project-jva4mgym.js} +4 -4
- package/dist/chunks/{file-mutation-30n84348.js → project-jvhzf42w.js} +11 -11
- package/dist/chunks/{file-mutation-ddg0keqc.js → project-jxhcm6a8.js} +7 -7
- package/dist/chunks/{file-mutation-5bbsmdtr.js → project-jzdd0kff.js} +4 -4
- package/dist/chunks/{file-mutation-ktak12d4.js → project-k8ye623y.js} +15 -15
- package/dist/chunks/{file-mutation-p2f53c8e.js → project-kj4rvgf1.js} +40 -40
- package/dist/chunks/{file-mutation-gw4zmj2g.js → project-kj91gjsx.js} +27 -27
- package/dist/chunks/{file-mutation-h71w788e.js → project-kp8q1t60.js} +8 -8
- package/dist/chunks/{file-mutation-jdcpnvpf.js → project-kr1k6zz7.js} +6 -6
- package/dist/chunks/{file-mutation-sqeh6kv1.js → project-kwtt87aw.js} +23 -23
- package/dist/chunks/{file-mutation-r8bq8m7e.js → project-kzs6j0ha.js} +3 -3
- package/dist/chunks/{file-mutation-2n0epbhs.js → project-m144tsf8.js} +6 -6
- package/dist/chunks/{file-mutation-a3k5zcqz.js → project-m437k757.js} +23 -23
- package/dist/chunks/{file-mutation-the10gxd.js → project-m8xkkgnz.js} +18 -18
- package/dist/chunks/{file-mutation-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-cyx09s2a.js → project-mar7rqed.js} +10 -10
- package/dist/chunks/{file-mutation-8fk85gr8.js → project-mmhn33zq.js} +4 -4
- package/dist/chunks/{file-mutation-a46v4e4v.js → project-mtq6xxnx.js} +7 -7
- package/dist/chunks/{file-mutation-mvfsc1pv.js → project-mvfsc1pv.js} +1 -1
- package/dist/chunks/{file-mutation-eqfn3g5k.js → project-mxvxyk3g.js} +22 -22
- package/dist/chunks/{file-mutation-xza6172n.js → project-myp5sw1f.js} +3 -3
- package/dist/chunks/{file-mutation-r1jcp9he.js → project-n34vayx2.js} +34 -34
- package/dist/chunks/{file-mutation-7v7yaejn.js → project-n3eh9z61.js} +10 -10
- package/dist/chunks/{file-mutation-yqf3qraq.js → project-n5vz0cry.js} +5 -5
- package/dist/chunks/{file-mutation-j7jqt5tj.js → project-n7gr9xxz.js} +8 -8
- package/dist/chunks/{file-mutation-0j4wr494.js → project-nd1a8rn4.js} +15 -15
- package/dist/chunks/{file-mutation-10s3487r.js → project-nfrhjm27.js} +13 -13
- package/dist/chunks/{file-mutation-x121vean.js → project-njsjzm26.js} +6 -6
- package/dist/chunks/{file-mutation-x5h3w8zq.js → project-nk3wpnq2.js} +26 -26
- package/dist/chunks/{file-mutation-qkxympve.js → project-nkg579ba.js} +50 -50
- package/dist/chunks/{file-mutation-q5rhn9x0.js → project-nsgsffy1.js} +9 -9
- package/dist/chunks/{file-mutation-sr25wdwa.js → project-nswt86ga.js} +16 -16
- package/dist/chunks/{file-mutation-13c44461.js → project-nvwv9vf6.js} +24 -24
- package/dist/chunks/{file-mutation-gj014zr3.js → project-p1cpmwyf.js} +17 -17
- package/dist/chunks/{file-mutation-yce1w55j.js → project-p33qzpjt.js} +9 -9
- package/dist/chunks/{file-mutation-jwbqhvyy.js → project-p44d8wdy.js} +5 -5
- package/dist/chunks/{file-mutation-azma9pmk.js → project-p6yda8sh.js} +16 -16
- package/dist/chunks/{file-mutation-tds7k197.js → project-pg94t5r8.js} +2 -2
- package/dist/chunks/{file-mutation-0nes3kdx.js → project-phrqe1n5.js} +31 -31
- package/dist/chunks/{file-mutation-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-ve4pfa0n.js → project-pmr4s4kc.js} +4 -4
- package/dist/chunks/{file-mutation-yf98xpe6.js → project-pr0pwz8z.js} +9 -9
- package/dist/chunks/{file-mutation-qebawg89.js → project-pzkk0785.js} +9 -9
- package/dist/chunks/{file-mutation-z2ab2b6j.js → project-q0bad23w.js} +11 -11
- package/dist/chunks/{file-mutation-n8j5ecm5.js → project-q0neqv3n.js} +4 -4
- package/dist/chunks/{file-mutation-3fz3b278.js → project-q38pj0tx.js} +25 -25
- package/dist/chunks/project-qc068m1q.js +18 -0
- package/dist/chunks/{file-mutation-x1r77kwh.js → project-qc7sfe0t.js} +3 -3
- package/dist/chunks/{file-mutation-dmgsj5zc.js → project-qjk0x4g8.js} +19 -19
- package/dist/chunks/{file-mutation-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-kcm959y1.js → project-qt970c0q.js} +25 -25
- package/dist/chunks/{file-mutation-pcwvymat.js → project-qvd3kry0.js} +12 -12
- package/dist/chunks/{file-mutation-6k7rtajw.js → project-qwdvs2p0.js} +29 -29
- package/dist/chunks/{file-mutation-ssz2ek6x.js → project-qxydxzk3.js} +8 -8
- package/dist/chunks/{file-mutation-x3ykbdq0.js → project-qz4rfney.js} +27 -27
- package/dist/chunks/{file-mutation-5bdbc12f.js → project-r01t9b5y.js} +6 -6
- package/dist/chunks/{file-mutation-r9mregkx.js → project-r9mregkx.js} +2 -2
- package/dist/chunks/{file-mutation-2py7vkgw.js → project-raa1pnsf.js} +6 -6
- package/dist/chunks/{file-mutation-ekezzs5q.js → project-rbv3jq6k.js} +5 -5
- package/dist/chunks/{file-mutation-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-c765mh8b.js → project-rey5gbxv.js} +9 -9
- package/dist/chunks/{file-mutation-rmkqwdpg.js → project-rhp07p3k.js} +96 -96
- package/dist/chunks/{file-mutation-4afm2zz7.js → project-rhtmfbtp.js} +40 -40
- package/dist/chunks/{file-mutation-0tncbqge.js → project-rntk04yd.js} +24 -24
- package/dist/chunks/{file-mutation-bz85s9hh.js → project-ryt7pzqc.js} +1 -1
- package/dist/chunks/{file-mutation-9y2fz4rr.js → project-s3kdpa44.js} +10 -10
- package/dist/chunks/{file-mutation-h85ccg7e.js → project-s40sp0nv.js} +4 -4
- package/dist/chunks/{file-mutation-yrznvahk.js → project-s4enseaf.js} +2 -2
- package/dist/chunks/{file-mutation-8rsrtv6x.js → project-scxh138f.js} +25 -25
- package/dist/chunks/{file-mutation-cr1q0w15.js → project-sf2p8ett.js} +14 -14
- package/dist/chunks/{file-mutation-h23j7wn7.js → project-sjsffq0v.js} +10 -10
- package/dist/chunks/{file-mutation-06xhg51a.js → project-sz9x7shk.js} +26 -26
- package/dist/chunks/{file-mutation-9x4ccdjv.js → project-t0xwwvxm.js} +161 -161
- package/dist/chunks/{file-mutation-s8d7rejh.js → project-t550f9t1.js} +4 -4
- package/dist/chunks/{file-mutation-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-wejf0rdp.js → project-tbnjqe6a.js} +71 -71
- package/dist/chunks/{file-mutation-tcezcvh9.js → project-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-nng2ktcm.js → project-tdgd79rq.js} +2 -2
- package/dist/chunks/{file-mutation-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-ac5xk54v.js → project-tfp5y93d.js} +23 -23
- package/dist/chunks/{file-mutation-k9vs72wj.js → project-tfxfws18.js} +11 -11
- package/dist/chunks/{file-mutation-91sxxkcr.js → project-tq2ada0b.js} +5 -5
- package/dist/chunks/{file-mutation-d4fjsvxd.js → project-trgr6nw0.js} +36 -36
- package/dist/chunks/{file-mutation-0tbwr05t.js → project-tss6jp96.js} +7 -7
- package/dist/chunks/{file-mutation-z76rvear.js → project-tvp7ax91.js} +4 -4
- package/dist/chunks/{file-mutation-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-tzz76ghp.js → project-txqerv78.js} +3 -3
- package/dist/chunks/{file-mutation-03nfxjzw.js → project-v1g6pdmp.js} +23 -23
- package/dist/chunks/{file-mutation-6h3wybc7.js → project-vbrdpthe.js} +6 -6
- package/dist/chunks/{file-mutation-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-7w99qc9d.js → project-vjnb44yt.js} +3 -3
- package/dist/chunks/{file-mutation-xrv8p737.js → project-vk1xt8hv.js} +32 -32
- package/dist/chunks/{file-mutation-czzymjv3.js → project-vnga1qsf.js} +41 -41
- package/dist/chunks/{file-mutation-k86shhx4.js → project-vq10kw2f.js} +13 -13
- package/dist/chunks/{file-mutation-gcwb3twc.js → project-vqf2h3ad.js} +35 -35
- package/dist/chunks/{file-mutation-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-tgft0wfk.js → project-w4zzjw3g.js} +26 -26
- package/dist/chunks/{file-mutation-3ar42wrm.js → project-w7n777mq.js} +20 -20
- package/dist/chunks/{file-mutation-0c0n109p.js → project-waq9xepp.js} +31 -31
- package/dist/chunks/{file-mutation-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-r8s4q6ph.js → project-wxata4c6.js} +14 -14
- package/dist/chunks/{file-mutation-xqhhrdfp.js → project-x0980x1d.js} +22 -22
- package/dist/chunks/{file-mutation-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-2fhwbkrm.js → project-x26jwgwx.js} +28 -28
- package/dist/chunks/{file-mutation-v0x321vx.js → project-xb0hfm2b.js} +40 -40
- package/dist/chunks/{file-mutation-91t2kvk6.js → project-xbnkan1d.js} +14 -14
- package/dist/chunks/{file-mutation-t5vtrxv1.js → project-xcvkpzh5.js} +22 -22
- package/dist/chunks/{file-mutation-f9yn9122.js → project-xd42nzb0.js} +16 -16
- package/dist/chunks/{file-mutation-qj8eh1ht.js → project-xdk9p2qn.js} +21 -21
- package/dist/chunks/{file-mutation-0j569f3z.js → project-xjb11nnv.js} +3 -3
- package/dist/chunks/{file-mutation-xx8we5ps.js → project-xrjwkp2r.js} +4 -4
- package/dist/chunks/{file-mutation-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-jfya27vc.js → project-y28p2mmz.js} +11 -11
- package/dist/chunks/{file-mutation-hfvv3mv3.js → project-y2f10e65.js} +31 -31
- package/dist/chunks/project-y5t6h2pv.js +474 -0
- package/dist/chunks/{file-mutation-y71avatq.js → project-y71avatq.js} +1 -1
- package/dist/chunks/{file-mutation-ynjpqawr.js → project-y9a3srbc.js} +11 -11
- package/dist/chunks/{file-mutation-k9avtbwf.js → project-ybrnvmsb.js} +9 -9
- package/dist/chunks/{file-mutation-1acjjqhc.js → project-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-mutation-4g2m7ccv.js → project-ypmnqm1w.js} +21 -21
- package/dist/chunks/{file-mutation-jxwjknq3.js → project-yr7v9wer.js} +5 -5
- package/dist/chunks/{file-mutation-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-my26e0c6.js → project-yw0bcj9m.js} +26 -26
- package/dist/chunks/{file-mutation-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-a5de4bcy.js → project-zca3g7cc.js} +59 -59
- package/dist/chunks/{file-mutation-rq775frq.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- 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 +129 -129
- 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 +141 -141
- package/dist/config/plugin/snapshot.js +120 -120
- 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 +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +353 -353
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +350 -350
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +122 -122
- 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 +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- 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 +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/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 +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- 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 +130 -130
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- 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 +124 -124
- 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 +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +123 -123
- package/dist/tool/plugin/edit.js +113 -113
- 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 +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +115 -115
- 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 +13 -13
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- 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 +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/file-mutation-0mesazry.js +0 -4
- package/dist/chunks/file-mutation-11z0rz4y.js +0 -247
- package/dist/chunks/file-mutation-d1y9ts6h.js +0 -474
- package/dist/chunks/file-mutation-ht5y0zrb.js +0 -18
- package/dist/chunks/file-mutation-rjhhx3kh.js +0 -26
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → project-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./project-y9a3srbc.js";
|
|
1
5
|
import {
|
|
2
6
|
Service81,
|
|
3
7
|
node85
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service80,
|
|
7
|
-
node84
|
|
8
|
-
} from "./file-mutation-f9yn9122.js";
|
|
8
|
+
} from "./project-xd42nzb0.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event18,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info28,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service73,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node77
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
41
|
var Event18 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service73 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service82).db;
|
|
55
|
+
const bus = yield* Service81;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info28({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service73.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info28({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -193,6 +193,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node77 = makeGlobalNode({ service: Service73, layer, deps: [node86, node85] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event18, Info28, Service73, node77, exports_credential };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-qz4rfney.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-zca3g7cc.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin43
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin43 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin44 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID9.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin44 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID9.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin44 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin43, exports_agent2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./project-xd42nzb0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service33,
|
|
7
7
|
node37
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-6cnpzqq7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service45,
|
|
11
|
+
node47
|
|
12
|
+
} from "./project-zca3g7cc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service49,
|
|
15
|
+
node51
|
|
16
|
+
} from "./project-79wxqeje.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
29
|
node: () => node36
|
|
30
30
|
});
|
|
@@ -33,15 +33,15 @@ import { McpEvent } from "@opencode/schema/mcp-event";
|
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service32 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service33;
|
|
42
|
+
const tools = yield* Service49;
|
|
43
|
+
const bus = yield* Service81;
|
|
44
|
+
const permission = yield* Service45;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
123
|
var node36 = makeLocationNode({
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
124
|
+
service: Service32,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node51, node37, node85, node47]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service32, layer12, node36, exports_mcp3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service61
|
|
4
|
+
} from "./project-rhtmfbtp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service38
|
|
7
|
+
} from "./project-f9gg2skd.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
@@ -23,8 +23,8 @@ import { Effect } from "effect";
|
|
|
23
23
|
var Plugin4 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service61;
|
|
27
|
+
const snapshot = yield* Service38;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./project-xd42nzb0.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
Agent: () => exports_agent3,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event10,
|
|
18
|
+
ID: () => ID9,
|
|
19
|
+
Info: () => Info10,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service48,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node50
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event10 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID9 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID9.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info10 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service48 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service81;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info10.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID9.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service48.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID9.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID9.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node50 = makeLocationNode({ service: Service48, layer, deps: [node85, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID9, Name3, defaultID2, Color2, Info10, Service48, node50, exports_agent3, Event10 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node73,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node73 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node73, exports_driver };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/codemode/tool.ts
|
|
10
10
|
var exports_tool2 = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./project-phrqe1n5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./project-rhtmfbtp.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service67;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service61);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./project-phrqe1n5.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-raa1pnsf.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID11.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service4 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service4.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node5 = makeLocationNode({ service: Service4, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service4, node5, exports_location_watcher_policy };
|