@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,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-p5h4w4th.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event13,
|
|
18
|
+
ID: () => ID10,
|
|
19
|
+
Info: () => Info18,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service63,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node66
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event13 } from "@opencode/schema/agent";
|
|
29
|
+
var ID10 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID10.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info18 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service63 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service84;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info18.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID10.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service63.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID10.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID10.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node66 = makeLocationNode({ service: Service63, layer, deps: [node88] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID10, Name3, defaultID2, Color2, Info18, Service63, node66, exports_agent4, Event13 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./provider-nk15sya2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service74
|
|
12
|
+
} from "./provider-hck0njnj.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service64
|
|
15
|
+
} from "./provider-gtkys9g5.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-kaqckjty.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service59
|
|
24
|
+
} from "./provider-qenm3c1x.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service18
|
|
27
|
+
} from "./provider-qkze3bem.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input7,
|
|
37
|
+
Output: () => Output4,
|
|
38
|
+
Plugin: () => Plugin43,
|
|
39
|
+
name: () => name7,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name7 = "glob";
|
|
46
|
+
var Input7 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input12 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output4 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin43 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service74;
|
|
70
|
+
const ripgrep = yield* Service64;
|
|
71
|
+
const location = yield* Service76;
|
|
72
|
+
const access = yield* Service18;
|
|
73
|
+
const permission = yield* Service59;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name7,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input7,
|
|
79
|
+
output: Output4,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name7,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin32 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name7, Input7, Output4, toModelContent2, Plugin43, exports_glob };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-2vkbbze0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node80
|
|
10
|
+
} from "./provider-nk15sya2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service59,
|
|
13
|
+
node62
|
|
14
|
+
} from "./provider-qenm3c1x.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service18,
|
|
26
|
+
node: () => node20,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service18 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service76;
|
|
55
|
+
const permission = yield* Service59;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service18.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node20 = makeLocationNode({ service: Service18, layer, deps: [FSUtil.node, node80, node62] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service18, resolvePath2, node20, exports_file_access };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make13,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make13(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make13, render2, exports_system_prompt };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-a8fjrhec.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service84,
|
|
8
8
|
node88
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-p5h4w4th.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-h7s7r6s9.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./provider-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./provider-rj3eygr5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-c1fqxshp.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./provider-qxmgy5v8.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./provider-kqx1b4hy.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./provider-0chgmggq.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./provider-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./provider-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node26
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
467
467
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
468
468
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
469
469
|
}));
|
|
470
|
-
var
|
|
470
|
+
var node26 = makeGlobalNode({ name: "session-projector", layer, deps: [node88, node89] });
|
|
471
471
|
|
|
472
|
-
export { SessionAlreadyProjected2,
|
|
472
|
+
export { SessionAlreadyProjected2, node26, exports_projector };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-a8fjrhec.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-p5h4w4th.js";
|
|
7
7
|
import {
|
|
8
8
|
Service40
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-3ppptnan.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,38 +20,38 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-z2jd07rd.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./provider-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service61
|
|
29
|
+
} from "./provider-3wzwh970.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service38
|
|
34
|
+
} from "./provider-qxmgy5v8.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service36
|
|
37
|
+
} from "./provider-k1w7jx6t.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./provider-xd50x2en.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./provider-jfhb73ga.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./provider-thqhm7b8.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./provider-5mjdgbh9.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./provider-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,10 +65,10 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service84;
|
|
67
67
|
const database = yield* Service85;
|
|
68
|
-
const store = yield*
|
|
68
|
+
const store = yield* Service61;
|
|
69
69
|
const instances = yield* Service40;
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
70
|
+
const execution = yield* Service36;
|
|
71
|
+
const admission = yield* Service38;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./provider-kd7gkzrj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./provider-qenm3c1x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service58
|
|
14
|
+
} from "./provider-em3brvbs.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
22
|
Input: () => Input5,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin41,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
26
|
+
description: () => description3,
|
|
27
27
|
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -36,26 +36,26 @@ var httpErrors = new Map([
|
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
42
|
var Input5 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID6,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin41 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service59;
|
|
53
|
+
const forms = yield* Service71;
|
|
54
|
+
const websearch = yield* Service58;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
56
|
name: name5,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
58
|
+
description: description3,
|
|
59
59
|
input: Input5,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export { name5, NO_RESULTS2,
|
|
187
|
+
export { name5, NO_RESULTS2, description3, Input5, Plugin41, exports_websearch2 };
|