@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-p5h4w4th.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-x661k3y3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID13,
|
|
14
|
+
Service69,
|
|
15
|
+
node72,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./provider-vaz5qvqg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service76,
|
|
20
|
+
node80
|
|
21
|
+
} from "./provider-nk15sya2.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -40,12 +40,12 @@ __export(exports_provider3, {
|
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
42
|
Event: () => Event16,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
43
|
+
ID: () => ID12,
|
|
44
|
+
Info: () => Info21,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service68,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -56,7 +56,7 @@ __export(exports_provider3, {
|
|
|
56
56
|
mergeOverlay: () => mergeOverlay2,
|
|
57
57
|
modelSettings: () => modelSettings2,
|
|
58
58
|
nativeSettings: () => nativeSettings2,
|
|
59
|
-
node: () =>
|
|
59
|
+
node: () => node71,
|
|
60
60
|
packageName: () => packageName2,
|
|
61
61
|
timeout: () => timeout2,
|
|
62
62
|
timeouts: () => timeouts2
|
|
@@ -71,7 +71,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
71
71
|
import { Credential } from "@opencode/schema/credential";
|
|
72
72
|
import { freeze } from "immer";
|
|
73
73
|
import { Event as Event16 } from "@opencode/schema/provider";
|
|
74
|
-
var
|
|
74
|
+
var ID12 = Provider.ID;
|
|
75
75
|
var AISDK_PREFIX2 = "aisdk:";
|
|
76
76
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
77
77
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -253,9 +253,9 @@ var Request3 = Provider.Request;
|
|
|
253
253
|
var Compaction3 = Provider.Compaction;
|
|
254
254
|
var Transport2 = Provider.Transport;
|
|
255
255
|
var Settings2 = Provider.Settings;
|
|
256
|
-
var
|
|
256
|
+
var Info21 = Provider.Info;
|
|
257
257
|
|
|
258
|
-
class
|
|
258
|
+
class Service68 extends Context.Service()("@opencode/Provider") {
|
|
259
259
|
}
|
|
260
260
|
var definitions = new WeakMap;
|
|
261
261
|
function index(providerID, models) {
|
|
@@ -268,10 +268,10 @@ function index(providerID, models) {
|
|
|
268
268
|
definitions.set(models, indexes);
|
|
269
269
|
return result;
|
|
270
270
|
}
|
|
271
|
-
var layer = Layer.effect(
|
|
271
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
272
272
|
const bus = yield* Service84;
|
|
273
|
-
const integrations = yield*
|
|
274
|
-
const location = yield*
|
|
273
|
+
const integrations = yield* Service69;
|
|
274
|
+
const location = yield* Service76;
|
|
275
275
|
const state = create3({
|
|
276
276
|
name: "provider",
|
|
277
277
|
initial: () => new Map,
|
|
@@ -282,7 +282,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
282
282
|
const current = records.get(id);
|
|
283
283
|
if (current)
|
|
284
284
|
return current;
|
|
285
|
-
const added = { provider:
|
|
285
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
286
286
|
records.set(id, added);
|
|
287
287
|
maps.add(added.models);
|
|
288
288
|
return added;
|
|
@@ -363,7 +363,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
363
363
|
const available = Array.from(records.values()).filter((record) => {
|
|
364
364
|
if (record.provider.activation === "disabled")
|
|
365
365
|
return false;
|
|
366
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
366
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
367
367
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
368
368
|
return false;
|
|
369
369
|
if (record.provider.activation === "enabled")
|
|
@@ -389,8 +389,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
389
389
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
390
390
|
});
|
|
391
391
|
});
|
|
392
|
-
yield* bus.subscribe([
|
|
393
|
-
return
|
|
392
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
393
|
+
return Service68.of({
|
|
394
394
|
transform: state.transform,
|
|
395
395
|
reload: state.reload,
|
|
396
396
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -399,7 +399,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
399
399
|
snapshot
|
|
400
400
|
});
|
|
401
401
|
}));
|
|
402
|
-
var
|
|
402
|
+
var node71 = makeLocationNode({ service: Service68, layer, deps: [node88, node72, node80] });
|
|
403
403
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
404
404
|
const module = yield* Effect.tryPromise({
|
|
405
405
|
try: () => {
|
|
@@ -677,4 +677,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
677
677
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
678
678
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
679
679
|
|
|
680
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
680
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service68, node71, exports_provider3, Event16 };
|
|
@@ -1,37 +1,37 @@
|
|
|
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
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service70
|
|
11
|
+
} from "./provider-gbcpnbg0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-vaz5qvqg.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID12,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-hzmxkg1x.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID11,
|
|
22
22
|
VariantID2,
|
|
23
23
|
Info19
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-jf4mty79.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./provider-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./provider-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./provider-6ejbh5bw.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID12.openai;
|
|
47
|
+
var integrationID = ID13.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service84;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service70;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info19.default(ID12.openai, ID11.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-p5h4w4th.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-x661k3y3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./provider-gbcpnbg0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID13
|
|
12
|
+
} from "./provider-vaz5qvqg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID12,
|
|
15
|
+
Service68
|
|
16
|
+
} from "./provider-hzmxkg1x.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-v0y8rbp5.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service68;
|
|
30
30
|
const bus = yield* Service84;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,39 +1,39 @@
|
|
|
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
|
+
Service48
|
|
9
|
+
} from "./provider-5bxt3wpb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service43
|
|
12
|
+
} from "./provider-5h5cw0kb.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin8
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin8 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service48;
|
|
34
|
+
const location = yield* Service76;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service43;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin17 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin8, exports_worktree };
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-a8fjrhec.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-p5h4w4th.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID10,
|
|
14
|
+
Service63,
|
|
15
|
+
node66
|
|
16
|
+
} from "./provider-qgzg545f.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service65,
|
|
22
|
+
node68
|
|
23
|
+
} from "./provider-jf4mty79.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./provider-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./provider-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./provider-yrcj3v3g.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
load5
|
|
38
|
+
} from "./provider-0edhb53e.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./provider-pnzf6mjf.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service24,
|
|
47
|
+
node28
|
|
48
|
+
} from "./provider-es7kxqf0.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service39,
|
|
51
|
+
node41
|
|
52
|
+
} from "./provider-7s41t4qk.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./provider-zyk1yjk8.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./provider-xkqbx9x4.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./provider-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./provider-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service7,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
78
|
layer: () => layer7,
|
|
79
|
-
node: () =>
|
|
79
|
+
node: () => node9,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service7 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var layer7 = Layer.effect(
|
|
175
|
-
const agents = yield*
|
|
174
|
+
var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service63;
|
|
176
176
|
const bus = yield* Service84;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
178
|
+
const catalog = yield* Service65;
|
|
179
|
+
const models = yield* Service39;
|
|
180
180
|
const db = (yield* Service85).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service24;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID10.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -272,7 +272,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
272
272
|
const send = (request) => {
|
|
273
273
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
274
274
|
return Effect.gen(function* () {
|
|
275
|
-
const history = yield*
|
|
275
|
+
const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
|
|
276
276
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
277
277
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
278
278
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service7.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
481
|
+
var node9 = makeLocationNode({
|
|
482
|
+
service: Service7,
|
|
483
483
|
layer: layer7,
|
|
484
|
-
deps: [
|
|
484
|
+
deps: [node66, node88, node89, llmClient2, node68, node28, node41]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service7, buildPrompt2, layer7, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-p5h4w4th.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node80
|
|
12
|
+
} from "./provider-nk15sya2.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service68,
|
|
20
|
+
node71,
|
|
21
21
|
Event16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./provider-hzmxkg1x.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./provider-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,27 +30,27 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
36
|
Info: () => Info19,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service65,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node68,
|
|
45
|
+
parse: () => parse4,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
48
48
|
import { Model } from "@opencode/schema/model";
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event14 } from "@opencode/schema/model";
|
|
53
|
+
var ID11 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -68,12 +68,12 @@ var Cost2 = Model.Cost;
|
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
69
|
var Info19 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service65 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
73
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service68;
|
|
75
75
|
const bus = yield* Service84;
|
|
76
|
-
const location = yield*
|
|
76
|
+
const location = yield* Service76;
|
|
77
77
|
let input;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "model",
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
209
209
|
});
|
|
210
210
|
});
|
|
211
211
|
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
212
|
-
return
|
|
212
|
+
return Service65.of({
|
|
213
213
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
214
214
|
reload,
|
|
215
215
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
}));
|
|
231
|
-
var
|
|
231
|
+
var node68 = makeLocationNode({ service: Service65, layer, deps: [node71, node88, node80] });
|
|
232
232
|
function supportsText2(model) {
|
|
233
233
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
234
234
|
}
|
|
@@ -239,12 +239,12 @@ function compatibility2(input) {
|
|
|
239
239
|
return;
|
|
240
240
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function parse4(input) {
|
|
243
243
|
const index = input.indexOf("/");
|
|
244
244
|
return {
|
|
245
|
-
providerID:
|
|
246
|
-
modelID:
|
|
245
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
246
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
247
247
|
};
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
export {
|
|
250
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info19, Service65, node68, supportsText2, compatibility2, parse4, exports_model2, Event14 };
|