@opencode/core 0.0.0-dev-20960 → 0.0.0-dev-20962
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{bus-wk5z6jzv.js → provider-0996nyz8.js} +9 -9
- package/dist/chunks/{bus-kqy50e42.js → provider-0avkqsyh.js} +11 -11
- package/dist/chunks/{bus-4434d9q2.js → provider-0bg0bx69.js} +9 -9
- package/dist/chunks/{bus-398y121m.js → provider-0chgmggq.js} +11 -11
- package/dist/chunks/{bus-sxmekffs.js → provider-0edhb53e.js} +11 -11
- package/dist/chunks/{bus-782zrs06.js → provider-0fhevdjt.js} +5 -5
- package/dist/chunks/{bus-r0grdksa.js → provider-0fpa5v37.js} +18 -18
- package/dist/chunks/{bus-7dqw4kz8.js → provider-0jwsre1p.js} +5 -5
- package/dist/chunks/{bus-ywyx2haj.js → provider-0mm9aq32.js} +13 -13
- package/dist/chunks/{bus-v4mbb2sh.js → provider-0nyzhezz.js} +50 -50
- package/dist/chunks/{bus-4pt5zbtp.js → provider-0sa2fhnm.js} +11 -11
- package/dist/chunks/{bus-2aet7wja.js → provider-0t9wd588.js} +8 -8
- package/dist/chunks/{bus-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
- package/dist/chunks/{bus-26q6vggz.js → provider-178yzz4c.js} +6 -6
- package/dist/chunks/{bus-bdqng849.js → provider-1ahdxtnp.js} +35 -35
- package/dist/chunks/{bus-pa8pe2x7.js → provider-1ajx6rf5.js} +8 -8
- package/dist/chunks/{bus-00dkx0d4.js → provider-1ja1wxmc.js} +8 -8
- package/dist/chunks/{bus-atw403ht.js → provider-27fne53y.js} +32 -32
- package/dist/chunks/{bus-j3z348jk.js → provider-2anx6zyp.js} +11 -11
- package/dist/chunks/{bus-0k3esben.js → provider-2dfgztks.js} +5 -5
- package/dist/chunks/{bus-vjawha9d.js → provider-2p74at1f.js} +11 -11
- package/dist/chunks/{bus-vxvmm3ng.js → provider-2qjhvk9c.js} +17 -17
- package/dist/chunks/{bus-89ddhe7z.js → provider-2s2vbzb6.js} +17 -17
- package/dist/chunks/{bus-btxavp2f.js → provider-2vkbbze0.js} +43 -43
- package/dist/chunks/{bus-0ytnbz4y.js → provider-35rhfapn.js} +12 -12
- package/dist/chunks/{bus-33raapge.js → provider-3fae5vwa.js} +7 -7
- package/dist/chunks/{bus-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-82zb0sc7.js → provider-3hs5mxmp.js} +13 -13
- package/dist/chunks/{bus-3hwn7j4h.js → provider-3hwn7j4h.js} +2 -2
- package/dist/chunks/{bus-3ppptnan.js → provider-3ppptnan.js} +1 -1
- package/dist/chunks/provider-3qdqmnbt.js +26 -0
- package/dist/chunks/{bus-djc7xb42.js → provider-3qtz8e24.js} +19 -19
- package/dist/chunks/{bus-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-s36grbt2.js → provider-3wzwh970.js} +16 -16
- package/dist/chunks/{bus-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{bus-8xkfk1rq.js → provider-41wrsvw7.js} +14 -14
- package/dist/chunks/{bus-ghceazn2.js → provider-45ezyvr1.js} +13 -13
- package/dist/chunks/{bus-d416qwxh.js → provider-46s5zsn6.js} +193 -193
- package/dist/chunks/{bus-rmn1xy97.js → provider-4p85ce3k.js} +8 -8
- package/dist/chunks/{bus-4v086v4b.js → provider-4qrgz4fh.js} +4 -4
- package/dist/chunks/{bus-54ma36ye.js → provider-54ma36ye.js} +1 -1
- package/dist/chunks/{bus-6bg0sqtt.js → provider-5bxt3wpb.js} +44 -44
- package/dist/chunks/{bus-sfkj0ta1.js → provider-5d17xbav.js} +5 -5
- package/dist/chunks/{bus-9c2h48zs.js → provider-5dpgnwm1.js} +11 -11
- package/dist/chunks/{bus-qfqw5kx1.js → provider-5h5cw0kb.js} +19 -19
- package/dist/chunks/{bus-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-s7mtv1bq.js → provider-5mjdgbh9.js} +7 -7
- package/dist/chunks/{bus-e3qxr5gk.js → provider-5qd3pb7m.js} +2 -2
- package/dist/chunks/{bus-cjpmac0s.js → provider-5rf7prve.js} +13 -13
- package/dist/chunks/{bus-5rzwp8tz.js → provider-5rzwp8tz.js} +1 -1
- package/dist/chunks/{bus-ff8ymsvv.js → provider-5tzxr2xg.js} +10 -10
- package/dist/chunks/{bus-c9011knd.js → provider-6ejbh5bw.js} +6 -6
- package/dist/chunks/{bus-2ws178rw.js → provider-6msxjspv.js} +27 -27
- package/dist/chunks/{bus-ykfy41bp.js → provider-6vytd5f0.js} +10 -10
- package/dist/chunks/{bus-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
- package/dist/chunks/{bus-zm6e2j1c.js → provider-6zzvxpwv.js} +10 -10
- package/dist/chunks/{bus-sw9j6ksk.js → provider-71qj1krj.js} +24 -24
- package/dist/chunks/{bus-775gj3j1.js → provider-775gj3j1.js} +2 -2
- package/dist/chunks/{bus-xcbpqqbd.js → provider-79m1rfa1.js} +11 -11
- package/dist/chunks/{bus-s43j9fc8.js → provider-7aqn883v.js} +45 -45
- package/dist/chunks/{bus-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-9sbgnbhh.js → provider-7k4ntbhc.js} +15 -15
- package/dist/chunks/{bus-nxebrffs.js → provider-7pehn31s.js} +23 -23
- package/dist/chunks/{bus-nz1vskxa.js → provider-7s41t4qk.js} +13 -13
- package/dist/chunks/{bus-ktc4x85z.js → provider-7xkdmskh.js} +3 -3
- package/dist/chunks/{bus-7r26ccq8.js → provider-800bdyfv.js} +19 -19
- package/dist/chunks/{bus-qbqbaz6q.js → provider-80scg3y3.js} +4 -4
- package/dist/chunks/{bus-6sqmzbzs.js → provider-83rw8dgr.js} +4 -4
- package/dist/chunks/{bus-pmxdg44f.js → provider-85wvk3p1.js} +29 -29
- package/dist/chunks/{bus-1j8dkxme.js → provider-87skp6zd.js} +11 -11
- package/dist/chunks/{bus-0wq0ysk6.js → provider-8dr4q500.js} +15 -15
- package/dist/chunks/{bus-8m6m0r52.js → provider-8m6m0r52.js} +1 -1
- package/dist/chunks/{bus-n74py125.js → provider-8n5kbdvf.js} +19 -19
- package/dist/chunks/{bus-6bnjf6f4.js → provider-8na7k0g9.js} +8 -8
- package/dist/chunks/{bus-cwewv0hd.js → provider-8s9h0bgg.js} +10 -10
- package/dist/chunks/{bus-473fyxsj.js → provider-8tqny9xt.js} +4 -4
- package/dist/chunks/{bus-91qna3x0.js → provider-91qna3x0.js} +3 -3
- package/dist/chunks/{bus-kqv3x6rj.js → provider-97aeaand.js} +9 -9
- package/dist/chunks/{bus-z3a0qmaa.js → provider-99gkggwm.js} +11 -11
- package/dist/chunks/{bus-bj04ekg4.js → provider-9av8bacp.js} +27 -27
- package/dist/chunks/{bus-z5tadht1.js → provider-9e25vn24.js} +4 -4
- package/dist/chunks/{bus-2wkctjpk.js → provider-9k3h9x7c.js} +28 -28
- package/dist/chunks/{bus-jfwxvc8y.js → provider-a039zm1r.js} +11 -11
- package/dist/chunks/{bus-yt8mytmq.js → provider-a0a6dmtm.js} +37 -37
- package/dist/chunks/{bus-j42m18m7.js → provider-a8fjrhec.js} +3 -3
- package/dist/chunks/{bus-crxjpxy3.js → provider-ajdckhzw.js} +11 -11
- package/dist/chunks/{bus-jk8m7z7w.js → provider-amby2w69.js} +11 -11
- package/dist/chunks/{bus-d78rtj1k.js → provider-arnqn5aq.js} +17 -17
- package/dist/chunks/{bus-cb9bgdnx.js → provider-as743q1n.js} +22 -22
- package/dist/chunks/{bus-380jswzm.js → provider-b5ybqcma.js} +4 -4
- package/dist/chunks/{bus-19gt07c1.js → provider-b8gd3dkx.js} +11 -11
- package/dist/chunks/{bus-41y1pdrr.js → provider-bb96wvfv.js} +10 -10
- package/dist/chunks/{bus-h7x4vf5y.js → provider-bh92r7ax.js} +45 -45
- package/dist/chunks/{bus-pg3d8dpb.js → provider-btbmdjwj.js} +4 -4
- package/dist/chunks/{bus-n2q0s26t.js → provider-bty6dbnt.js} +25 -25
- package/dist/chunks/{bus-ed90f847.js → provider-bvjwexvn.js} +51 -51
- package/dist/chunks/{bus-qne3fa44.js → provider-bx0gyb4h.js} +5 -5
- package/dist/chunks/{bus-c1fqxshp.js → provider-c1fqxshp.js} +3 -3
- package/dist/chunks/{bus-twb1z4g5.js → provider-c5zvwsmq.js} +17 -17
- package/dist/chunks/{bus-shshnmxt.js → provider-cdvg6mh2.js} +4 -4
- package/dist/chunks/{bus-a3t537pd.js → provider-ce9taes4.js} +10 -10
- package/dist/chunks/{bus-hcc3q5rr.js → provider-cst3b3yb.js} +30 -30
- package/dist/chunks/{bus-6057rnvg.js → provider-cy9sv6ck.js} +11 -11
- package/dist/chunks/{bus-yxfmzf1f.js → provider-d1nddhfv.js} +3 -3
- package/dist/chunks/{bus-ratrq7cm.js → provider-d216944b.js} +7 -7
- package/dist/chunks/{bus-k1afr8k8.js → provider-d7rdamty.js} +14 -14
- package/dist/chunks/{bus-d4he2qe1.js → provider-djszqvmq.js} +9 -9
- package/dist/chunks/{bus-dqxsqydv.js → provider-dqxsqydv.js} +1 -1
- package/dist/chunks/{bus-8pdz634n.js → provider-drgqqq0e.js} +36 -36
- package/dist/chunks/{bus-1ey2nzn1.js → provider-e8mvx7yd.js} +11 -11
- package/dist/chunks/{bus-swm9mrax.js → provider-ebq43vw5.js} +24 -24
- package/dist/chunks/{bus-eej6y6fw.js → provider-eej6y6fw.js} +2 -2
- package/dist/chunks/{bus-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-tag4xnf9.js → provider-ehad32z2.js} +22 -22
- package/dist/chunks/{bus-1dd2w187.js → provider-em3brvbs.js} +23 -23
- package/dist/chunks/{bus-nm7sf511.js → provider-enpwqqn0.js} +13 -13
- package/dist/chunks/{bus-pfzygb21.js → provider-es7kxqf0.js} +33 -33
- package/dist/chunks/{bus-r9c5hhft.js → provider-f27s4mgk.js} +328 -328
- package/dist/chunks/{bus-ppvdn42r.js → provider-f2frejk5.js} +5 -5
- package/dist/chunks/{bus-yp2x3t23.js → provider-f2n192rq.js} +4 -4
- package/dist/chunks/{bus-vktwk5kv.js → provider-f58gpcny.js} +9 -9
- package/dist/chunks/{bus-64x0hgxn.js → provider-fet8v0n8.js} +18 -18
- package/dist/chunks/{bus-ax80y0b8.js → provider-fk7yywng.js} +18 -19
- package/dist/chunks/{bus-7f3rbzsp.js → provider-fnj7ew7f.js} +50 -50
- package/dist/chunks/{bus-fqwtbb5g.js → provider-fnpj0ea6.js} +15 -15
- package/dist/chunks/{bus-2k4mbjc5.js → provider-fww2ha2b.js} +10 -10
- package/dist/chunks/{bus-0vhqfmyc.js → provider-fxjy1gaz.js} +23 -23
- package/dist/chunks/{bus-cqk47g7r.js → provider-g3f6525a.js} +24 -24
- package/dist/chunks/{bus-4j0w6qav.js → provider-gbcpnbg0.js} +28 -28
- package/dist/chunks/{bus-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-fx806nkn.js → provider-gqjfsscs.js} +8 -8
- package/dist/chunks/{bus-hn57h045.js → provider-gst7axd9.js} +4 -4
- package/dist/chunks/{bus-z6b1b6at.js → provider-gtkys9g5.js} +18 -18
- package/dist/chunks/{bus-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-h7s7r6s9.js → provider-h7s7r6s9.js} +2 -2
- package/dist/chunks/{bus-1f5q1a3x.js → provider-hck0njnj.js} +24 -24
- package/dist/chunks/{bus-hgz4x7wa.js → provider-hgz4x7wa.js} +1 -1
- package/dist/chunks/{bus-wfq5er05.js → provider-hns8fa6k.js} +1 -1
- package/dist/chunks/{bus-w4650645.js → provider-hnyjm6g5.js} +7 -7
- package/dist/chunks/{bus-gsc0aa41.js → provider-hs0emwqk.js} +33 -33
- package/dist/chunks/{bus-k8wpe4va.js → provider-hs4s17a6.js} +29 -29
- package/dist/chunks/provider-ht5y0zrb.js +18 -0
- package/dist/chunks/{bus-x7zk3xe8.js → provider-hwfx9e0v.js} +3 -3
- package/dist/chunks/{bus-3bt0s3jd.js → provider-hxpxs7m5.js} +34 -34
- package/dist/chunks/{bus-3jgm4556.js → provider-hyrayrht.js} +87 -87
- package/dist/chunks/{bus-fwgc76aj.js → provider-hzmxkg1x.js} +28 -28
- package/dist/chunks/{bus-0t5za6dd.js → provider-j1rz9bja.js} +20 -20
- package/dist/chunks/{bus-3j62vzr6.js → provider-j2v9e2av.js} +13 -13
- package/dist/chunks/{bus-r25wmq2t.js → provider-j3pmf3xc.js} +15 -15
- package/dist/chunks/{bus-4eknkaec.js → provider-j972kp05.js} +42 -42
- package/dist/chunks/{bus-5cz20m1h.js → provider-jf4mty79.js} +27 -27
- package/dist/chunks/{bus-834j5p15.js → provider-jfhb73ga.js} +17 -17
- package/dist/chunks/{bus-stm29492.js → provider-jftcm1p2.js} +16 -16
- package/dist/chunks/{bus-6g107h22.js → provider-jk540des.js} +2 -2
- package/dist/chunks/provider-jp851rwh.js +253 -0
- package/dist/chunks/{bus-6pc27hjz.js → provider-jws6fkes.js} +4 -4
- package/dist/chunks/{bus-rmgkpjed.js → provider-k1w7jx6t.js} +34 -34
- package/dist/chunks/{bus-64vw3q0a.js → provider-k2bz20w5.js} +47 -47
- package/dist/chunks/{bus-p7zpqra7.js → provider-k436a2zc.js} +5 -5
- package/dist/chunks/{bus-maahtrna.js → provider-k6bpcq3t.js} +28 -28
- package/dist/chunks/{bus-18bsjer9.js → provider-kaqckjty.js} +34 -34
- package/dist/chunks/{bus-77mnv1p1.js → provider-kd7gkzrj.js} +24 -24
- package/dist/chunks/{bus-khmqacep.js → provider-khmqacep.js} +1 -1
- package/dist/chunks/{bus-g686f6pq.js → provider-kjd40bgk.js} +9 -9
- package/dist/chunks/{bus-kqx1b4hy.js → provider-kqx1b4hy.js} +4 -4
- package/dist/chunks/{bus-58072hz9.js → provider-m5jcjszt.js} +3 -3
- package/dist/chunks/{bus-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-maspj1v3.js → provider-maspj1v3.js} +1 -1
- package/dist/chunks/{bus-6vcqh3nn.js → provider-mfzbxada.js} +16 -16
- package/dist/chunks/{bus-nzyq0fma.js → provider-mmvj8fee.js} +19 -19
- package/dist/chunks/{bus-jqa5tae4.js → provider-mqe9x832.js} +66 -66
- package/dist/chunks/{bus-xj1thgjc.js → provider-mw6hct32.js} +5 -5
- package/dist/chunks/{bus-wwvf330t.js → provider-n61013np.js} +11 -11
- package/dist/chunks/{bus-00gkfv3g.js → provider-n9rk3330.js} +5 -5
- package/dist/chunks/{bus-4r9en7k0.js → provider-nggjaaey.js} +20 -20
- package/dist/chunks/{bus-892mrmp0.js → provider-ngts6ef0.js} +8 -8
- package/dist/chunks/{bus-yecejfqf.js → provider-nk15sya2.js} +17 -17
- package/dist/chunks/{bus-aff8x0jf.js → provider-nmb6s6yx.js} +15 -15
- package/dist/chunks/{bus-ap1cjxc7.js → provider-np95nkwd.js} +9 -9
- package/dist/chunks/{bus-rpg8pfb4.js → provider-p5g5pbnc.js} +30 -30
- package/dist/chunks/{bus-3vkqtywc.js → provider-p5h4w4th.js} +4 -4
- package/dist/chunks/{bus-f3j42fy9.js → provider-p7xkakat.js} +22 -22
- package/dist/chunks/{bus-wd8fgp30.js → provider-pdmy1nqv.js} +26 -26
- package/dist/chunks/{bus-rsyjv6mg.js → provider-pj8fb3qr.js} +9 -9
- package/dist/chunks/{bus-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{bus-44d22bhd.js → provider-pkt1g79k.js} +5 -5
- package/dist/chunks/{bus-gd0tnyjc.js → provider-pnzf6mjf.js} +1 -1
- package/dist/chunks/{bus-4kc9f4z3.js → provider-pq3tqnwt.js} +18 -18
- package/dist/chunks/{bus-ygkay44d.js → provider-psgbjfb6.js} +25 -25
- package/dist/chunks/{bus-a734d9pv.js → provider-pxme7dsc.js} +17 -17
- package/dist/chunks/{bus-0j77ygfz.js → provider-q0xm7vwc.js} +6 -6
- package/dist/chunks/{bus-thwkaytk.js → provider-q38a94v8.js} +32 -32
- package/dist/chunks/{bus-rqx3t2mm.js → provider-qax75a92.js} +9 -9
- package/dist/chunks/{bus-cg961tyv.js → provider-qenm3c1x.js} +52 -52
- package/dist/chunks/{bus-9zyrfkt6.js → provider-qgzg545f.js} +24 -24
- package/dist/chunks/{bus-8wzg168y.js → provider-qhd8ymp6.js} +35 -35
- package/dist/chunks/{bus-0gkk5ev5.js → provider-qkze3bem.js} +18 -18
- package/dist/chunks/{bus-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
- package/dist/chunks/{bus-drwq78ky.js → provider-qqeeq2t9.js} +7 -7
- package/dist/chunks/{bus-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-dkx8hh7h.js → provider-qsg3v84t.js} +16 -16
- package/dist/chunks/{bus-gd9k1kqd.js → provider-qt4mgqne.js} +21 -21
- package/dist/chunks/{bus-g0szv97q.js → provider-qvsmbsx7.js} +18 -18
- package/dist/chunks/{bus-rnpgyt0h.js → provider-qxmgy5v8.js} +20 -20
- package/dist/chunks/{bus-wfpht1wy.js → provider-r2m1ycex.js} +32 -32
- package/dist/chunks/{bus-aesxv1ar.js → provider-r42rxzp2.js} +15 -15
- package/dist/chunks/{bus-3pzne7nj.js → provider-r66p9w6v.js} +3 -3
- package/dist/chunks/{bus-bb48m4jz.js → provider-r70qewr9.js} +17 -17
- package/dist/chunks/{bus-3r5g4k1g.js → provider-rc07w95g.js} +10 -10
- package/dist/chunks/{bus-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-rert0e01.js → provider-rert0e01.js} +2 -2
- package/dist/chunks/{bus-1fgrf8ne.js → provider-rfh3waba.js} +18 -18
- package/dist/chunks/{bus-s2zv6nyz.js → provider-rh92rkmz.js} +5 -5
- package/dist/chunks/{bus-rhjbct0v.js → provider-rhjbct0v.js} +1 -1
- package/dist/chunks/{bus-rj3eygr5.js → provider-rj3eygr5.js} +2 -2
- package/dist/chunks/{bus-prsra7d9.js → provider-rn2k52va.js} +16 -16
- package/dist/chunks/{bus-7fqf872z.js → provider-rq8w23r5.js} +11 -11
- package/dist/chunks/{bus-hf9tj6qr.js → provider-s5tkhmxc.js} +5 -5
- package/dist/chunks/{bus-sa8ekw3f.js → provider-sa8ekw3f.js} +2 -2
- package/dist/chunks/{bus-nv3ptt7p.js → provider-sr9gvwf8.js} +4 -4
- package/dist/chunks/{bus-tkpexp8c.js → provider-ss4vf093.js} +5 -5
- package/dist/chunks/{bus-syv4x271.js → provider-syv4x271.js} +1 -1
- package/dist/chunks/{bus-rm32pmqw.js → provider-t6m4fh97.js} +32 -32
- package/dist/chunks/{bus-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{bus-wq2yy38y.js → provider-tdtcw4xa.js} +32 -32
- package/dist/chunks/{bus-g4kgqnsj.js → provider-te482g04.js} +6 -6
- package/dist/chunks/{bus-e5c52b1q.js → provider-thqhm7b8.js} +7 -7
- package/dist/chunks/{bus-tm0kqsz3.js → provider-tm0kqsz3.js} +1 -1
- package/dist/chunks/{bus-v4vcq6h6.js → provider-tpprgjsf.js} +11 -11
- package/dist/chunks/{bus-g0ns0t0h.js → provider-ty907bk2.js} +11 -11
- package/dist/chunks/{bus-tyytaxap.js → provider-tyytaxap.js} +1 -1
- package/dist/chunks/{bus-9y3p8hw6.js → provider-tzhess53.js} +4 -4
- package/dist/chunks/{bus-gccjnz6h.js → provider-v0xmac3n.js} +2 -2
- package/dist/chunks/{bus-nd1fsjn1.js → provider-v0y8rbp5.js} +9 -9
- package/dist/chunks/{bus-js67rrqy.js → provider-v5x24k53.js} +35 -35
- package/dist/chunks/{bus-v7p4zvkq.js → provider-v7p4zvkq.js} +2 -2
- package/dist/chunks/{bus-a6hpz6kj.js → provider-v7pgrky2.js} +18 -18
- package/dist/chunks/{bus-zad36gve.js → provider-vaz5qvqg.js} +28 -28
- package/dist/chunks/{bus-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
- package/dist/chunks/{bus-meksxd78.js → provider-w0g3ptdb.js} +9 -9
- package/dist/chunks/{bus-84txncab.js → provider-w1eejvng.js} +5 -5
- package/dist/chunks/{bus-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{bus-6yz0wx8n.js → provider-wh6zw745.js} +5 -5
- package/dist/chunks/{bus-ywt8jp22.js → provider-wjr9rjd7.js} +6 -6
- package/dist/chunks/{bus-4g16f462.js → provider-wnbanjze.js} +3 -3
- package/dist/chunks/{bus-dwzw3ysq.js → provider-wt86dmhn.js} +6 -6
- package/dist/chunks/{bus-amky5vfe.js → provider-wxhs1qjx.js} +21 -21
- package/dist/chunks/{bus-nxn41ptx.js → provider-wz3sw48p.js} +11 -11
- package/dist/chunks/{bus-3y377wv9.js → provider-x661k3y3.js} +4 -4
- package/dist/chunks/{bus-j3wt0nwb.js → provider-x98ee4vw.js} +3 -3
- package/dist/chunks/{bus-btp8fcp1.js → provider-xapeapez.js} +32 -32
- package/dist/chunks/{bus-d0t3dw1s.js → provider-xd50x2en.js} +14 -14
- package/dist/chunks/{bus-g8msvjt6.js → provider-xhrgsrn3.js} +11 -11
- package/dist/chunks/{bus-zpb199nx.js → provider-xjy2aw5f.js} +2 -2
- package/dist/chunks/{bus-1d5h2wfm.js → provider-xkqbx9x4.js} +5 -5
- package/dist/chunks/{bus-d45zy1ke.js → provider-xzvhangy.js} +9 -9
- package/dist/chunks/{bus-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-y71avatq.js → provider-y71avatq.js} +1 -1
- package/dist/chunks/{bus-nd37ta7v.js → provider-y8p3zjbc.js} +8 -8
- package/dist/chunks/{bus-3q1tbpxr.js → provider-ybzwk8bv.js} +20 -20
- package/dist/chunks/{bus-0gw4emb7.js → provider-yh9ky8zt.js} +23 -23
- package/dist/chunks/{bus-4z58m4b4.js → provider-yrcj3v3g.js} +4 -4
- package/dist/chunks/{bus-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-m22batcp.js → provider-z2jd07rd.js} +7 -7
- package/dist/chunks/{bus-rrkmx6ac.js → provider-zbg202n1.js} +4 -4
- package/dist/chunks/{bus-b2ek08gx.js → provider-znm4dr2c.js} +81 -81
- package/dist/chunks/{bus-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-81jw5x1j.js → provider-ztc63c18.js} +1 -1
- package/dist/chunks/{bus-0181gbjf.js → provider-zx5x520x.js} +20 -20
- package/dist/chunks/{bus-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/chunks/{bus-zyk1yjk8.js → provider-zyk1yjk8.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- 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/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- 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/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/bus-1x11rq2a.js +0 -18
- package/dist/chunks/bus-aa1ahzj9.js +0 -26
- package/dist/chunks/bus-eba0thny.js +0 -253
- /package/dist/chunks/{bus-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → provider-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → provider-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → provider-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → provider-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → provider-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-pkyv6v7h.js → provider-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{bus-pyv0edze.js → provider-pyv0edze.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → provider-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wjj7prxr.js → provider-wjj7prxr.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service25,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node29
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service25 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service21, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service25.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node29 = makeGlobalNode({ service: Service25, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service25, makeLayer2, layer13, node29, exports_model_transport };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./provider-5bxt3wpb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./provider-bvjwexvn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin9,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin9 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service48;
|
|
28
|
+
const mcp = yield* Service30;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin9, register2, exports_mcp };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID13,
|
|
3
|
+
Service69,
|
|
4
|
+
node72
|
|
5
|
+
} from "./provider-vaz5qvqg.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
Service70,
|
|
19
|
-
node74
|
|
20
|
-
} from "./bus-fwgc76aj.js";
|
|
21
|
-
import {
|
|
22
18
|
Service68,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
19
|
+
node71
|
|
20
|
+
} from "./provider-hzmxkg1x.js";
|
|
21
|
+
import {
|
|
22
|
+
Service47,
|
|
23
|
+
node50
|
|
24
|
+
} from "./provider-tpprgjsf.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID11,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service65,
|
|
30
|
+
node68,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./provider-jf4mty79.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./provider-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service46,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer21,
|
|
52
|
+
node: () => node49,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID12,
|
|
63
|
+
modelID: ID11,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID12,
|
|
73
|
+
modelID: ID11,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID12,
|
|
84
|
+
modelID: ID11,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID12,
|
|
95
|
+
modelID: ID11,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID12,
|
|
107
|
+
modelID: ID11,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID12,
|
|
117
|
+
modelID: ID11,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service46 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -236,7 +236,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
236
236
|
return tokenSettings(specifier, credential.access);
|
|
237
237
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
238
238
|
return { auth: "sigv4" };
|
|
239
|
-
if (model.providerID ===
|
|
239
|
+
if (model.providerID === ID12.azure)
|
|
240
240
|
return tokenSettings(specifier, "azure-cli");
|
|
241
241
|
return {};
|
|
242
242
|
};
|
|
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var
|
|
275
|
-
const providers = yield*
|
|
276
|
-
const models = yield*
|
|
277
|
-
const integrations = yield*
|
|
274
|
+
var layer21 = Layer.effect(Service46, Effect.gen(function* () {
|
|
275
|
+
const providers = yield* Service68;
|
|
276
|
+
const models = yield* Service65;
|
|
277
|
+
const integrations = yield* Service69;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service47;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
282
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
|
|
283
283
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
284
284
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
285
285
|
const runtimeInfo = {
|
|
@@ -306,7 +306,7 @@ var layer26 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service46.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
312
|
if (!selected)
|
|
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
323
|
const name = packageName2(packageName);
|
|
324
324
|
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/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
328
|
-
layer:
|
|
329
|
-
deps: [
|
|
326
|
+
var node49 = makeLocationNode({
|
|
327
|
+
service: Service46,
|
|
328
|
+
layer: layer21,
|
|
329
|
+
deps: [node71, node68, node72, Npm.node, node50]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service46, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node49, exports_model_resolver };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin28
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin28 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin38 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin28, exports_mcp_codemode_defaults };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-pyv0edze.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-91qna3x0.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service52,
|
|
17
|
+
node55
|
|
18
|
+
} from "./provider-f58gpcny.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service62,
|
|
21
|
+
node65
|
|
22
|
+
} from "./provider-ngts6ef0.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./provider-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./provider-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service51,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node54
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service51 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service62;
|
|
58
|
+
const image = yield* Service52;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service51.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node54 = makeLocationNode({
|
|
277
|
+
service: Service51,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node65, node55]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service51, node54, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-p5h4w4th.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service70,
|
|
11
|
+
node73
|
|
12
|
+
} from "./provider-gbcpnbg0.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service76,
|
|
15
|
+
node80
|
|
16
|
+
} from "./provider-nk15sya2.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service74,
|
|
19
|
+
node77
|
|
20
|
+
} from "./provider-hck0njnj.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service71,
|
|
24
|
+
node74
|
|
25
|
+
} from "./provider-kd7gkzrj.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./provider-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service69,
|
|
34
|
+
node72
|
|
35
|
+
} from "./provider-vaz5qvqg.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./provider-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: () => NotFoundError3,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service30,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured4,
|
|
56
|
+
layer: () => layer16,
|
|
57
|
+
node: () => node33
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service30 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer16 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service76;
|
|
116
|
+
const environment = yield* Service74;
|
|
117
117
|
const bus = yield* Service84;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service71;
|
|
119
|
+
const integration = yield* Service69;
|
|
120
|
+
const credentials = yield* Service70;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID13.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service70, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError3({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service70, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID15.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
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(
|
|
272
|
+
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(Service74, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service30.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service30,
|
|
536
|
+
layer: layer16(options),
|
|
537
|
+
deps: [node80, node77, node88, node74, node72, node73]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node33 = configured4();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service30, Options4, layer16, configured4, node33, exports_mcp4 };
|