@opencode/core 0.0.0-dev-20962 → 0.0.0-dev-20965
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/{provider-k2bz20w5.js → variant-0821qp31.js} +39 -39
- package/dist/chunks/{provider-j3pmf3xc.js → variant-08axjxgx.js} +13 -13
- package/dist/chunks/{provider-m5jcjszt.js → variant-08rawchj.js} +2 -2
- package/dist/chunks/{provider-0avkqsyh.js → variant-0aqkm3bj.js} +12 -12
- package/dist/chunks/{provider-fxjy1gaz.js → variant-0e6afmah.js} +29 -29
- package/dist/chunks/{provider-0vbcp93d.js → variant-0emb60td.js} +2 -2
- package/dist/chunks/{provider-q0xm7vwc.js → variant-0j77ygfz.js} +6 -6
- package/dist/chunks/variant-0wrjkmeb.js +26 -0
- package/dist/chunks/{provider-qt4mgqne.js → variant-0x6tm39e.js} +31 -31
- package/dist/chunks/{provider-hnyjm6g5.js → variant-0z9vq3n9.js} +7 -7
- package/dist/chunks/variant-10rgf74w.js +253 -0
- package/dist/chunks/{provider-fnpj0ea6.js → variant-16ce7mxz.js} +11 -11
- package/dist/chunks/{provider-ss4vf093.js → variant-184e73e7.js} +3 -3
- package/dist/chunks/{provider-bh92r7ax.js → variant-1b1vcbyp.js} +28 -28
- package/dist/chunks/{provider-p5h4w4th.js → variant-1dgd40yc.js} +4 -4
- package/dist/chunks/{provider-wjr9rjd7.js → variant-1ffvrpkg.js} +9 -9
- package/dist/chunks/{provider-es7kxqf0.js → variant-1g2tzbqy.js} +31 -31
- package/dist/chunks/{provider-d216944b.js → variant-1g7epwpd.js} +4 -4
- package/dist/chunks/{provider-4p85ce3k.js → variant-1j8hy33p.js} +8 -8
- package/dist/chunks/{provider-pxme7dsc.js → variant-1jg8srde.js} +15 -15
- package/dist/chunks/{provider-2p74at1f.js → variant-1shzte8w.js} +11 -11
- package/dist/chunks/{provider-xd50x2en.js → variant-1sne15z1.js} +16 -16
- package/dist/chunks/{provider-mfzbxada.js → variant-1wqbhyhn.js} +20 -20
- package/dist/chunks/variant-1x11rq2a.js +18 -0
- package/dist/chunks/{provider-5rf7prve.js → variant-1zqh2xam.js} +11 -11
- package/dist/chunks/{provider-8s9h0bgg.js → variant-215yrs1m.js} +10 -10
- package/dist/chunks/{provider-99gkggwm.js → variant-22dae4yx.js} +14 -14
- package/dist/chunks/{provider-b5ybqcma.js → variant-2k05yhhs.js} +4 -4
- package/dist/chunks/{provider-0jwsre1p.js → variant-2k8khapm.js} +5 -5
- package/dist/chunks/{provider-pq3tqnwt.js → variant-2kzdwg0n.js} +20 -20
- package/dist/chunks/{provider-0mm9aq32.js → variant-2s7cj1a3.js} +18 -18
- package/dist/chunks/{provider-djszqvmq.js → variant-2sejkfem.js} +9 -9
- package/dist/chunks/{provider-qhd8ymp6.js → variant-30f50eyj.js} +30 -30
- package/dist/chunks/{provider-k6bpcq3t.js → variant-318ps4mw.js} +26 -26
- package/dist/chunks/{provider-ebq43vw5.js → variant-31ccf081.js} +21 -21
- package/dist/chunks/{provider-h7s7r6s9.js → variant-31xfzrxg.js} +5 -5
- package/dist/chunks/{provider-9av8bacp.js → variant-3esz0pk7.js} +27 -27
- package/dist/chunks/{provider-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3hwn7j4h.js → variant-3hwn7j4h.js} +2 -2
- package/dist/chunks/{provider-xzvhangy.js → variant-3jys3s1h.js} +9 -9
- package/dist/chunks/{provider-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
- package/dist/chunks/{provider-ce9taes4.js → variant-45emh9sw.js} +12 -12
- package/dist/chunks/{provider-83rw8dgr.js → variant-49a8ke3b.js} +4 -4
- package/dist/chunks/{provider-bx0gyb4h.js → variant-4f1b800q.js} +5 -5
- package/dist/chunks/{provider-xkqbx9x4.js → variant-4ghc2kqd.js} +5 -5
- package/dist/chunks/{provider-rn2k52va.js → variant-4ptrhz46.js} +16 -16
- package/dist/chunks/{provider-46s5zsn6.js → variant-4qbhtwgs.js} +134 -134
- package/dist/chunks/{provider-8n5kbdvf.js → variant-4r580w2s.js} +14 -14
- package/dist/chunks/{provider-5tzxr2xg.js → variant-4tvnehfx.js} +9 -9
- package/dist/chunks/{provider-54ma36ye.js → variant-54ma36ye.js} +1 -1
- package/dist/chunks/{provider-6ejbh5bw.js → variant-5c7zhz82.js} +6 -6
- package/dist/chunks/{provider-g3f6525a.js → variant-5k19yq9w.js} +20 -20
- package/dist/chunks/{provider-5m9w47nd.js → variant-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-ajdckhzw.js → variant-5q5yxa5j.js} +6 -6
- package/dist/chunks/{provider-d7rdamty.js → variant-5vsvabpe.js} +10 -10
- package/dist/chunks/{provider-znm4dr2c.js → variant-5xdxnttq.js} +78 -78
- package/dist/chunks/{provider-hs0emwqk.js → variant-675h9k08.js} +25 -25
- package/dist/chunks/{provider-9e25vn24.js → variant-690t7gnv.js} +4 -4
- package/dist/chunks/{provider-27fne53y.js → variant-6b4mrnbq.js} +21 -21
- package/dist/chunks/{provider-5bxt3wpb.js → variant-6cb5bya6.js} +42 -42
- package/dist/chunks/{provider-jk540des.js → variant-6g107h22.js} +2 -2
- package/dist/chunks/{provider-f2frejk5.js → variant-6h8epbhc.js} +1 -1
- package/dist/chunks/{provider-6xb47vfp.js → variant-6xb47vfp.js} +1 -1
- package/dist/chunks/{provider-ehad32z2.js → variant-6xw72zbe.js} +13 -13
- package/dist/chunks/{provider-775gj3j1.js → variant-775gj3j1.js} +2 -2
- package/dist/chunks/{provider-v7pgrky2.js → variant-79c12bt7.js} +20 -20
- package/dist/chunks/{provider-ty907bk2.js → variant-7bcehx3h.js} +2 -2
- package/dist/chunks/{provider-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-jf4mty79.js → variant-7f5dsppb.js} +24 -24
- package/dist/chunks/{provider-9k3h9x7c.js → variant-7jbtvk67.js} +28 -28
- package/dist/chunks/{provider-79m1rfa1.js → variant-7qdqhac4.js} +11 -11
- package/dist/chunks/{provider-bty6dbnt.js → variant-7tqnqen3.js} +22 -22
- package/dist/chunks/{provider-np95nkwd.js → variant-7ycwyhsn.js} +6 -6
- package/dist/chunks/{provider-w1eejvng.js → variant-84txncab.js} +5 -5
- package/dist/chunks/{provider-n61013np.js → variant-8b0kp1c1.js} +11 -11
- package/dist/chunks/{provider-8m6m0r52.js → variant-8m6m0r52.js} +1 -1
- package/dist/chunks/{provider-5mjdgbh9.js → variant-8mta8yrw.js} +9 -9
- package/dist/chunks/{provider-qkze3bem.js → variant-8nx44vyg.js} +15 -15
- package/dist/chunks/{provider-3hs5mxmp.js → variant-8ryt04pb.js} +13 -13
- package/dist/chunks/{provider-qenm3c1x.js → variant-8t6tsgff.js} +49 -49
- package/dist/chunks/{provider-kqx1b4hy.js → variant-94cmvxd3.js} +4 -4
- package/dist/chunks/{provider-enpwqqn0.js → variant-95e562ab.js} +16 -16
- package/dist/chunks/{provider-fnj7ew7f.js → variant-98pn6x6y.js} +43 -43
- package/dist/chunks/{provider-0fhevdjt.js → variant-9bbnj2zh.js} +5 -5
- package/dist/chunks/{provider-c5zvwsmq.js → variant-9vq825kb.js} +15 -15
- package/dist/chunks/{provider-pdmy1nqv.js → variant-9x7n08av.js} +25 -25
- package/dist/chunks/{provider-5d17xbav.js → variant-a694798e.js} +5 -5
- package/dist/chunks/{provider-rh92rkmz.js → variant-a8w6dpt8.js} +3 -3
- package/dist/chunks/{provider-cdvg6mh2.js → variant-acp27cb6.js} +6 -6
- package/dist/chunks/{provider-nk15sya2.js → variant-aed4v31e.js} +5 -5
- package/dist/chunks/{provider-800bdyfv.js → variant-awqjysbz.js} +16 -16
- package/dist/chunks/{provider-p5g5pbnc.js → variant-b2p40mva.js} +42 -42
- package/dist/chunks/{provider-thqhm7b8.js → variant-b2yx5ehf.js} +9 -9
- package/dist/chunks/{provider-zyk1yjk8.js → variant-b3f8fkhc.js} +5 -5
- package/dist/chunks/{provider-r42rxzp2.js → variant-b46qy5jj.js} +15 -15
- package/dist/chunks/{provider-kjd40bgk.js → variant-bcwmtc9z.js} +9 -9
- package/dist/chunks/{provider-mqe9x832.js → variant-bd2rbarm.js} +70 -70
- package/dist/chunks/{provider-7k4ntbhc.js → variant-bffezq42.js} +19 -19
- package/dist/chunks/{provider-4qrgz4fh.js → variant-bg7accr8.js} +4 -4
- package/dist/chunks/{provider-psgbjfb6.js → variant-bn0vkb08.js} +24 -24
- package/dist/chunks/{provider-nmb6s6yx.js → variant-byv8jegc.js} +15 -15
- package/dist/chunks/{provider-7xkdmskh.js → variant-c172tty2.js} +3 -3
- package/dist/chunks/{provider-ngts6ef0.js → variant-c27esgm9.js} +8 -8
- package/dist/chunks/{provider-rj3eygr5.js → variant-c41wscbt.js} +2 -2
- package/dist/chunks/{provider-sa8ekw3f.js → variant-c8ax2afj.js} +2 -2
- package/dist/chunks/{provider-rq8w23r5.js → variant-cdbvc206.js} +11 -11
- package/dist/chunks/{provider-hzmxkg1x.js → variant-chymrsmw.js} +20 -20
- package/dist/chunks/{provider-1ajx6rf5.js → variant-czfptnv9.js} +8 -8
- package/dist/chunks/{provider-yh9ky8zt.js → variant-d1d75ewh.js} +26 -26
- package/dist/chunks/{provider-qgzg545f.js → variant-d5f4dshd.js} +24 -24
- package/dist/chunks/{provider-f27s4mgk.js → variant-dhpfcrwc.js} +322 -322
- package/dist/chunks/{provider-5h5cw0kb.js → variant-dm4mj2b8.js} +16 -16
- package/dist/chunks/{provider-cst3b3yb.js → variant-dp9b5y2c.js} +25 -25
- package/dist/chunks/{provider-y71avatq.js → variant-dpkg50ah.js} +4 -4
- package/dist/chunks/{provider-dqxsqydv.js → variant-dqxsqydv.js} +1 -1
- package/dist/chunks/{provider-8tqny9xt.js → variant-drc9xvqh.js} +2 -2
- package/dist/chunks/{provider-5qd3pb7m.js → variant-e3qxr5gk.js} +2 -2
- package/dist/chunks/{provider-3qtz8e24.js → variant-e74fnb4d.js} +12 -12
- package/dist/chunks/{provider-rhjbct0v.js → variant-eaj1djv9.js} +8 -8
- package/dist/chunks/{provider-eej6y6fw.js → variant-eej6y6fw.js} +2 -2
- package/dist/chunks/{provider-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-jftcm1p2.js → variant-ekg16795.js} +22 -22
- package/dist/chunks/{provider-nggjaaey.js → variant-em36464r.js} +20 -20
- package/dist/chunks/{provider-qvsmbsx7.js → variant-eqxt343f.js} +26 -26
- package/dist/chunks/{provider-c1fqxshp.js → variant-es1vcfrp.js} +3 -3
- package/dist/chunks/{provider-fet8v0n8.js → variant-eyect2y9.js} +20 -20
- package/dist/chunks/{provider-amby2w69.js → variant-eyw1jkg7.js} +11 -11
- package/dist/chunks/{provider-41wrsvw7.js → variant-f1y6kd9g.js} +14 -14
- package/dist/chunks/{provider-em3brvbs.js → variant-f6mz2wx2.js} +23 -23
- package/dist/chunks/{provider-5dpgnwm1.js → variant-f9fjk1ah.js} +14 -14
- package/dist/chunks/{provider-tpprgjsf.js → variant-fc42s903.js} +9 -9
- package/dist/chunks/{provider-0t9wd588.js → variant-fqhbsnr5.js} +8 -8
- package/dist/chunks/{provider-8na7k0g9.js → variant-fvgwmm0r.js} +8 -8
- package/dist/chunks/{provider-fww2ha2b.js → variant-fww2ha2b.js} +2 -2
- package/dist/chunks/{provider-hyrayrht.js → variant-fxjmfkq7.js} +82 -82
- package/dist/chunks/{provider-0sa2fhnm.js → variant-g0xp0fjm.js} +10 -10
- package/dist/chunks/{provider-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-w0g3ptdb.js → variant-gr2j2chh.js} +7 -7
- package/dist/chunks/{provider-7pehn31s.js → variant-gtve8185.js} +15 -15
- package/dist/chunks/{provider-kd7gkzrj.js → variant-gv3e09km.js} +21 -21
- package/dist/chunks/{provider-gqjfsscs.js → variant-h3bs1kek.js} +11 -11
- package/dist/chunks/{provider-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-yrcj3v3g.js → variant-h9wp8z5w.js} +4 -4
- package/dist/chunks/{provider-hgz4x7wa.js → variant-hgz4x7wa.js} +1 -1
- package/dist/chunks/{provider-te482g04.js → variant-hhfn0ecg.js} +9 -9
- package/dist/chunks/{provider-wz3sw48p.js → variant-hqd5ftkx.js} +11 -11
- package/dist/chunks/{provider-s5tkhmxc.js → variant-hshhh1g0.js} +6 -6
- package/dist/chunks/{provider-91qna3x0.js → variant-j09zfasm.js} +3 -3
- package/dist/chunks/{provider-tzhess53.js → variant-j1m8k7tk.js} +4 -4
- package/dist/chunks/{provider-2anx6zyp.js → variant-j2x94qfn.js} +11 -11
- package/dist/chunks/{provider-2vkbbze0.js → variant-j3v4v25z.js} +30 -30
- package/dist/chunks/{provider-v5x24k53.js → variant-j5ck4p1e.js} +33 -33
- package/dist/chunks/{provider-cy9sv6ck.js → variant-j864549w.js} +7 -7
- package/dist/chunks/{provider-tdtcw4xa.js → variant-jg41skm4.js} +27 -27
- package/dist/chunks/{provider-3ppptnan.js → variant-jhf3jymm.js} +6 -6
- package/dist/chunks/{provider-qax75a92.js → variant-jk6kbnxq.js} +9 -9
- package/dist/chunks/{provider-hns8fa6k.js → variant-jnfn5ex1.js} +1 -1
- package/dist/chunks/{provider-t6m4fh97.js → variant-jqax3vrk.js} +26 -26
- package/dist/chunks/{provider-v0y8rbp5.js → variant-jxg7hd8r.js} +6 -6
- package/dist/chunks/{provider-2dfgztks.js → variant-k0qnz40c.js} +3 -3
- package/dist/chunks/{provider-z2jd07rd.js → variant-k185drda.js} +7 -7
- package/dist/chunks/{provider-jfhb73ga.js → variant-k2wbs1f6.js} +20 -20
- package/dist/chunks/{provider-0fpa5v37.js → variant-k9r9jvvd.js} +18 -18
- package/dist/chunks/{provider-r2m1ycex.js → variant-ka4dahqf.js} +34 -34
- package/dist/chunks/{provider-97aeaand.js → variant-kqv3x6rj.js} +9 -9
- package/dist/chunks/{provider-a0a6dmtm.js → variant-kr7grvbm.js} +37 -37
- package/dist/chunks/{provider-rc07w95g.js → variant-krcrny4k.js} +8 -8
- package/dist/chunks/{provider-0nyzhezz.js → variant-m1xvcqhf.js} +50 -50
- package/dist/chunks/{provider-wxhs1qjx.js → variant-m4cdjvks.js} +25 -25
- package/dist/chunks/{provider-35rhfapn.js → variant-m935wjbx.js} +5 -5
- package/dist/chunks/{provider-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-maspj1v3.js → variant-maspj1v3.js} +1 -1
- package/dist/chunks/{provider-45ezyvr1.js → variant-mk8df6ba.js} +11 -11
- package/dist/chunks/{provider-0chgmggq.js → variant-mnx1xs56.js} +17 -17
- package/dist/chunks/{provider-0bg0bx69.js → variant-mq92c6sz.js} +9 -9
- package/dist/chunks/{provider-b8gd3dkx.js → variant-mwqr473v.js} +11 -11
- package/dist/chunks/{provider-arnqn5aq.js → variant-n4bazptv.js} +18 -18
- package/dist/chunks/{provider-xapeapez.js → variant-n9093sh7.js} +16 -16
- package/dist/chunks/{provider-fk7yywng.js → variant-n9kvdjtp.js} +15 -15
- package/dist/chunks/{provider-0edhb53e.js → variant-nazaqr6z.js} +11 -11
- package/dist/chunks/{provider-sr9gvwf8.js → variant-nd2xbyf5.js} +4 -4
- package/dist/chunks/{provider-y8p3zjbc.js → variant-nd37ta7v.js} +8 -8
- package/dist/chunks/{provider-qxmgy5v8.js → variant-ne3cddwz.js} +20 -20
- package/dist/chunks/{provider-pkt1g79k.js → variant-nkxhsnc1.js} +3 -3
- package/dist/chunks/{provider-wnbanjze.js → variant-nq17181k.js} +5 -5
- package/dist/chunks/{provider-zx5x520x.js → variant-nssgk41k.js} +11 -11
- package/dist/chunks/{provider-khmqacep.js → variant-ny8edt06.js} +4 -4
- package/dist/chunks/{provider-j972kp05.js → variant-nz324evw.js} +44 -44
- package/dist/chunks/{provider-k436a2zc.js → variant-p0km4v4v.js} +7 -7
- package/dist/chunks/{provider-zbg202n1.js → variant-p8899s55.js} +4 -4
- package/dist/chunks/{provider-87skp6zd.js → variant-pdbfs7q8.js} +13 -13
- package/dist/chunks/{provider-hwfx9e0v.js → variant-pde076hx.js} +1 -1
- package/dist/chunks/{provider-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{provider-jws6fkes.js → variant-py3kkmfq.js} +8 -8
- package/dist/chunks/{provider-178yzz4c.js → variant-q1tr0dsa.js} +8 -8
- package/dist/chunks/{provider-hs4s17a6.js → variant-qh6vqrx5.js} +23 -23
- package/dist/chunks/{provider-as743q1n.js → variant-qkdyhz0j.js} +22 -22
- package/dist/chunks/{provider-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
- package/dist/chunks/{provider-1ja1wxmc.js → variant-qptva5a0.js} +8 -8
- package/dist/chunks/{provider-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-j1rz9bja.js → variant-r2pt7hb6.js} +15 -15
- package/dist/chunks/{provider-5rzwp8tz.js → variant-r2z489rp.js} +3 -3
- package/dist/chunks/{provider-r70qewr9.js → variant-r4k54wer.js} +15 -15
- package/dist/chunks/{provider-0996nyz8.js → variant-r9w3djhf.js} +5 -5
- package/dist/chunks/{provider-a8fjrhec.js → variant-rb93vns4.js} +3 -3
- package/dist/chunks/{provider-xjy2aw5f.js → variant-rc73xy04.js} +2 -2
- package/dist/chunks/{provider-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-q38a94v8.js → variant-rfb6rgvz.js} +31 -31
- package/dist/chunks/{provider-d1nddhfv.js → variant-rmzxz103.js} +3 -3
- package/dist/chunks/{provider-2qjhvk9c.js → variant-s8y96gq9.js} +20 -20
- package/dist/chunks/{provider-85wvk3p1.js → variant-safknyzz.js} +30 -30
- package/dist/chunks/{provider-k1w7jx6t.js → variant-sd60ydk4.js} +37 -37
- package/dist/chunks/{provider-j2v9e2av.js → variant-spzkthk3.js} +10 -10
- package/dist/chunks/{provider-6msxjspv.js → variant-sqead0rj.js} +25 -25
- package/dist/chunks/{provider-drgqqq0e.js → variant-sw0mphdh.js} +32 -32
- package/dist/chunks/{provider-syv4x271.js → variant-syv4x271.js} +1 -1
- package/dist/chunks/{provider-mmvj8fee.js → variant-t1exkcnj.js} +17 -17
- package/dist/chunks/{provider-mw6hct32.js → variant-t5hq3fbq.js} +5 -5
- package/dist/chunks/{provider-ybzwk8bv.js → variant-t7aaar7j.js} +20 -20
- package/dist/chunks/{provider-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
- package/dist/chunks/{provider-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{provider-x98ee4vw.js → variant-th3vkxge.js} +6 -6
- package/dist/chunks/{provider-rert0e01.js → variant-tkb22qbm.js} +2 -2
- package/dist/chunks/{provider-tm0kqsz3.js → variant-tm0kqsz3.js} +1 -1
- package/dist/chunks/{provider-qsg3v84t.js → variant-tntqxh8d.js} +18 -18
- package/dist/chunks/{provider-e8mvx7yd.js → variant-ttffcv7z.js} +11 -11
- package/dist/chunks/{provider-r66p9w6v.js → variant-ttp06fyh.js} +6 -6
- package/dist/chunks/{provider-tyytaxap.js → variant-tyytaxap.js} +1 -1
- package/dist/chunks/{provider-gst7axd9.js → variant-tz4n1mmd.js} +4 -4
- package/dist/chunks/{provider-a039zm1r.js → variant-v53tbymh.js} +19 -19
- package/dist/chunks/{provider-v7p4zvkq.js → variant-v7p4zvkq.js} +2 -2
- package/dist/chunks/{provider-bvjwexvn.js → variant-v99btfp6.js} +38 -38
- package/dist/chunks/{provider-wh6zw745.js → variant-v9tezfc4.js} +5 -5
- package/dist/chunks/{provider-p7xkakat.js → variant-vadaeqkc.js} +22 -22
- package/dist/chunks/{provider-xhrgsrn3.js → variant-vav9rtzz.js} +11 -11
- package/dist/chunks/{provider-6vytd5f0.js → variant-vcc19h8c.js} +10 -10
- package/dist/chunks/{provider-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-71qj1krj.js → variant-vgr0ew10.js} +26 -26
- package/dist/chunks/{provider-7aqn883v.js → variant-vhsnpknp.js} +20 -20
- package/dist/chunks/{provider-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
- package/dist/chunks/{provider-kaqckjty.js → variant-w2ftr1wp.js} +29 -29
- package/dist/chunks/{provider-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-3fae5vwa.js → variant-w5wmpqxq.js} +7 -7
- package/dist/chunks/{provider-hck0njnj.js → variant-wa343y42.js} +21 -21
- package/dist/chunks/{provider-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{provider-pj8fb3qr.js → variant-wfmeqxnt.js} +7 -7
- package/dist/chunks/{provider-vaz5qvqg.js → variant-wpdrjqr0.js} +24 -24
- package/dist/chunks/{provider-6zzvxpwv.js → variant-wtc59aw9.js} +8 -8
- package/dist/chunks/{provider-3wzwh970.js → variant-wvrxhfbz.js} +14 -14
- package/dist/chunks/{provider-n9rk3330.js → variant-wxvzvkhz.js} +2 -2
- package/dist/chunks/{provider-8dr4q500.js → variant-x4jmhkba.js} +9 -9
- package/dist/chunks/{provider-x661k3y3.js → variant-x661k3y3.js} +1 -1
- package/dist/chunks/{provider-f58gpcny.js → variant-xdx7acry.js} +9 -9
- package/dist/chunks/{provider-qqeeq2t9.js → variant-xfkkasph.js} +7 -7
- package/dist/chunks/{provider-1ahdxtnp.js → variant-xgcr0maa.js} +27 -27
- package/dist/chunks/{provider-7s41t4qk.js → variant-xvfcqebw.js} +13 -13
- package/dist/chunks/{provider-hxpxs7m5.js → variant-xw25t1zq.js} +44 -44
- package/dist/chunks/{provider-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-2s2vbzb6.js → variant-y23whk6n.js} +13 -13
- package/dist/chunks/{provider-ztc63c18.js → variant-y79ba3ty.js} +1 -1
- package/dist/chunks/{provider-f2n192rq.js → variant-yp2x3t23.js} +4 -4
- package/dist/chunks/{provider-pnzf6mjf.js → variant-yqc6bamn.js} +1 -1
- package/dist/chunks/{provider-gbcpnbg0.js → variant-yskhjpp6.js} +30 -30
- package/dist/chunks/{provider-gtkys9g5.js → variant-yxxy4j45.js} +18 -18
- package/dist/chunks/{provider-80scg3y3.js → variant-z0aj456m.js} +4 -4
- package/dist/chunks/{provider-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-v0xmac3n.js → variant-zfme70y8.js} +2 -2
- package/dist/chunks/{provider-rfh3waba.js → variant-zhb76p7m.js} +10 -10
- package/dist/chunks/{provider-bb96wvfv.js → variant-zq6n8p55.js} +11 -11
- package/dist/chunks/{provider-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
- package/dist/chunks/{provider-btbmdjwj.js → variant-zy43x3f1.js} +4 -4
- package/dist/chunks/{provider-wt86dmhn.js → variant-zztrcv6s.js} +6 -6
- 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 +85 -85
- 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 +120 -120
- package/dist/config/plugin/command.js +209 -209
- 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 +127 -127
- 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 +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +3 -3
- 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 +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +356 -356
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- 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 +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- 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 +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +119 -119
- package/dist/plugin/optimize.js +4 -4
- 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 +120 -120
- 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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +81 -81
- 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 +137 -137
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- 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 +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +166 -166
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- 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 +128 -128
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- 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 +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- 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 +12 -12
- 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 +3 -3
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/provider-3qdqmnbt.js +0 -26
- package/dist/chunks/provider-ht5y0zrb.js +0 -18
- package/dist/chunks/provider-jp851rwh.js +0 -253
- /package/dist/chunks/{provider-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2bv980vf.js → variant-2bv980vf.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3t0ybcrp.js → variant-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → variant-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-84wd9syh.js → variant-84wd9syh.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hcxmzztb.js → variant-hcxmzztb.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jze0r7bz.js → variant-jze0r7bz.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-m18g726c.js → variant-m18g726c.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-pkyv6v7h.js → variant-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{provider-pyv0edze.js → variant-pyv0edze.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-ve7vex1e.js → variant-ve7vex1e.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wjj7prxr.js → variant-wjj7prxr.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-cdbvc206.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-1ffvrpkg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin19,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin19 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin22 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin22 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin19, exports_firecrawl };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID10,
|
|
6
|
+
Service62
|
|
7
|
+
} from "./variant-jqax3vrk.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-08rawchj.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-k185drda.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-es1vcfrp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service62;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID10.make(from),
|
|
91
|
+
to: ID10.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-m935wjbx.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-0emb60td.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service78;
|
|
24
24
|
return {
|
|
@@ -46,4 +46,4 @@ var make18 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-pyv0edze.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-syv4x271.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-bffezq42.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service63
|
|
4
|
+
} from "./variant-6cb5bya6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./variant-jqax3vrk.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin40
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin40 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service63;
|
|
27
|
+
const snapshot = yield* Service62;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin2 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin40, exports_snapshot };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-rb93vns4.js";
|
|
8
8
|
import {
|
|
9
9
|
Service84,
|
|
10
10
|
node88
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-1dgd40yc.js";
|
|
12
12
|
import {
|
|
13
13
|
Service78,
|
|
14
14
|
node82
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-m935wjbx.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID16,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info27,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event17,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./variant-mq92c6sz.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./variant-c41wscbt.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./variant-c8ax2afj.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./variant-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID15,
|
|
40
|
+
Info: () => Info26,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
43
|
Service: () => Service77,
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID15 = ID16;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info26 = Info27;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
65
|
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
-
projectID:
|
|
66
|
+
projectID: ID15
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event17.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID15.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
173
173
|
if (!row)
|
|
174
174
|
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event17.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID15.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID15.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID15.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID15.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID15.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID15.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID15.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
307
|
return Service77.of({ list, update, activate, resolve, sweep });
|
|
@@ -320,4 +320,4 @@ var sweepNode2 = makeGlobalNode({
|
|
|
320
320
|
deps: [node81]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID15, Vcs2, Current2, Info26, UpdateInput3, NotFoundError10, root2, Service77, node81, sweepNode2, exports_project };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service76
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-aed4v31e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./variant-wa343y42.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service50
|
|
16
|
+
} from "./variant-yxxy4j45.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./variant-w2ftr1wp.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service57
|
|
26
|
+
} from "./variant-8t6tsgff.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service15
|
|
29
|
+
} from "./variant-8nx44vyg.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./variant-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin8,
|
|
41
|
+
name: () => name6,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name6 = "grep";
|
|
48
|
+
var Input6 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input8 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output4 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin8 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service51;
|
|
90
|
+
const ripgrep = yield* Service50;
|
|
91
91
|
const location = yield* Service76;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service15;
|
|
93
|
+
const permission = yield* Service57;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name6,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input6,
|
|
99
|
+
output: Output4,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name6,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin44 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin44 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name6, Input6, Output4, toModelContent4, Plugin8, exports_grep };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./variant-gv3e09km.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./variant-8t6tsgff.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service75;
|
|
57
|
+
const permission = yield* Service57;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|