@opencode-ai/core 0.0.0-beta-19129 → 0.0.0-beta-19151
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{pty-wafa9yr2.js → bus-007dvjm0.js} +16 -16
- package/dist/chunks/{pty-vb336b53.js → bus-099ksjr7.js} +5 -5
- package/dist/chunks/{pty-ag4rn41e.js → bus-0dv7911r.js} +4 -4
- package/dist/chunks/{pty-0e0xafbb.js → bus-0e0xafbb.js} +2 -2
- package/dist/chunks/{pty-scd9nzg0.js → bus-0ez61b8c.js} +2 -2
- package/dist/chunks/{pty-63k70rre.js → bus-0kkm17qb.js} +29 -29
- package/dist/chunks/{pty-t3v3vr71.js → bus-0mccjmkq.js} +14 -14
- package/dist/chunks/{pty-gnar656t.js → bus-0njd92bg.js} +10 -10
- package/dist/chunks/{pty-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0s9ayhjt.js → bus-0s9ayhjt.js} +1 -1
- package/dist/chunks/{pty-n7x3jcdn.js → bus-0vdrg7q8.js} +9 -9
- package/dist/chunks/{pty-zbqrk12b.js → bus-0x9msrqt.js} +9 -9
- package/dist/chunks/{pty-p3ds9s6g.js → bus-14hmenm3.js} +1 -1
- package/dist/chunks/{pty-n3qm3e12.js → bus-19ghveyz.js} +11 -11
- package/dist/chunks/{pty-eq1pz5kg.js → bus-1bbkgx8g.js} +3 -3
- package/dist/chunks/{pty-1ct4r87x.js → bus-1ct4r87x.js} +1 -1
- package/dist/chunks/{pty-6e958v7x.js → bus-1z80kc63.js} +8 -8
- package/dist/chunks/{pty-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{pty-6h73sxmp.js → bus-2402vzrj.js} +5 -5
- package/dist/chunks/{pty-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-be60nag3.js → bus-2cryvejd.js} +1 -1
- package/dist/chunks/{pty-2ht70gj7.js → bus-2ht70gj7.js} +1 -1
- package/dist/chunks/{pty-2jqmte8w.js → bus-2jqmte8w.js} +2 -2
- package/dist/chunks/{pty-7w3s9kd0.js → bus-2y34zzjz.js} +4 -4
- package/dist/chunks/{pty-na4p81s6.js → bus-36j5nzcr.js} +15 -15
- package/dist/chunks/{pty-0rag4e4f.js → bus-36mzbjn4.js} +4 -4
- package/dist/chunks/{pty-00nfbmm6.js → bus-37h71zvm.js} +26 -26
- package/dist/chunks/{pty-rq421gwk.js → bus-3dj32zjz.js} +16 -16
- package/dist/chunks/{pty-gts5f7ad.js → bus-3dpaf6yv.js} +64 -64
- package/dist/chunks/{pty-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-yyy5ev01.js → bus-3hf4cecm.js} +28 -28
- package/dist/chunks/{pty-3qzbfqsy.js → bus-3qzbfqsy.js} +2 -2
- package/dist/chunks/{pty-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-0ywnm299.js → bus-3wfq9j39.js} +12 -12
- package/dist/chunks/{pty-454k5vzh.js → bus-454k5vzh.js} +1 -1
- package/dist/chunks/{pty-t39q75fx.js → bus-45njm9q3.js} +11 -11
- package/dist/chunks/{pty-szkq7e78.js → bus-48186013.js} +20 -20
- package/dist/chunks/{pty-6my8ebcr.js → bus-4cb9c786.js} +4 -4
- package/dist/chunks/{pty-4r2nyarf.js → bus-4r2nyarf.js} +1 -1
- package/dist/chunks/{pty-q0zss3w0.js → bus-4ttn3f9n.js} +13 -13
- package/dist/chunks/bus-4v7qdvcn.js +18 -0
- package/dist/chunks/{pty-tdt6s1r3.js → bus-4z6b0fg6.js} +4 -4
- package/dist/chunks/{pty-xwq131f5.js → bus-53gb87fg.js} +41 -41
- package/dist/chunks/{pty-vkpagyjs.js → bus-570hbvwx.js} +11 -11
- package/dist/chunks/{pty-xqe0fhba.js → bus-593bc3zc.js} +3 -3
- package/dist/chunks/{pty-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-yxw0cavp.js → bus-5dbnxb1n.js} +7 -7
- package/dist/chunks/{pty-5fmxt4p5.js → bus-5fmxt4p5.js} +1 -1
- package/dist/chunks/{pty-vn9f2x03.js → bus-5g33tj6b.js} +14 -14
- package/dist/chunks/{pty-cfwzd6ef.js → bus-5jmn74tv.js} +6 -6
- package/dist/chunks/{pty-5jvc5tg2.js → bus-5jvc5tg2.js} +1 -1
- package/dist/chunks/{pty-bq6az8vb.js → bus-5k3f87xj.js} +3 -3
- package/dist/chunks/{pty-maf5n4v0.js → bus-5rj9yf9k.js} +9 -9
- package/dist/chunks/{pty-9d4vrqc0.js → bus-637qq8n2.js} +9 -9
- package/dist/chunks/{pty-bsfcvmm2.js → bus-65vwahm5.js} +6 -6
- package/dist/chunks/{pty-eqyz6y0f.js → bus-669mtdgb.js} +44 -44
- package/dist/chunks/{pty-7zvydh0p.js → bus-6m5hv89w.js} +9 -9
- package/dist/chunks/{pty-sy5z5695.js → bus-6p81611h.js} +150 -150
- package/dist/chunks/{pty-6jea8mds.js → bus-6qpq0xzz.js} +12 -12
- package/dist/chunks/{pty-jysfrgga.js → bus-6s48shje.js} +3 -3
- package/dist/chunks/{pty-96gb8wnx.js → bus-6tygk997.js} +10 -10
- package/dist/chunks/{pty-saak5ttd.js → bus-6z5bwd8g.js} +6 -6
- package/dist/chunks/{pty-ctwxaq1f.js → bus-6zyntcx9.js} +3 -3
- package/dist/chunks/{pty-3khkq25c.js → bus-708bhwm5.js} +10 -10
- package/dist/chunks/{pty-711hfp6y.js → bus-711hfp6y.js} +2 -2
- package/dist/chunks/{pty-6tf8tr4v.js → bus-72nftnjy.js} +3 -3
- package/dist/chunks/{pty-qydr0h4k.js → bus-74k3x0m5.js} +24 -24
- package/dist/chunks/{pty-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-4qfjm3y1.js → bus-7httqr41.js} +20 -20
- package/dist/chunks/{pty-07bmqgvp.js → bus-7prj1563.js} +17 -15
- package/dist/chunks/{pty-wcj1zaj1.js → bus-862r0hmq.js} +52 -52
- package/dist/chunks/{pty-hhv3cd3z.js → bus-86s3977f.js} +1 -1
- package/dist/chunks/{pty-tk2yzb1v.js → bus-88ev9a66.js} +8 -8
- package/dist/chunks/{pty-zya0p8p9.js → bus-8kg6mr26.js} +16 -16
- package/dist/chunks/{pty-a615ws19.js → bus-8q4mgm57.js} +4 -4
- package/dist/chunks/{pty-kerhshr9.js → bus-8ryk0bb9.js} +5 -5
- package/dist/chunks/{pty-9j3029qe.js → bus-8xr8g0dt.js} +7 -7
- package/dist/chunks/{pty-bp2y3dz3.js → bus-8ye04jk8.js} +16 -16
- package/dist/chunks/{pty-mj6q7gvy.js → bus-8yq59nhy.js} +17 -17
- package/dist/chunks/{pty-693tgxwd.js → bus-901gzjjm.js} +27 -27
- package/dist/chunks/{pty-gfsgf35y.js → bus-93131cf0.js} +5 -5
- package/dist/chunks/{pty-93a8yfjt.js → bus-93a8yfjt.js} +2 -2
- package/dist/chunks/{pty-jab386st.js → bus-94vsv0sa.js} +16 -16
- package/dist/chunks/{pty-3jj6bjb6.js → bus-9d4efts8.js} +5 -5
- package/dist/chunks/{pty-zx7jt85y.js → bus-9d4wfkp0.js} +17 -17
- package/dist/chunks/{pty-dc9emjf0.js → bus-9ezmfr4d.js} +3 -3
- package/dist/chunks/{pty-twvb3q6j.js → bus-9r4cyneb.js} +22 -22
- package/dist/chunks/{pty-z3xgatyd.js → bus-a3x9xvd8.js} +4 -4
- package/dist/chunks/{pty-1459b0x6.js → bus-a494ggh4.js} +14 -14
- package/dist/chunks/{pty-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/bus-anw4cmh3.js +4 -0
- package/dist/chunks/{pty-pk02mbyy.js → bus-ar6r26gf.js} +26 -26
- package/dist/chunks/{pty-76ma23qb.js → bus-arsbtf4n.js} +22 -22
- package/dist/chunks/{pty-gd248znf.js → bus-at9x16kw.js} +29 -29
- package/dist/chunks/{pty-7n1wp2cn.js → bus-azaycewg.js} +23 -23
- package/dist/chunks/{pty-cq8wrtqn.js → bus-b0m1y6mq.js} +5 -5
- package/dist/chunks/{pty-7k8mdtae.js → bus-b2wj7kwr.js} +9 -9
- package/dist/chunks/{pty-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-403y7qtc.js → bus-b8nbcbsg.js} +11 -11
- package/dist/chunks/{pty-b9wsbatv.js → bus-b9wsbatv.js} +1 -1
- package/dist/chunks/{pty-thfv75je.js → bus-bcezcar3.js} +5 -5
- package/dist/chunks/{pty-qhehnkc2.js → bus-bgjx49te.js} +23 -23
- package/dist/chunks/{pty-b0mtdz8k.js → bus-br62jje5.js} +28 -28
- package/dist/chunks/{pty-a40eyqg5.js → bus-bseqm2ca.js} +18 -18
- package/dist/chunks/{pty-pcxcrysh.js → bus-c8afrcwz.js} +15 -15
- package/dist/chunks/{pty-1hb2jj92.js → bus-ca0hpr7t.js} +8 -8
- package/dist/chunks/{pty-0363n1t5.js → bus-ccgr98mz.js} +9 -9
- package/dist/chunks/{pty-amgxn0m4.js → bus-cfrqkav1.js} +37 -37
- package/dist/chunks/{pty-wrtxarjq.js → bus-cqdj2zee.js} +16 -16
- package/dist/chunks/{pty-cznc2qrv.js → bus-crh3pn7j.js} +9 -9
- package/dist/chunks/{pty-tp89m72a.js → bus-cyn6trz2.js} +4 -4
- package/dist/chunks/{pty-kd0z462q.js → bus-d2rwh673.js} +20 -20
- package/dist/chunks/{pty-1vxvbkdw.js → bus-dc4554sh.js} +9 -9
- package/dist/chunks/{pty-8w99qwke.js → bus-dn6skpfz.js} +11 -11
- package/dist/chunks/{pty-k65x9esf.js → bus-dqe3fw1x.js} +10 -10
- package/dist/chunks/{pty-wxcf70d6.js → bus-ds0rx3zk.js} +17 -17
- package/dist/chunks/{pty-cpkp23c7.js → bus-e2sc323g.js} +10 -10
- package/dist/chunks/{pty-fyzy9awj.js → bus-e5b0qn1c.js} +1 -1
- package/dist/chunks/{pty-x5hde6ee.js → bus-e5pxfhgv.js} +4 -4
- package/dist/chunks/{pty-y5bfzsd4.js → bus-e8ja81sx.js} +21 -21
- package/dist/chunks/{pty-0rbnrynr.js → bus-ecj1d35v.js} +8 -8
- package/dist/chunks/{pty-1wbsj790.js → bus-ers0pt04.js} +11 -11
- package/dist/chunks/bus-ex6w7h60.js +22 -0
- package/dist/chunks/{pty-0p9r6mft.js → bus-exbytbx3.js} +9 -9
- package/dist/chunks/{pty-5sg4xzjf.js → bus-ez5b8bq3.js} +7 -7
- package/dist/chunks/{pty-z78tg67p.js → bus-famd3pv6.js} +5 -5
- package/dist/chunks/{pty-5b9mh310.js → bus-fnxzs0zj.js} +18 -18
- package/dist/chunks/{pty-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-fxypknc8.js → bus-fxypknc8.js} +1 -1
- package/dist/chunks/{pty-vjgwbf9e.js → bus-g1w7kbk3.js} +12 -12
- package/dist/chunks/{pty-g2dy4bvs.js → bus-g2dy4bvs.js} +3 -3
- package/dist/chunks/{pty-g2gt0w0k.js → bus-g2gt0w0k.js} +2 -2
- package/dist/chunks/{pty-qs7zdahm.js → bus-g41n1fn3.js} +1 -1
- package/dist/chunks/{pty-j5w0a358.js → bus-g4pn5evg.js} +5 -5
- package/dist/chunks/{pty-shtw02y9.js → bus-g7fn2nxc.js} +27 -27
- package/dist/chunks/{pty-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-cwfwshwn.js → bus-gdyavges.js} +32 -32
- package/dist/chunks/{pty-msqtn7fd.js → bus-gpxh8apv.js} +15 -15
- package/dist/chunks/{pty-y974v3mv.js → bus-gyrty9a0.js} +4 -4
- package/dist/chunks/{pty-0t58jqdp.js → bus-gzzxkm3c.js} +142 -142
- package/dist/chunks/{pty-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-h50kfk2b.js → bus-h9vk3x5a.js} +13 -13
- package/dist/chunks/{pty-1we85e4n.js → bus-hd7305av.js} +36 -36
- package/dist/chunks/{pty-fn68vvm1.js → bus-hen36v2j.js} +22 -22
- package/dist/chunks/{pty-heyhwy2w.js → bus-heyhwy2w.js} +1 -1
- package/dist/chunks/{pty-nxrz604p.js → bus-hfr11a94.js} +9 -9
- package/dist/chunks/{pty-sb910js5.js → bus-hha4zry8.js} +20 -20
- package/dist/chunks/{pty-hcz6m02t.js → bus-hhaz7as1.js} +17 -17
- package/dist/chunks/{pty-wdq8bkk0.js → bus-hv52frfs.js} +7 -7
- package/dist/chunks/{pty-kvsjn1dr.js → bus-hw4pv20g.js} +2 -2
- package/dist/chunks/{pty-q38gg7qs.js → bus-hzfc5e89.js} +13 -13
- package/dist/chunks/{pty-5aq0nxp3.js → bus-j1pn5v0m.js} +5 -5
- package/dist/chunks/{pty-hbax5y4r.js → bus-j6f8vpjn.js} +20 -20
- package/dist/chunks/{pty-zdk6vxsj.js → bus-j6p1aehr.js} +81 -81
- package/dist/chunks/{pty-5qd3pb7m.js → bus-j935v87r.js} +2 -2
- package/dist/chunks/{pty-g8d3gcyj.js → bus-jfqtm2ew.js} +7 -7
- package/dist/chunks/{pty-be52w0n4.js → bus-jnq64gng.js} +25 -25
- package/dist/chunks/{pty-2vw6f4gm.js → bus-jwcs8hd7.js} +9 -9
- package/dist/chunks/{pty-y71avatq.js → bus-jwcy2c2z.js} +4 -4
- package/dist/chunks/{pty-t33fapxs.js → bus-jy1b6ewz.js} +11 -11
- package/dist/chunks/{pty-vrktewq8.js → bus-k2ahb10n.js} +24 -24
- package/dist/chunks/{pty-rp8r0d5g.js → bus-k2x2knng.js} +26 -26
- package/dist/chunks/{pty-k4bwy1x5.js → bus-k4bwy1x5.js} +1 -1
- package/dist/chunks/{pty-kg06axw8.js → bus-kg06axw8.js} +1 -1
- package/dist/chunks/{pty-qnzq15jm.js → bus-kkxjn8gg.js} +7 -7
- package/dist/chunks/{pty-cfsy2wpb.js → bus-kvk9z22h.js} +22 -22
- package/dist/chunks/{pty-j2n289q7.js → bus-kw84e4xy.js} +6 -6
- package/dist/chunks/{pty-1ydgq2r4.js → bus-m3fm0fm8.js} +5 -5
- package/dist/chunks/{pty-hqhp5amc.js → bus-m7vkk1dw.js} +25 -25
- package/dist/chunks/{pty-9rb0g439.js → bus-m909ryej.js} +28 -28
- package/dist/chunks/{pty-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-577gck9x.js → bus-mcxg6pmm.js} +1 -1
- package/dist/chunks/{pty-kh5wzj48.js → bus-mkf7z2fx.js} +33 -33
- package/dist/chunks/{pty-mmt6p78x.js → bus-mn4d6yy8.js} +26 -26
- package/dist/chunks/{pty-jasnfvjs.js → bus-mngcm6jy.js} +10 -10
- package/dist/chunks/{pty-gy57ja53.js → bus-mnj85pt4.js} +12 -12
- package/dist/chunks/{pty-3zdgt117.js → bus-mr8a2cts.js} +2 -2
- package/dist/chunks/{pty-ps7tg90p.js → bus-mx2vryrr.js} +24 -24
- package/dist/chunks/{pty-jxyej7y6.js → bus-mxevvyah.js} +11 -11
- package/dist/chunks/{pty-0avfzrjc.js → bus-mzgjcdh7.js} +24 -24
- package/dist/chunks/{pty-jb7pc305.js → bus-n3rn9b9d.js} +46 -46
- package/dist/chunks/{pty-k558dr3h.js → bus-n9mr47st.js} +6 -6
- package/dist/chunks/{pty-1c5j02v1.js → bus-nb0eyw3j.js} +38 -38
- package/dist/chunks/{pty-actzaqhd.js → bus-nbf26ms9.js} +26 -26
- package/dist/chunks/{pty-8wng66kw.js → bus-nep1jn7g.js} +23 -23
- package/dist/chunks/{pty-a95b1rzb.js → bus-nhet2z82.js} +32 -32
- package/dist/chunks/{pty-vh2xdqjs.js → bus-nhp7y9q2.js} +17 -17
- package/dist/chunks/{pty-4rnz283z.js → bus-nysebb6s.js} +11 -11
- package/dist/chunks/{pty-1bbszw8w.js → bus-p1xeps0x.js} +20 -20
- package/dist/chunks/{pty-94ms672g.js → bus-p4990n7g.js} +5 -5
- package/dist/chunks/{pty-b5g03hab.js → bus-p4spce3w.js} +9 -9
- package/dist/chunks/{pty-b1bsdq9a.js → bus-p83qt40j.js} +8 -8
- package/dist/chunks/{pty-71c4ctfp.js → bus-pbxwk0py.js} +23 -23
- package/dist/chunks/{pty-pjdqv3xm.js → bus-pchw21vv.js} +11 -11
- package/dist/chunks/{pty-seka0gvy.js → bus-pem2nq6m.js} +4 -4
- package/dist/chunks/{pty-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{pty-xy4dk1dp.js → bus-psy76y9c.js} +6 -6
- package/dist/chunks/{pty-ktgp4y5h.js → bus-pyzvmhjt.js} +10 -10
- package/dist/chunks/{pty-51e9twpg.js → bus-q71jbywg.js} +277 -277
- package/dist/chunks/{pty-ttbkqz8v.js → bus-qcc87r2a.js} +6 -6
- package/dist/chunks/{pty-7dqw4kz8.js → bus-qgn6gcr1.js} +5 -5
- package/dist/chunks/{pty-rh6rd7ag.js → bus-qkzfms5c.js} +4 -4
- package/dist/chunks/{pty-vywxfc32.js → bus-qphg5mmy.js} +43 -43
- package/dist/chunks/{pty-xk0vfajd.js → bus-qqxx9c59.js} +10 -10
- package/dist/chunks/{pty-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-qvbcabdc.js → bus-qvbcabdc.js} +2 -2
- package/dist/chunks/{pty-0gaj4617.js → bus-r33ff4dw.js} +4 -4
- package/dist/chunks/{pty-r8dhm0tv.js → bus-r8dhm0tv.js} +1 -1
- package/dist/chunks/{pty-s0gfpzhy.js → bus-r9gjvh9g.js} +8 -8
- package/dist/chunks/{pty-759pz1a2.js → bus-rae26gbb.js} +4 -4
- package/dist/chunks/{pty-19g5gqh3.js → bus-rfgs2k4e.js} +31 -31
- package/dist/chunks/{pty-4sz2x7hf.js → bus-rjjem9h6.js} +7 -7
- package/dist/chunks/{pty-t3daf40q.js → bus-rk0dvaye.js} +8 -8
- package/dist/chunks/{pty-fc5mkwbz.js → bus-rmy3e5eg.js} +1 -1
- package/dist/chunks/{pty-008qgtj7.js → bus-rzsjt7my.js} +16 -16
- package/dist/chunks/{pty-2wkcjqsg.js → bus-s3eqpch7.js} +1 -1
- package/dist/chunks/{pty-r0av7t19.js → bus-s45j2666.js} +30 -30
- package/dist/chunks/{pty-sba4qhjf.js → bus-sba4qhjf.js} +1 -1
- package/dist/chunks/{pty-wahfyr88.js → bus-sdk1rkft.js} +11 -11
- package/dist/chunks/{pty-kcb6z3jk.js → bus-t8am0cpd.js} +4 -4
- package/dist/chunks/{pty-bct739vz.js → bus-t9zs3egg.js} +4 -4
- package/dist/chunks/{pty-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-tjykrgmx.js → bus-tjykrgmx.js} +1 -1
- package/dist/chunks/{pty-f08hbj4m.js → bus-tkptkkba.js} +27 -27
- package/dist/chunks/{pty-ct6p9e56.js → bus-tn3hnqfz.js} +10 -10
- package/dist/chunks/{pty-jv6tbxxe.js → bus-tqqej2s1.js} +8 -8
- package/dist/chunks/{pty-92y7g8ad.js → bus-tta5943s.js} +9 -9
- package/dist/chunks/{pty-3wx44s71.js → bus-v1p1x004.js} +9 -9
- package/dist/chunks/{pty-97mrdvqz.js → bus-v210efr7.js} +14 -14
- package/dist/chunks/{pty-nmjynsra.js → bus-v3bjms6p.js} +45 -45
- package/dist/chunks/{pty-nry7nvbp.js → bus-v4xjjhvg.js} +21 -21
- package/dist/chunks/{pty-1sbqnd7p.js → bus-v8nrt0nt.js} +4 -4
- package/dist/chunks/{pty-0vydt2xt.js → bus-v9vvq96z.js} +34 -34
- package/dist/chunks/{pty-nmg9j082.js → bus-vffa83p2.js} +29 -29
- package/dist/chunks/{pty-w1r5ypf7.js → bus-vfxn8x23.js} +29 -29
- package/dist/chunks/{pty-gf185zmw.js → bus-vxp066d4.js} +11 -11
- package/dist/chunks/{pty-3w073660.js → bus-w08r0s8v.js} +16 -16
- package/dist/chunks/{pty-1wm9p8v7.js → bus-w1jjwhhz.js} +18 -18
- package/dist/chunks/{pty-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{pty-baqx186v.js → bus-wed177g1.js} +4 -4
- package/dist/chunks/{pty-qepd2pkj.js → bus-wgc2mr3y.js} +2 -2
- package/dist/chunks/{pty-9hq8x1wg.js → bus-wgxn7ww3.js} +4 -4
- package/dist/chunks/{pty-4vp46et4.js → bus-wgz7hchk.js} +6 -6
- package/dist/chunks/{pty-rha7dayt.js → bus-wp43gv37.js} +7 -7
- package/dist/chunks/{pty-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-rbjghvkh.js → bus-x1nkgr2s.js} +37 -37
- package/dist/chunks/{pty-ghzvc9jv.js → bus-x3ex91pf.js} +33 -33
- package/dist/chunks/{pty-h95089yr.js → bus-x5ga9etc.js} +24 -24
- package/dist/chunks/{pty-exrgs9wp.js → bus-x7mven0m.js} +8 -8
- package/dist/chunks/{pty-hkzxevja.js → bus-xjf0nspg.js} +7 -7
- package/dist/chunks/{pty-e1qkg8tm.js → bus-xp26bn8e.js} +13 -13
- package/dist/chunks/{pty-bzq1f2yq.js → bus-xpj7ktyz.js} +29 -29
- package/dist/chunks/{pty-ythy6836.js → bus-xqsy6kp0.js} +1 -1
- package/dist/chunks/{pty-4x0nmcjx.js → bus-xr5vwsd4.js} +9 -9
- package/dist/chunks/{pty-rgnb5s7e.js → bus-xx52rexs.js} +4 -4
- package/dist/chunks/{pty-r79tve40.js → bus-y00kh1j2.js} +79 -79
- package/dist/chunks/{pty-ytrgf914.js → bus-y01np14z.js} +15 -15
- package/dist/chunks/{pty-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-2aqpvcef.js → bus-y7pta2mg.js} +20 -20
- package/dist/chunks/{pty-3hfmeb9q.js → bus-y8jjghfg.js} +37 -37
- package/dist/chunks/{pty-kk3rr3qh.js → bus-yfbd16n1.js} +5 -5
- package/dist/chunks/{pty-yg7sb877.js → bus-yg7sb877.js} +2 -2
- package/dist/chunks/{pty-gxeqtc45.js → bus-ygw7vpbc.js} +9 -9
- package/dist/chunks/{pty-8yr65315.js → bus-ykcesz1b.js} +4 -4
- package/dist/chunks/{pty-bj2c3eqn.js → bus-ymy83g1g.js} +9 -9
- package/dist/chunks/{pty-graq44t8.js → bus-yyebksmm.js} +2 -2
- package/dist/chunks/{pty-ndgdc4c9.js → bus-yzwjgzk2.js} +11 -11
- package/dist/chunks/{pty-z1k01bn4.js → bus-z1k01bn4.js} +2 -2
- package/dist/chunks/{pty-29x78va6.js → bus-z63w68vq.js} +6 -6
- package/dist/chunks/{pty-rp0x3qp0.js → bus-zn2pq4p8.js} +2 -2
- package/dist/chunks/{pty-c0ggnrvh.js → bus-zp7etnvg.js} +13 -13
- package/dist/chunks/{pty-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +112 -112
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +110 -110
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +92 -92
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +78 -78
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +3 -3
- 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 +84 -84
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +110 -110
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +108 -108
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error.js +1 -1
- 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 +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 +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +73 -73
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +336 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +7 -7
- package/dist/chunks/pty-1x11rq2a.js +0 -18
- package/dist/chunks/pty-9zwhrd2p.js +0 -4
- package/dist/chunks/pty-a0w3frjs.js +0 -22
- /package/dist/chunks/{pty-0fabt78z.js → bus-0fabt78z.js} +0 -0
- /package/dist/chunks/{pty-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t738kvx.js → bus-3t738kvx.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-41nvscxy.js → bus-41nvscxy.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-982e01ww.js → bus-982e01ww.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a1tpkmh4.js → bus-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mntxs535.js → bus-mntxs535.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-p8qxwesx.js → bus-p8qxwesx.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-se0s1eqw.js → bus-se0s1eqw.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x1b8g1yb.js → bus-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → bus-z9919s4g.js} +0 -0
- /package/dist/chunks/{pty-zbjnn3ac.js → bus-zbjnn3ac.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-982e01ww.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-6s48shje.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error2 = {};
|
|
13
|
+
__export(exports_error2, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -22,9 +22,9 @@ __export(exports_error, {
|
|
|
22
22
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
23
23
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
24
24
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
25
|
-
NotFoundError: () =>
|
|
25
|
+
NotFoundError: () => NotFoundError8,
|
|
26
26
|
PromptConflictError: () => PromptConflictError2,
|
|
27
|
-
SessionErrors: () =>
|
|
27
|
+
SessionErrors: () => exports_error2,
|
|
28
28
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
29
29
|
StepFailedError: () => StepFailedError2,
|
|
30
30
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -35,7 +35,7 @@ import { Agent } from "@opencode-ai/schema/agent";
|
|
|
35
35
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
36
36
|
import { SessionError } from "@opencode-ai/schema/session-error";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
39
39
|
sessionID: SessionSchema2.ID
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
@@ -144,4 +144,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
144
144
|
}) {
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { NotFoundError8, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service72,
|
|
3
3
|
node77
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-j1pn5v0m.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service29
|
|
7
|
+
} from "./bus-4v7qdvcn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service40,
|
|
10
|
+
node43
|
|
11
|
+
} from "./bus-vfxn8x23.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node22
|
|
14
|
+
} from "./bus-8kg6mr26.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node6
|
|
17
|
+
} from "./bus-gdyavges.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
@@ -29,8 +29,8 @@ import { Effect, Layer } from "effect";
|
|
|
29
29
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
31
|
const location = yield* Service72;
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
32
|
+
const plugins = yield* Service29;
|
|
33
|
+
const worktrees = yield* Service40;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
@@ -38,7 +38,7 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
38
38
|
var node2 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node43, node77, node22, node6]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
export { node2, exports_refresh };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-gyrty9a0.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event12,
|
|
10
|
+
Service56,
|
|
11
|
+
node59
|
|
12
|
+
} from "./bus-xpj7ktyz.js";
|
|
13
13
|
import {
|
|
14
14
|
Service72,
|
|
15
15
|
node77
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-j1pn5v0m.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service68,
|
|
19
|
+
node72
|
|
20
|
+
} from "./bus-v4xjjhvg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
ID5,
|
|
23
|
+
Service51,
|
|
24
24
|
node54
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./bus-pbxwk0py.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID4,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
33
|
+
Service50,
|
|
34
34
|
node53
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./bus-ar6r26gf.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./bus-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: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service34,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured4,
|
|
66
|
+
layer: () => layer15,
|
|
67
|
+
node: () => node37
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode-ai/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID4.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
176
|
+
var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
177
177
|
const location = yield* Service72;
|
|
178
|
-
const environment = yield*
|
|
178
|
+
const environment = yield* Service68;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service51;
|
|
181
|
+
const integration = yield* Service50;
|
|
182
|
+
const credentials = yield* Service56;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID4.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError2({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -285,7 +285,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
285
285
|
const elicitation = {
|
|
286
286
|
create: (input) => Effect.gen(function* () {
|
|
287
287
|
if (input.params.mode === "url") {
|
|
288
|
-
const formID =
|
|
288
|
+
const formID = ID5.create();
|
|
289
289
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
290
290
|
urlElicitations.set(key, formID);
|
|
291
291
|
return yield* forms.ask({
|
|
@@ -403,7 +403,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
403
403
|
entry.scope = scope;
|
|
404
404
|
const authProvider = yield* connectProvider(entry);
|
|
405
405
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
406
|
-
const result = yield* 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(
|
|
406
|
+
const result = yield* 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(Service68, environment), Scope.provide(scope), Effect.exit);
|
|
407
407
|
if (Exit.isSuccess(result)) {
|
|
408
408
|
entry.client = result.value.connection;
|
|
409
409
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -527,7 +527,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
527
527
|
yield* startServer(name, entry);
|
|
528
528
|
}).pipe(locks.withLock(name));
|
|
529
529
|
});
|
|
530
|
-
fork(bus.subscribe(
|
|
530
|
+
fork(bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
531
531
|
const state = create3({
|
|
532
532
|
name: "mcp",
|
|
533
533
|
initial: () => ({
|
|
@@ -557,7 +557,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
557
557
|
concurrency: "unbounded",
|
|
558
558
|
discard: true
|
|
559
559
|
}));
|
|
560
|
-
return
|
|
560
|
+
return Service34.of({
|
|
561
561
|
transform: state.transform,
|
|
562
562
|
reload: state.reload,
|
|
563
563
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -677,14 +677,14 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
677
677
|
})
|
|
678
678
|
});
|
|
679
679
|
}));
|
|
680
|
-
function
|
|
680
|
+
function configured4(options) {
|
|
681
681
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
683
|
-
layer:
|
|
684
|
-
deps: [node77,
|
|
682
|
+
service: Service34,
|
|
683
|
+
layer: layer15(options),
|
|
684
|
+
deps: [node77, node72, node84, node54, node53, node59]
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var node37 = configured4();
|
|
688
688
|
function toElicitationField(key, property, required) {
|
|
689
689
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
690
690
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
738
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service34, Options4, layer15, configured4, node37, exports_mcp4 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-z1k01bn4.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
17
|
Service72,
|
|
18
18
|
node77
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-j1pn5v0m.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service69,
|
|
22
|
+
node73
|
|
23
|
+
} from "./bus-nbf26ms9.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service68,
|
|
33
|
+
node: () => node72
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service68,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node72,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service68 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service72;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service69;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service68.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node72 = makeLocationNode({
|
|
71
|
+
service: Service68,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node77,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node77, node73]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service68, node72, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-570hbvwx.js";
|
|
4
4
|
import {
|
|
5
5
|
ID18,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-4z6b0fg6.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-kkxjn8gg.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
@@ -5,44 +5,44 @@ import {
|
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-4z6b0fg6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service39,
|
|
11
|
+
node42
|
|
12
|
+
} from "./bus-ymy83g1g.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-0ez61b8c.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
VariantID2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Ref4
|
|
20
|
+
} from "./bus-3wfq9j39.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
ID4,
|
|
23
|
+
Service50,
|
|
24
24
|
node53
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./bus-ar6r26gf.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service49,
|
|
28
|
+
node52
|
|
29
|
+
} from "./bus-k2ahb10n.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./bus-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service38,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
41
41
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
42
42
|
fromCatalogModel: () => fromCatalogModel2,
|
|
43
43
|
hasPackage: () => hasPackage2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer18,
|
|
45
|
+
node: () => node41,
|
|
46
46
|
resolveModel: () => resolveModel2,
|
|
47
47
|
withVariant: () => withVariant2
|
|
48
48
|
});
|
|
@@ -53,7 +53,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
|
53
53
|
import { Npm } from "@opencode-ai/util/npm";
|
|
54
54
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
55
55
|
providerID: ID18,
|
|
56
|
-
modelID:
|
|
56
|
+
modelID: ID17,
|
|
57
57
|
variant: VariantID2
|
|
58
58
|
}) {
|
|
59
59
|
get message() {
|
|
@@ -63,7 +63,7 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
63
63
|
|
|
64
64
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
65
65
|
providerID: ID18,
|
|
66
|
-
modelID:
|
|
66
|
+
modelID: ID17,
|
|
67
67
|
package: Schema.String
|
|
68
68
|
}) {
|
|
69
69
|
get message() {
|
|
@@ -73,7 +73,7 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
73
73
|
|
|
74
74
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
75
75
|
providerID: ID18,
|
|
76
|
-
modelID:
|
|
76
|
+
modelID: ID17,
|
|
77
77
|
variables: Schema.Array(Schema.String)
|
|
78
78
|
}) {
|
|
79
79
|
get message() {
|
|
@@ -81,7 +81,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service38 extends Context.Service()("@opencode/ModelResolver") {
|
|
85
85
|
}
|
|
86
86
|
var withVariant2 = (model, variantID) => {
|
|
87
87
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -203,14 +203,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
203
203
|
});
|
|
204
204
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
205
205
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
206
|
-
var
|
|
207
|
-
const catalog = yield*
|
|
208
|
-
const integrations = yield*
|
|
206
|
+
var layer18 = Layer.effect(Service38, Effect.gen(function* () {
|
|
207
|
+
const catalog = yield* Service49;
|
|
208
|
+
const integrations = yield* Service50;
|
|
209
209
|
const npm = yield* Npm.Service;
|
|
210
|
-
const aisdk = yield*
|
|
210
|
+
const aisdk = yield* Service39;
|
|
211
211
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
212
212
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
213
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
213
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID4.make(selected.providerID));
|
|
214
214
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
215
215
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
216
216
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -220,7 +220,7 @@ var layer20 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
220
220
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
221
221
|
return {
|
|
222
222
|
model: runtime,
|
|
223
|
-
ref:
|
|
223
|
+
ref: Ref4.make({
|
|
224
224
|
id: selected.id,
|
|
225
225
|
providerID: selected.providerID,
|
|
226
226
|
...variant === undefined ? {} : { variant }
|
|
@@ -230,7 +230,7 @@ var layer20 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
230
230
|
limit: selected.limit
|
|
231
231
|
};
|
|
232
232
|
});
|
|
233
|
-
return
|
|
233
|
+
return Service38.of({
|
|
234
234
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
235
235
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
236
236
|
if (!selected)
|
|
@@ -247,10 +247,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
247
247
|
const name = packageName2(packageName);
|
|
248
248
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode-ai/ai/providers/openai" || name?.startsWith("@opencode-ai/ai/providers/openai/") === true || name === "@opencode-ai/ai/providers/anthropic" || name === "@opencode-ai/ai/providers/anthropic-compatible" || name === "@opencode-ai/ai/providers/cerebras" || name === "@opencode-ai/ai/providers/deepinfra" || name === "@opencode-ai/ai/providers/openai-compatible" || name === "@opencode-ai/ai/providers/google" || name === "@opencode-ai/ai/providers/groq" || name === "@opencode-ai/ai/providers/mistral" || name === "@opencode-ai/ai/providers/togetherai" || name === "@opencode-ai/ai/providers/xai" || name === "@opencode-ai/ai/providers/openrouter" || name === "@opencode-ai/ai/providers/azure" || name?.startsWith("@opencode-ai/ai/providers/azure/") === true;
|
|
249
249
|
}
|
|
250
|
-
var
|
|
251
|
-
service:
|
|
252
|
-
layer:
|
|
253
|
-
deps: [
|
|
250
|
+
var node41 = makeLocationNode({
|
|
251
|
+
service: Service38,
|
|
252
|
+
layer: layer18,
|
|
253
|
+
deps: [node52, node53, Npm.node, node42]
|
|
254
254
|
});
|
|
255
255
|
|
|
256
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3,
|
|
256
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service38, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer18, node41, exports_model_resolver };
|