@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
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./provider-nk15sya2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service18
|
|
9
|
+
} from "./provider-qkze3bem.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service12
|
|
12
|
+
} from "./provider-800bdyfv.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service13
|
|
27
|
+
} from "./provider-pxme7dsc.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input12,
|
|
36
|
+
Plugin: () => Plugin49,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name12,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name12 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input12 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin49 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service13;
|
|
62
|
+
const access = yield* Service18;
|
|
63
|
+
const sessionInstructions = yield* Service12;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name12,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input12,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin22 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent6 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name12, Input12, Plugin49, toModelContent6, exports_read };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-p5h4w4th.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
Event21
|
|
7
|
+
} from "./provider-ybzwk8bv.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin36,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin36 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service84;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service82;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin48 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event21.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin36, exports_plugin };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./provider-bvjwexvn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service59
|
|
9
|
+
} from "./provider-qenm3c1x.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin40
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin40 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service30;
|
|
26
|
+
const permission = yield* Service59;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin23 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin40, exports_mcp_resource };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-a8fjrhec.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service84,
|
|
8
8
|
node88
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-p5h4w4th.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-775gj3j1.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-0edhb53e.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service61,
|
|
21
|
+
node64
|
|
22
|
+
} from "./provider-3wzwh970.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service20,
|
|
25
|
+
node23
|
|
26
|
+
} from "./provider-hyrayrht.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
41
|
layer: () => layer3,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var layer3 = Layer.effect(
|
|
61
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service84;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service20;
|
|
65
|
+
const store = yield* Service61;
|
|
66
66
|
const db = (yield* Service85).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service2.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
150
|
+
var node3 = makeLocationNode({
|
|
151
|
+
service: Service2,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [node88, llmClient2,
|
|
153
|
+
deps: [node88, llmClient2, node23, node64, node89]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service48
|
|
4
|
+
} from "./provider-5bxt3wpb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service81
|
|
7
|
+
} from "./provider-2p74at1f.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin11
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin11 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service48;
|
|
27
|
+
const output = yield* Service81;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin5 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin11, exports_tool_output };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-rq8w23r5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-p5h4w4th.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID14,
|
|
9
|
+
Event18,
|
|
10
|
+
Service70
|
|
11
|
+
} from "./provider-gbcpnbg0.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-x661k3y3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-vaz5qvqg.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID12,
|
|
24
|
+
Service68
|
|
25
|
+
} from "./provider-hzmxkg1x.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID11
|
|
28
|
+
} from "./provider-jf4mty79.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./provider-6ejbh5bw.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make7(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service84;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service70;
|
|
77
|
+
const providers = yield* Service68;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make8(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID12.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID12.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make8(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make8(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make8(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID12.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make8(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make8(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make8(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID12.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make8(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make8(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID12.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID12.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make8(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID12.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make8(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID12.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID12.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make8(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID12.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make7();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID11.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID11.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make7, AzurePlugin2 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./provider-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|