@opencode/core 0.0.0-dev-20066 → 0.0.0-dev-20067
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-ysyhm521.js → repository-05nshcdg.js} +24 -24
- package/dist/chunks/{file-z36jzmxf.js → repository-0c1nc1g2.js} +4 -4
- package/dist/chunks/{file-wtfahf6y.js → repository-0cry2zrq.js} +17 -17
- package/dist/chunks/{file-2qsg2f9e.js → repository-0e3mg8wg.js} +7 -7
- package/dist/chunks/repository-0mesazry.js +4 -0
- package/dist/chunks/{file-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-56dkfrzf.js → repository-0pr3hkd7.js} +4 -4
- package/dist/chunks/{file-ykzphz33.js → repository-0rr436fd.js} +12 -12
- package/dist/chunks/{file-xwm5pfwb.js → repository-0vecsj11.js} +10 -10
- package/dist/chunks/{file-pn3cc07s.js → repository-0xezjjjn.js} +8 -8
- package/dist/chunks/{file-1dcnnnbr.js → repository-0yf2ggb4.js} +3 -3
- package/dist/chunks/{file-ba4w6g48.js → repository-115t4k1h.js} +12 -12
- package/dist/chunks/{file-9283747x.js → repository-15rr61m4.js} +14 -14
- package/dist/chunks/{file-1cfhk7sn.js → repository-16fz2w0a.js} +52 -52
- package/dist/chunks/{file-d8nc1xcx.js → repository-18e56dsp.js} +4 -4
- package/dist/chunks/{file-a2ew8a62.js → repository-19vf66h0.js} +4 -4
- package/dist/chunks/{file-nxer0yad.js → repository-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-55bva0cb.js → repository-1d8ygdpn.js} +22 -22
- package/dist/chunks/{file-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-1e6560a0.js → repository-1dnqgg3s.js} +9 -9
- package/dist/chunks/{file-afae926q.js → repository-1e86tkh9.js} +11 -11
- package/dist/chunks/{file-nnvbrnj9.js → repository-1g9ztc78.js} +41 -41
- package/dist/chunks/{file-1gsxrzjh.js → repository-1t7xnya2.js} +14 -14
- package/dist/chunks/{file-zsr300m5.js → repository-1te7cy4s.js} +4 -4
- package/dist/chunks/{file-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{file-nkstvzp1.js → repository-25rd3h41.js} +50 -50
- package/dist/chunks/{file-pghyzkbc.js → repository-25wpb8ep.js} +176 -176
- package/dist/chunks/{file-tgrv3arn.js → repository-285t386e.js} +38 -38
- package/dist/chunks/{file-z63w68vq.js → repository-29x78va6.js} +6 -6
- package/dist/chunks/{file-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-3ppptnan.js → repository-2a6rn6yr.js} +6 -6
- package/dist/chunks/{file-53aen1mc.js → repository-2xqh5gj0.js} +24 -24
- package/dist/chunks/{file-4ecq8z8w.js → repository-2zbc03eg.js} +24 -24
- package/dist/chunks/{file-pyjj1jkz.js → repository-311gkrra.js} +5 -5
- package/dist/chunks/{file-g6qn7enb.js → repository-32h82zqh.js} +5 -5
- package/dist/chunks/{file-wj76ss2k.js → repository-3ewed21c.js} +4 -4
- package/dist/chunks/{file-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-6vcgy8rt.js → repository-3nwqvhst.js} +11 -11
- package/dist/chunks/{file-3zt59cyk.js → repository-3qw0meeq.js} +21 -21
- package/dist/chunks/{file-bda1vq26.js → repository-3rk7bqzq.js} +6 -6
- package/dist/chunks/{file-bbme6enf.js → repository-3s43hn5t.js} +3 -3
- package/dist/chunks/{file-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-7f29k4yc.js → repository-3sy2qy7n.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-1gdesbhr.js → repository-3y7z246r.js} +22 -22
- package/dist/chunks/{file-gyk2hwcy.js → repository-3yv9m03g.js} +29 -29
- package/dist/chunks/{file-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-p9g2yd2c.js → repository-40dfcbtc.js} +5 -5
- package/dist/chunks/{file-0dv41atz.js → repository-4nddn0b6.js} +3 -3
- package/dist/chunks/{file-3tpvs2ax.js → repository-4ragw8tk.js} +26 -26
- package/dist/chunks/{file-gvzpgxex.js → repository-4sthw002.js} +5 -5
- package/dist/chunks/{file-xv7de5q4.js → repository-4yyfqv5e.js} +13 -13
- package/dist/chunks/{file-wb4z42q3.js → repository-50sbk7kr.js} +8 -8
- package/dist/chunks/{file-eqdkrvcq.js → repository-51bq5gc4.js} +12 -12
- package/dist/chunks/{file-y7xgn7p7.js → repository-55t602r9.js} +30 -30
- package/dist/chunks/{file-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-bbashmg5.js → repository-5ah4ptg6.js} +25 -25
- package/dist/chunks/{file-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{file-5ekn9679.js → repository-5ekn9679.js} +1 -1
- package/dist/chunks/{file-cnrdk8yx.js → repository-5md3tagz.js} +24 -24
- package/dist/chunks/{file-eebxfdqy.js → repository-5psjtcc4.js} +25 -25
- package/dist/chunks/{file-j7ym9e45.js → repository-5qb1g724.js} +5 -5
- package/dist/chunks/{file-9kqy81kb.js → repository-5qedxm44.js} +11 -11
- package/dist/chunks/{file-8nm9s8sj.js → repository-5r9k8zx2.js} +2 -2
- package/dist/chunks/{file-d6mxctwy.js → repository-5re94sxb.js} +9 -9
- package/dist/chunks/{file-myqzkpm0.js → repository-5rk57adz.js} +5 -5
- package/dist/chunks/{file-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-a8bn8zg0.js → repository-5wtwrezn.js} +21 -21
- package/dist/chunks/repository-619r8v3y.js +18 -0
- package/dist/chunks/{file-w5aqd7mj.js → repository-6301jba8.js} +38 -38
- package/dist/chunks/{file-48b5k7kh.js → repository-65xxhm4m.js} +23 -23
- package/dist/chunks/{file-71jq3e50.js → repository-660wmw6d.js} +19 -19
- package/dist/chunks/{file-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{file-bqgb4xv5.js → repository-672f612c.js} +46 -46
- package/dist/chunks/{file-6p9d4jjd.js → repository-67rsx3vb.js} +24 -24
- package/dist/chunks/{file-79c0cprn.js → repository-69fj14ep.js} +20 -20
- package/dist/chunks/{file-pxt4kznk.js → repository-6bsje7ws.js} +3 -3
- package/dist/chunks/{file-2402vzrj.js → repository-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-ydgy0jv4.js → repository-6wg7wrda.js} +6 -6
- package/dist/chunks/{file-sqjb59je.js → repository-72p6r3xc.js} +13 -13
- package/dist/chunks/{file-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-vh6m29va.js → repository-7cc8avcc.js} +24 -24
- package/dist/chunks/{file-n14ayrh8.js → repository-7n420167.js} +10 -10
- package/dist/chunks/{file-nbm66a7c.js → repository-7nf3ddzq.js} +16 -16
- package/dist/chunks/{file-97w5rk9e.js → repository-7s2tn799.js} +8 -8
- package/dist/chunks/{file-rf9b2e2p.js → repository-7td85jfa.js} +9 -9
- package/dist/chunks/{file-0t2n07hj.js → repository-7yscfpph.js} +7 -7
- package/dist/chunks/{file-ttf98hsm.js → repository-855aw91c.js} +16 -16
- package/dist/chunks/{file-qr7ng78v.js → repository-8czqb76g.js} +14 -14
- package/dist/chunks/{file-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-a8zr1srk.js → repository-8hgfhrm0.js} +11 -11
- package/dist/chunks/{file-gfvb90ym.js → repository-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-2gvhzvms.js → repository-98da7btb.js} +10 -10
- package/dist/chunks/{file-9kdq5cm5.js → repository-9btcgg48.js} +44 -44
- package/dist/chunks/{file-cbzqd5vv.js → repository-9cz3xmmc.js} +20 -20
- package/dist/chunks/repository-9dkxgaaz.js +96 -0
- package/dist/chunks/{file-t4g7br61.js → repository-9e0shq8y.js} +2 -2
- package/dist/chunks/{file-xvs8r2xn.js → repository-9f40cav3.js} +13 -13
- package/dist/chunks/{file-bkj6m2b4.js → repository-9h1eecz9.js} +83 -83
- package/dist/chunks/{file-f2q0nfy3.js → repository-a0s974gf.js} +3 -3
- package/dist/chunks/{file-8q09v32k.js → repository-a1nprqvr.js} +11 -11
- package/dist/chunks/{file-qjrh95de.js → repository-a7ya2t55.js} +4 -4
- package/dist/chunks/{file-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{file-ezshsjxy.js → repository-actq9frn.js} +15 -15
- package/dist/chunks/{file-6nz9a8mm.js → repository-ajdggk3v.js} +4 -4
- package/dist/chunks/{file-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/repository-b8kezapz.js +26 -0
- package/dist/chunks/{file-r6yqkj2r.js → repository-bayr7sdc.js} +7 -7
- package/dist/chunks/{file-p1k7cjr6.js → repository-bd3nb3vt.js} +11 -11
- package/dist/chunks/{file-nkxenpss.js → repository-bhxp9hdq.js} +6 -6
- package/dist/chunks/{file-wwpqqed2.js → repository-bmhahcnt.js} +3 -3
- package/dist/chunks/{file-dvvawg7j.js → repository-bprjk2xr.js} +29 -29
- package/dist/chunks/{file-zkknr3xm.js → repository-bwe1n6j9.js} +7 -7
- package/dist/chunks/{file-44bd19a6.js → repository-bwyp434w.js} +22 -22
- package/dist/chunks/{file-g9nmy09s.js → repository-c1kskfb6.js} +42 -42
- package/dist/chunks/{file-tn0aqsam.js → repository-c78bbtc9.js} +5 -5
- package/dist/chunks/{file-54tcyq79.js → repository-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-r811hg4m.js → repository-cm70vevn.js} +11 -11
- package/dist/chunks/{file-xgtymt5b.js → repository-cng14k4f.js} +31 -31
- package/dist/chunks/{file-p44d8wdy.js → repository-d2aac7k2.js} +5 -5
- package/dist/chunks/{file-6vysq8xy.js → repository-de3mgeae.js} +18 -18
- package/dist/chunks/{file-pxs200gq.js → repository-djwrd78c.js} +34 -34
- package/dist/chunks/{file-8exbv5ee.js → repository-dmzyn4sw.js} +17 -17
- package/dist/chunks/{file-8rn5da1k.js → repository-dq2gf7dd.js} +81 -81
- package/dist/chunks/{file-w5rka97k.js → repository-dvep9rg9.js} +9 -9
- package/dist/chunks/{file-np95gk1g.js → repository-dxz6h2zt.js} +5 -5
- package/dist/chunks/{file-rxgx23cf.js → repository-dzk3ryj8.js} +19 -19
- package/dist/chunks/{file-5qd3pb7m.js → repository-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-r9njx374.js → repository-e4bv3p7h.js} +32 -32
- package/dist/chunks/{file-0gdmqesm.js → repository-eaj1djv9.js} +8 -8
- package/dist/chunks/{file-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-r3rtvjkk.js → repository-ejrhby57.js} +39 -39
- package/dist/chunks/{file-xqyrxn4h.js → repository-emevknz1.js} +8 -8
- package/dist/chunks/{file-st08tkdm.js → repository-enk2rrcf.js} +17 -17
- package/dist/chunks/{file-erw5rpbs.js → repository-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-am6bd3dm.js → repository-es9eybw2.js} +11 -11
- package/dist/chunks/{file-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-c769d21z.js → repository-f1zbxv7x.js} +7 -7
- package/dist/chunks/{file-pyj3yp56.js → repository-f90zn7ca.js} +4 -4
- package/dist/chunks/{file-68y7phbn.js → repository-faxz800z.js} +12 -12
- package/dist/chunks/{file-rfkfgx1j.js → repository-ff0svapt.js} +2 -2
- package/dist/chunks/{file-rs94dpxv.js → repository-fg50bsfr.js} +23 -23
- package/dist/chunks/{file-zfx41g5b.js → repository-fs4kxnc4.js} +5 -5
- package/dist/chunks/{file-9s342vhy.js → repository-fxr6x0aq.js} +19 -19
- package/dist/chunks/{file-8fkqwjdd.js → repository-g0kgf922.js} +9 -9
- package/dist/chunks/{file-5vg5mx5r.js → repository-g2066sd0.js} +11 -11
- package/dist/chunks/{file-28rjj3zm.js → repository-g4fxz0gt.js} +27 -27
- package/dist/chunks/{file-b9k40ts2.js → repository-g9qh6fen.js} +11 -11
- package/dist/chunks/{file-sr7es49j.js → repository-gby7h8ab.js} +12 -12
- package/dist/chunks/{file-gv418ss3.js → repository-gcmeeq5b.js} +20 -20
- package/dist/chunks/{file-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-rhc6bd81.js → repository-gr0jztbm.js} +12 -12
- package/dist/chunks/{file-yj7a9dsc.js → repository-gtckgk66.js} +10 -10
- package/dist/chunks/{file-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-28p9c2n7.js → repository-gv6qzrxf.js} +35 -35
- package/dist/chunks/{file-605v3z54.js → repository-gwmntvvs.js} +36 -36
- package/dist/chunks/{file-b8v9yxrh.js → repository-gwp4cf3v.js} +35 -35
- package/dist/chunks/{file-rgy7ctyq.js → repository-gx8hye9g.js} +6 -6
- package/dist/chunks/{file-80eyc1fc.js → repository-gxd07ah8.js} +48 -48
- package/dist/chunks/{file-30stdhmk.js → repository-h297ymck.js} +20 -20
- package/dist/chunks/{file-tnt1t2kr.js → repository-h2qs67km.js} +11 -11
- package/dist/chunks/{file-5mtzsd3b.js → repository-h6r3nrb9.js} +4 -4
- package/dist/chunks/{file-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-b3jd6nbe.js → repository-hbehhpwg.js} +37 -37
- package/dist/chunks/{file-c6dyb1r1.js → repository-hngsf9ze.js} +29 -29
- package/dist/chunks/{file-g4nzdvdr.js → repository-hysnaan8.js} +3 -3
- package/dist/chunks/{file-c3xqhexw.js → repository-hz151azf.js} +12 -12
- package/dist/chunks/{file-6vbjy3nf.js → repository-j0vh8jjz.js} +18 -18
- package/dist/chunks/{file-bfcbydry.js → repository-j1711vkv.js} +28 -28
- package/dist/chunks/{file-n35d2xk4.js → repository-j3s2z371.js} +9 -9
- package/dist/chunks/{file-q5xa8nqs.js → repository-j40a86xr.js} +10 -10
- package/dist/chunks/{file-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{file-awqs82k3.js → repository-jdzrt0z1.js} +26 -26
- package/dist/chunks/{file-ezy6at35.js → repository-jhmd4ezs.js} +15 -15
- package/dist/chunks/{file-c7sdca4y.js → repository-jrb0xr74.js} +15 -15
- package/dist/chunks/{file-nzks3jc8.js → repository-k3c624dm.js} +3 -3
- package/dist/chunks/{file-q4sh3est.js → repository-k5dsc5hs.js} +9 -9
- package/dist/chunks/{file-9chhw8ab.js → repository-k9kj6xed.js} +2 -2
- package/dist/chunks/repository-kb4rpjaq.js +507 -0
- package/dist/chunks/{file-z2n1er87.js → repository-kgeqhxvw.js} +11 -11
- package/dist/chunks/{file-n7e5sdch.js → repository-khm1sf7f.js} +4 -4
- package/dist/chunks/{file-1fcrsx1q.js → repository-kjfdeayr.js} +5 -5
- package/dist/chunks/{file-9rn8m20s.js → repository-kk7xnzba.js} +1 -1
- package/dist/chunks/{file-cefeattc.js → repository-kkybr322.js} +10 -10
- package/dist/chunks/{file-z99t6cgy.js → repository-kpwmpstw.js} +11 -11
- package/dist/chunks/{file-2nnkyhgj.js → repository-kx253xx8.js} +4 -4
- package/dist/chunks/{file-e4pvga2e.js → repository-m1fqb20v.js} +3 -3
- package/dist/chunks/{file-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-cw09a6zt.js → repository-mgdyehf1.js} +26 -26
- package/dist/chunks/{file-kas5k1as.js → repository-mpqj6jx7.js} +7 -7
- package/dist/chunks/{file-vj0mxn79.js → repository-mtjp9z6s.js} +14 -14
- package/dist/chunks/{file-j028xdjb.js → repository-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-y35sf2j4.js → repository-mwwxnxty.js} +5 -5
- package/dist/chunks/{file-4cxjs54m.js → repository-my3s7g2v.js} +6 -6
- package/dist/chunks/{file-vywjjxxp.js → repository-n2ahj3nb.js} +20 -20
- package/dist/chunks/{file-zgy94vhr.js → repository-n6scd4pv.js} +20 -20
- package/dist/chunks/{file-ezpe7cx6.js → repository-n72a9sqp.js} +46 -46
- package/dist/chunks/{file-qx11y599.js → repository-naep0e5n.js} +17 -17
- package/dist/chunks/{file-yvt1qck6.js → repository-nayt11ps.js} +6 -6
- package/dist/chunks/{file-j551d5nt.js → repository-nxc66smq.js} +15 -15
- package/dist/chunks/{file-h4z1mxff.js → repository-nz569jqt.js} +5 -5
- package/dist/chunks/{file-czfptnv9.js → repository-p37cw4rj.js} +8 -8
- package/dist/chunks/{file-j8zzr2am.js → repository-p57dvf2n.js} +4 -4
- package/dist/chunks/{file-ja31eptw.js → repository-pgej9n36.js} +18 -18
- package/dist/chunks/{file-3j12ts0c.js → repository-pgrpmprb.js} +8 -8
- package/dist/chunks/{file-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{file-sfntmzm9.js → repository-pnqe9gv0.js} +1 -1
- package/dist/chunks/{file-mys7ftvb.js → repository-pwqr28vb.js} +26 -26
- package/dist/chunks/{file-7nthvdt2.js → repository-qakz50hz.js} +20 -20
- package/dist/chunks/{file-7dqw4kz8.js → repository-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-dyyp5385.js → repository-qh54trmw.js} +17 -17
- package/dist/chunks/{file-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{file-vf909yfy.js → repository-qwb2h62g.js} +17 -17
- package/dist/chunks/{file-2k1qvr7q.js → repository-qx9nwsft.js} +26 -26
- package/dist/chunks/{file-67d2xr1y.js → repository-r256v5vh.js} +19 -19
- package/dist/chunks/{file-gjwgx2c5.js → repository-r2m716tb.js} +9 -9
- package/dist/chunks/{file-r98e92ep.js → repository-r98e92ep.js} +1 -1
- package/dist/chunks/{file-qxqnn5g6.js → repository-rb1ekxdp.js} +42 -42
- package/dist/chunks/{file-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-rz7a4p9d.js → repository-rp43rah6.js} +12 -12
- package/dist/chunks/{file-kxpygcw9.js → repository-rph3zd4r.js} +4 -4
- package/dist/chunks/{file-57ez7d0k.js → repository-rrqraew9.js} +9 -9
- package/dist/chunks/{file-rsx24g7m.js → repository-rt22yq9v.js} +23 -23
- package/dist/chunks/{file-7qhbze1a.js → repository-rxzqzsj3.js} +15 -15
- package/dist/chunks/{file-0qjcdq53.js → repository-s28bjvt5.js} +15 -15
- package/dist/chunks/{file-yrznvahk.js → repository-s4enseaf.js} +2 -2
- package/dist/chunks/{file-xrpg47n6.js → repository-s5d9hk7s.js} +9 -9
- package/dist/chunks/{file-3ejevnbt.js → repository-skykqwxk.js} +25 -25
- package/dist/chunks/{file-6ms7eb8z.js → repository-srfhtv6w.js} +9 -9
- package/dist/chunks/{file-e8qbhynk.js → repository-stvp1p58.js} +19 -19
- package/dist/chunks/{file-pfq1ksym.js → repository-t0sqncza.js} +5 -5
- package/dist/chunks/{file-azgavcp7.js → repository-t1tem6a2.js} +24 -24
- package/dist/chunks/{file-1dn8ht41.js → repository-t2rxy3d5.js} +32 -32
- package/dist/chunks/{file-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{file-d82rywaa.js → repository-trfxp1r8.js} +17 -17
- package/dist/chunks/{file-66pcvekw.js → repository-tsa77ep8.js} +19 -19
- package/dist/chunks/{file-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{file-pr1vsgjy.js → repository-tx02rs4k.js} +29 -29
- package/dist/chunks/{file-rfdhm22r.js → repository-v4cj4tts.js} +13 -13
- package/dist/chunks/{file-e6hsj8k3.js → repository-vb0c2wr9.js} +13 -13
- package/dist/chunks/{file-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{file-hnc853s2.js → repository-vftkj9v3.js} +16 -16
- package/dist/chunks/{file-fvx3366n.js → repository-vka4dmj0.js} +20 -20
- package/dist/chunks/{file-hnr5yq9h.js → repository-vmq7ehpy.js} +5 -5
- package/dist/chunks/{file-pp4c4k8z.js → repository-vsp4125s.js} +4 -4
- package/dist/chunks/{file-vtxr0yy2.js → repository-vtxr0yy2.js} +2 -2
- package/dist/chunks/{file-3x5m1xpp.js → repository-vxzf7v58.js} +5 -5
- package/dist/chunks/repository-vz0qs4v4.js +252 -0
- package/dist/chunks/{file-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-psazpmmj.js → repository-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{file-f5gy8qwh.js → repository-wmq3bkd4.js} +8 -8
- package/dist/chunks/{file-k475yrwb.js → repository-wrtzz9dy.js} +36 -36
- package/dist/chunks/{file-d36n6r0a.js → repository-wy75xbqv.js} +79 -73
- package/dist/chunks/{file-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-dwrwq0kr.js → repository-x5x7d8yk.js} +10 -10
- package/dist/chunks/{file-80jpmz44.js → repository-x7zswy26.js} +8 -8
- package/dist/chunks/{file-stvehstt.js → repository-xbw2xfj9.js} +5 -5
- package/dist/chunks/{file-dkhsgy42.js → repository-xfkkasph.js} +4 -4
- package/dist/chunks/{file-bqxteh86.js → repository-xkqrr95v.js} +60 -60
- package/dist/chunks/{file-d2jkntah.js → repository-xq6svqxg.js} +32 -32
- package/dist/chunks/{file-whv1wwce.js → repository-xq7r4p5w.js} +33 -33
- package/dist/chunks/{file-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-4xep0k5d.js → repository-y3f887mz.js} +10 -10
- package/dist/chunks/{file-dpkg50ah.js → repository-y71avatq.js} +4 -4
- package/dist/chunks/{file-rvgdez9r.js → repository-ya6d81gt.js} +20 -20
- package/dist/chunks/{file-hvpdgzkp.js → repository-ygxwf2ce.js} +20 -20
- package/dist/chunks/{file-df7xe9tm.js → repository-ypwah405.js} +20 -20
- package/dist/chunks/{file-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-kjqsq5n4.js → repository-yz4vzcv9.js} +17 -17
- package/dist/chunks/{file-bjtzbw4r.js → repository-z07pqspn.js} +3 -3
- package/dist/chunks/{file-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-b710rs9d.js → repository-z3dqhhkj.js} +6 -6
- package/dist/chunks/{file-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-7g3edgp3.js → repository-zfjfs7fw.js} +22 -22
- package/dist/chunks/{file-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-dskjz5tz.js → repository-zszwk29h.js} +296 -296
- package/dist/chunks/{file-xw0r27ex.js → repository-zvt5dnpc.js} +4 -4
- package/dist/chunks/{file-zxq2ej10.js → repository-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 +73 -73
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +92 -92
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +99 -99
- 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 +362 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +359 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +2 -2
- 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 +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- 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 +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +121 -0
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/mcp/index.d.ts +4 -1
- package/dist/types/tool/plugin/mcp-resource.d.ts +9 -0
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +92 -92
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/file-9zdhvgqs.js +0 -18
- package/dist/chunks/file-e96fckfm.js +0 -252
- package/dist/chunks/file-fdpm3vhs.js +0 -26
- package/dist/chunks/file-ntzyjqd6.js +0 -503
- package/dist/chunks/file-qtvmxc8s.js +0 -4
- /package/dist/chunks/{file-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-0c1nc1g2.js";
|
|
8
8
|
import {
|
|
9
9
|
Event18,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./repository-zfjfs7fw.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service74,
|
|
15
|
+
node78
|
|
16
|
+
} from "./repository-trfxp1r8.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service66,
|
|
19
|
+
node69
|
|
20
|
+
} from "./repository-05nshcdg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service79,
|
|
24
|
+
node83
|
|
25
|
+
} from "./repository-3y7z246r.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID16,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node81
|
|
35
|
+
} from "./repository-bprjk2xr.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
45
|
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service38,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
56
|
configured: () => configured5,
|
|
57
57
|
layer: () => layer15,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node41
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,7 +93,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
98
|
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -101,13 +101,13 @@ var Options5 = Schema.Struct({
|
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var layer15 = (options) => Layer.effect(
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
104
|
+
var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service74;
|
|
106
|
+
const environment = yield* Service66;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service79;
|
|
109
|
+
const integration = yield* Service77;
|
|
110
|
+
const credentials = yield* Service78;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID16.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError5({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID18.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -221,6 +221,25 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
221
221
|
yield* startServer(name, entry);
|
|
222
222
|
}).pipe(locks.withLock(name));
|
|
223
223
|
const recovering = (name, entry, connection, run) => run(connection).pipe(Effect.catchIf((error) => ("_tag" in error) && error._tag === "MCP.SessionExpiredError", (error) => recover(name, entry, connection).pipe(Effect.flatMap(() => entry.client ? run(entry.client) : Effect.fail(error)))));
|
|
224
|
+
const loadCatalog = (name, entry, connection) => recovering(name, entry, connection, (connection) => Effect.all({
|
|
225
|
+
resources: connection.resources(),
|
|
226
|
+
templates: connection.resourceTemplates().pipe(Effect.orElseSucceed(() => []))
|
|
227
|
+
}, { concurrency: "unbounded" })).pipe(Effect.map((catalog) => ResourceCatalog2.make({
|
|
228
|
+
resources: catalog.resources.map((resource) => Resource2.make({
|
|
229
|
+
server: name,
|
|
230
|
+
name: resource.name,
|
|
231
|
+
uri: resource.uri,
|
|
232
|
+
description: resource.description,
|
|
233
|
+
mimeType: resource.mimeType
|
|
234
|
+
})),
|
|
235
|
+
templates: catalog.templates.map((template) => ResourceTemplate2.make({
|
|
236
|
+
server: name,
|
|
237
|
+
name: template.name,
|
|
238
|
+
uriTemplate: template.uriTemplate,
|
|
239
|
+
description: template.description,
|
|
240
|
+
mimeType: template.mimeType
|
|
241
|
+
}))
|
|
242
|
+
})));
|
|
224
243
|
const watch = (name, entry, connection) => {
|
|
225
244
|
const live = whenLive(name, entry, connection);
|
|
226
245
|
connection.onClose(() => live(Effect.gen(function* () {
|
|
@@ -240,7 +259,7 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
240
259
|
entry.scope = scope;
|
|
241
260
|
const authProvider = yield* connectProvider(entry);
|
|
242
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
262
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service66, environment), Scope.provide(scope));
|
|
244
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
264
|
if (Exit.isSuccess(result)) {
|
|
246
265
|
entry.client = result.value.connection;
|
|
@@ -391,7 +410,7 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
391
410
|
}),
|
|
392
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
412
|
});
|
|
394
|
-
return
|
|
413
|
+
return Service38.of({
|
|
395
414
|
transform: state.transform,
|
|
396
415
|
reload: state.reload,
|
|
397
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -464,42 +483,23 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
464
483
|
return { ...result, server: target.name, name: input.name };
|
|
465
484
|
}),
|
|
466
485
|
resourceCatalog: Effect.fn("MCP.resourceCatalog")(function* () {
|
|
467
|
-
const
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
uri: resource.uri,
|
|
478
|
-
description: resource.description,
|
|
479
|
-
mimeType: resource.mimeType
|
|
480
|
-
})),
|
|
481
|
-
templates: catalog.templates.map((template) => ResourceTemplate2.make({
|
|
482
|
-
server: name,
|
|
483
|
-
name: template.name,
|
|
484
|
-
uriTemplate: template.uriTemplate,
|
|
485
|
-
description: template.description,
|
|
486
|
-
mimeType: template.mimeType
|
|
487
|
-
}))
|
|
488
|
-
})));
|
|
489
|
-
}, { concurrency: "unbounded" });
|
|
490
|
-
return ResourceCatalog2.make({
|
|
491
|
-
resources: catalogs.flatMap((catalog) => catalog.resources).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uri.localeCompare(b.uri)),
|
|
492
|
-
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
493
|
-
});
|
|
486
|
+
const empty = ResourceCatalog2.make({ resources: [], templates: [] });
|
|
487
|
+
const catalogs = yield* Effect.forEach(Array.from(entries), ([name, entry]) => entry.client ? loadCatalog(name, entry, entry.client).pipe(Effect.orElseSucceed(() => empty)) : Effect.succeed(empty), { concurrency: "unbounded" });
|
|
488
|
+
return mergeCatalogs(catalogs);
|
|
489
|
+
}),
|
|
490
|
+
resources: Effect.fn("MCP.resources")(function* (input) {
|
|
491
|
+
const target = yield* requireServer(input.server);
|
|
492
|
+
yield* target.entry.startup.await;
|
|
493
|
+
if (!target.entry.client)
|
|
494
|
+
return ResourceCatalog2.make({ resources: [], templates: [] });
|
|
495
|
+
return mergeCatalogs([yield* loadCatalog(target.name, target.entry, target.entry.client)]);
|
|
494
496
|
}),
|
|
495
497
|
readResource: Effect.fn("MCP.readResource")(function* (input) {
|
|
496
498
|
const target = yield* requireServer(input.server);
|
|
497
499
|
yield* target.entry.startup.await;
|
|
498
500
|
if (!target.entry.client)
|
|
499
501
|
return;
|
|
500
|
-
const result = yield* recovering(target.name, target.entry, target.entry.client, (connection) => connection.readResource({ uri: input.uri }))
|
|
501
|
-
return;
|
|
502
|
-
}));
|
|
502
|
+
const result = yield* recovering(target.name, target.entry, target.entry.client, (connection) => connection.readResource({ uri: input.uri }));
|
|
503
503
|
if (!result)
|
|
504
504
|
return;
|
|
505
505
|
return ResourceContent2.make({
|
|
@@ -510,14 +510,20 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
+
function mergeCatalogs(catalogs) {
|
|
514
|
+
return ResourceCatalog2.make({
|
|
515
|
+
resources: catalogs.flatMap((catalog) => catalog.resources).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uri.localeCompare(b.uri)),
|
|
516
|
+
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
|
+
});
|
|
518
|
+
}
|
|
513
519
|
function configured5(options) {
|
|
514
520
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
521
|
+
service: Service38,
|
|
516
522
|
layer: layer15(options),
|
|
517
|
-
deps: [
|
|
523
|
+
deps: [node78, node69, node87, node83, node81, node82]
|
|
518
524
|
});
|
|
519
525
|
}
|
|
520
|
-
var
|
|
526
|
+
var node41 = configured5();
|
|
521
527
|
function toElicitationField(key, property, required) {
|
|
522
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
574
|
}
|
|
569
575
|
}
|
|
570
576
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options5, layer15, configured5, node41, exports_mcp4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-55t602r9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./repository-ejrhby57.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-z3dqhhkj.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service63;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID11.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make5();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make5, OllamaPlugin2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service63
|
|
4
|
+
} from "./repository-ejrhby57.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./repository-115t4k1h.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
@@ -23,8 +23,8 @@ import { Effect } from "effect";
|
|
|
23
23
|
var Plugin20 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service63;
|
|
27
|
+
const output = yield* Service68;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./repository-zszwk29h.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-z3dqhhkj.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.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 = ID13.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make15(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,98 +1,98 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-0yf2ggb4.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-0c1nc1g2.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-f1zbxv7x.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-z07pqspn.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-1te7cy4s.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-0pr3hkd7.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-1e86tkh9.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service53,
|
|
33
|
+
node56
|
|
34
|
+
} from "./repository-8czqb76g.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service25,
|
|
37
|
+
node28
|
|
38
|
+
} from "./repository-gv6qzrxf.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./repository-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service33,
|
|
44
|
+
node37
|
|
45
|
+
} from "./repository-5qedxm44.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./repository-e4bv3p7h.js";
|
|
49
49
|
import {
|
|
50
50
|
make10
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./repository-4nddn0b6.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service11,
|
|
54
|
+
node13
|
|
55
|
+
} from "./repository-4ragw8tk.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
57
|
+
Service29,
|
|
58
58
|
node33
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./repository-9h1eecz9.js";
|
|
60
60
|
import {
|
|
61
61
|
serialized2,
|
|
62
62
|
nextPromotable2,
|
|
63
63
|
promote2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./repository-ypwah405.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
66
|
+
Service10,
|
|
67
67
|
isUntitled2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
node12
|
|
69
|
+
} from "./repository-skykqwxk.js";
|
|
70
70
|
import {
|
|
71
71
|
DrainResult2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
Service44
|
|
73
|
+
} from "./repository-zvt5dnpc.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
75
|
+
node45
|
|
76
|
+
} from "./repository-5psjtcc4.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
78
|
+
node72
|
|
79
|
+
} from "./repository-115t4k1h.js";
|
|
80
80
|
import {
|
|
81
81
|
Outcome2,
|
|
82
82
|
make8
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./repository-qwb2h62g.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./
|
|
85
|
+
Service35
|
|
86
|
+
} from "./repository-619r8v3y.js";
|
|
87
87
|
import {
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
88
|
+
node16
|
|
89
|
+
} from "./repository-vka4dmj0.js";
|
|
90
90
|
import {
|
|
91
91
|
MAX_STEPS_PROMPT2
|
|
92
|
-
} from "./
|
|
92
|
+
} from "./repository-y44na4kk.js";
|
|
93
93
|
import {
|
|
94
94
|
__export
|
|
95
|
-
} from "./
|
|
95
|
+
} from "./repository-9rqn6x4v.js";
|
|
96
96
|
|
|
97
97
|
// src/session/runner/llm.ts
|
|
98
98
|
var exports_llm = {};
|
|
@@ -105,16 +105,16 @@ import { and, desc, eq, sql } from "drizzle-orm";
|
|
|
105
105
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
106
106
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
107
107
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
108
|
-
var layer = Layer.effect(
|
|
108
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
109
109
|
const bus = yield* Service83;
|
|
110
|
-
const lifecycle = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const context = yield*
|
|
113
|
-
const modelTransport = yield*
|
|
110
|
+
const lifecycle = yield* Service25;
|
|
111
|
+
const store = yield* Service53;
|
|
112
|
+
const context = yield* Service29;
|
|
113
|
+
const modelTransport = yield* Service33;
|
|
114
114
|
const db = (yield* Service84).db;
|
|
115
|
-
const compaction = yield*
|
|
116
|
-
const plugins = yield*
|
|
117
|
-
const title = yield*
|
|
115
|
+
const compaction = yield* Service11;
|
|
116
|
+
const plugins = yield* Service35;
|
|
117
|
+
const title = yield* Service10;
|
|
118
118
|
const steps = yield* make8;
|
|
119
119
|
const titles = yield* FiberMap.make();
|
|
120
120
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -361,23 +361,23 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
|
-
return
|
|
364
|
+
return Service44.of({ drain });
|
|
365
365
|
}));
|
|
366
366
|
var node11 = makeLocationNode({
|
|
367
|
-
service:
|
|
367
|
+
service: Service44,
|
|
368
368
|
layer,
|
|
369
369
|
deps: [
|
|
370
370
|
node87,
|
|
371
|
-
|
|
371
|
+
node28,
|
|
372
372
|
llmClient2,
|
|
373
373
|
node33,
|
|
374
|
-
|
|
375
|
-
|
|
374
|
+
node37,
|
|
375
|
+
node56,
|
|
376
|
+
node13,
|
|
377
|
+
node16,
|
|
376
378
|
node12,
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
node77,
|
|
380
|
-
node54,
|
|
379
|
+
node45,
|
|
380
|
+
node72,
|
|
381
381
|
node88
|
|
382
382
|
]
|
|
383
383
|
});
|