@opencode/core 0.0.0-dev-21430 → 0.0.0-dev-21453
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 +83 -83
- 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/{location-034tev2y.js → command-034tev2y.js} +2 -2
- package/dist/chunks/{location-74mnjb9k.js → command-06x1kmm3.js} +16 -16
- package/dist/chunks/{location-ar4nzpwm.js → command-0akze81x.js} +17 -17
- package/dist/chunks/{location-k0ze7r27.js → command-0g0zhkr3.js} +13 -13
- package/dist/chunks/{location-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-s041gtt0.js → command-14e2z5dd.js} +21 -21
- package/dist/chunks/{location-0spnvnyv.js → command-15k3sgvy.js} +20 -20
- package/dist/chunks/{location-1ep2p91f.js → command-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-bzeyqsqd.js → command-1ep4rre3.js} +4 -4
- package/dist/chunks/{location-338tp1sw.js → command-1fdxsekg.js} +13 -13
- package/dist/chunks/{location-9bh5q6pj.js → command-1j8r0rfw.js} +2 -2
- package/dist/chunks/{location-w92k2e0p.js → command-1p07q0wb.js} +6 -6
- package/dist/chunks/{location-x2c0z4fa.js → command-1vge1skc.js} +85 -85
- package/dist/chunks/{location-vzcdy7t2.js → command-22pq31c6.js} +6 -6
- package/dist/chunks/{location-9jfsax2t.js → command-26v53g8c.js} +14 -14
- package/dist/chunks/{location-fqtvmpfq.js → command-2eegacq4.js} +8 -8
- package/dist/chunks/{location-fn7yw61f.js → command-2sq9cs44.js} +13 -13
- package/dist/chunks/{location-8n6gk45f.js → command-2xdwzbmw.js} +8 -8
- package/dist/chunks/{location-j973zg4r.js → command-31dmbqtz.js} +6 -6
- package/dist/chunks/{location-v97gy4rz.js → command-34a37mbe.js} +11 -11
- package/dist/chunks/{location-mzkqbs9t.js → command-37txpjr1.js} +5 -5
- package/dist/chunks/{location-yetj4y2f.js → command-3at1kaya.js} +184 -184
- package/dist/chunks/{location-e357gpbq.js → command-3c1qz3w8.js} +9 -9
- package/dist/chunks/{location-r771kefb.js → command-3db954pa.js} +11 -11
- package/dist/chunks/{location-ncmgswqr.js → command-3gq0bdpp.js} +11 -11
- package/dist/chunks/{location-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-9ceytgjn.js → command-3q9enysw.js} +30 -30
- package/dist/chunks/{location-xc1ymh3x.js → command-3se1dkn2.js} +9 -9
- package/dist/chunks/{location-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-020242mm.js → command-3xzwacgq.js} +13 -13
- package/dist/chunks/{location-addxnjmp.js → command-3y377wv9.js} +4 -4
- package/dist/chunks/{location-nymjqhfd.js → command-3ycmgy45.js} +16 -16
- package/dist/chunks/{location-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-76rvckpe.js → command-461nxmbv.js} +5 -5
- package/dist/chunks/{location-b674v2dg.js → command-47jkzegy.js} +5 -5
- package/dist/chunks/{location-bzgnhg0n.js → command-48pg14e9.js} +26 -26
- package/dist/chunks/{location-8h9rdd29.js → command-497kckq0.js} +54 -54
- package/dist/chunks/{location-21b844t5.js → command-4a84bgxb.js} +35 -35
- package/dist/chunks/{location-9p7ryr2b.js → command-4bw5k2yb.js} +7 -7
- package/dist/chunks/{location-mnc26hcw.js → command-4pmb27zq.js} +7 -7
- package/dist/chunks/{location-bhva45zq.js → command-4ppxeyv4.js} +14 -14
- package/dist/chunks/{location-w375ekyd.js → command-4q8stq7x.js} +17 -17
- package/dist/chunks/{location-kjdm35cs.js → command-4xpgt2w9.js} +5 -5
- package/dist/chunks/{location-3v68m8yr.js → command-53fvhgkr.js} +5 -5
- package/dist/chunks/{location-demjctvx.js → command-53tqp3se.js} +26 -26
- package/dist/chunks/{location-f32pwxtn.js → command-54ckgp8f.js} +11 -11
- package/dist/chunks/{location-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{location-57b9ws8p.js → command-57b9ws8p.js} +1 -1
- package/dist/chunks/{location-axe3mf62.js → command-58072hz9.js} +3 -3
- package/dist/chunks/{location-j5yzhdah.js → command-5f9rj60p.js} +8 -8
- package/dist/chunks/{location-zajs041s.js → command-5hy62t2w.js} +32 -32
- package/dist/chunks/{location-fmvmqg86.js → command-5kxh3622.js} +28 -28
- package/dist/chunks/{location-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-1a95124r.js → command-5thbj1d7.js} +11 -11
- package/dist/chunks/{location-vmt5mznf.js → command-61bp3nch.js} +6 -6
- package/dist/chunks/{location-6827pfxn.js → command-6827pfxn.js} +1 -1
- package/dist/chunks/{location-2pz8qhez.js → command-69thrbjb.js} +9 -9
- package/dist/chunks/{location-w9vf9qqj.js → command-6n4b0dsb.js} +9 -9
- package/dist/chunks/{location-hfhp5k6j.js → command-6p77gfgj.js} +3 -3
- package/dist/chunks/{location-83xz3hbj.js → command-6snphvfm.js} +32 -32
- package/dist/chunks/{location-f5gknkdx.js → command-6x8zv1ga.js} +16 -16
- package/dist/chunks/{location-6xb47vfp.js → command-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-5g57z1ma.js → command-76p14g35.js} +4 -4
- package/dist/chunks/{location-775gj3j1.js → command-775gj3j1.js} +2 -2
- package/dist/chunks/{location-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-fcrkznn8.js → command-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-7v6vae4w.js → command-7v6vae4w.js} +3 -3
- package/dist/chunks/{location-waskdk5r.js → command-81f7vt2z.js} +4 -4
- package/dist/chunks/{location-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{location-dsyqdg7y.js → command-85bd81md.js} +42 -42
- package/dist/chunks/{location-ek46kvq2.js → command-86br03e3.js} +8 -8
- package/dist/chunks/{location-4sem758r.js → command-86jr8x5y.js} +10 -10
- package/dist/chunks/{location-9zsn4ryv.js → command-87g5j40b.js} +11 -11
- package/dist/chunks/{location-snt75n4w.js → command-87gdc6tq.js} +3 -3
- package/dist/chunks/{location-8m6m0r52.js → command-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-8mywswrd.js → command-8mywswrd.js} +1 -1
- package/dist/chunks/{location-ctz7jbry.js → command-8s1fj8xg.js} +8 -8
- package/dist/chunks/{location-tw7m84f2.js → command-8ybx9dv8.js} +1 -1
- package/dist/chunks/{location-x3h37q7j.js → command-9h10jqva.js} +20 -20
- package/dist/chunks/{location-m64xvjj1.js → command-9pkkzrmj.js} +5 -5
- package/dist/chunks/{location-tgvsetpk.js → command-9tjr5tfj.js} +13 -13
- package/dist/chunks/{location-9wev2pgg.js → command-9wev2pgg.js} +1 -1
- package/dist/chunks/{location-6xp44e9y.js → command-a37705eh.js} +21 -21
- package/dist/chunks/{location-h9pnpq88.js → command-a3c7ahw6.js} +4 -4
- package/dist/chunks/{location-9t8hw933.js → command-a8q1nc8j.js} +18 -18
- package/dist/chunks/{location-fd08frkx.js → command-abhakzek.js} +5 -5
- package/dist/chunks/{location-am1vdybj.js → command-am1vdybj.js} +4 -4
- package/dist/chunks/{location-v4r857ee.js → command-amznas3s.js} +33 -33
- package/dist/chunks/{location-ysdyyay3.js → command-anffd6jp.js} +24 -24
- package/dist/chunks/{location-fp99e1xt.js → command-avnbws58.js} +18 -18
- package/dist/chunks/{location-gnx3cc6w.js → command-axp4ehpq.js} +8 -8
- package/dist/chunks/{location-3adnxn06.js → command-b3eecbxp.js} +4 -4
- package/dist/chunks/{location-sf4c3jp0.js → command-b7eb9p8b.js} +27 -27
- package/dist/chunks/{location-e3naqsya.js → command-b9dbntts.js} +22 -22
- package/dist/chunks/{location-98hve3fq.js → command-bc4d43x0.js} +30 -30
- package/dist/chunks/{location-vwsfg3fg.js → command-bh36nkqs.js} +23 -23
- package/dist/chunks/{location-n2r55xd1.js → command-bh5ww8rh.js} +45 -45
- package/dist/chunks/{location-6559rxr6.js → command-bhz4wbbx.js} +6 -6
- package/dist/chunks/{location-bjx1sjef.js → command-bjx1sjef.js} +2 -2
- package/dist/chunks/{location-2tbztjht.js → command-bn5wyt58.js} +30 -30
- package/dist/chunks/{location-hyarejjy.js → command-bx2c7yn7.js} +11 -11
- package/dist/chunks/{location-wvzvsjpz.js → command-byat028d.js} +19 -19
- package/dist/chunks/{location-xmrc0ft6.js → command-cp7wvvqd.js} +12 -12
- package/dist/chunks/{location-dmw8mvpz.js → command-cqhbfnr1.js} +30 -30
- package/dist/chunks/{location-m97symvc.js → command-cr1mssy2.js} +33 -33
- package/dist/chunks/{location-c765mh8b.js → command-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-sm4k3a60.js → command-cyqt27pd.js} +5 -5
- package/dist/chunks/{location-q84pcmhe.js → command-cywftvdx.js} +68 -68
- package/dist/chunks/{location-d63sgyqh.js → command-d53g1a3y.js} +9 -9
- package/dist/chunks/{location-y49bgj8b.js → command-d9xzyqvc.js} +18 -18
- package/dist/chunks/{location-k0wzqvjk.js → command-dd1wce65.js} +43 -43
- package/dist/chunks/{location-hsr8yxc9.js → command-dfse8kb6.js} +18 -18
- package/dist/chunks/{location-dgzq35zb.js → command-dgzq35zb.js} +3 -3
- package/dist/chunks/{location-dpkg50ah.js → command-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-qg3jze5q.js → command-dqqwr2kk.js} +11 -11
- package/dist/chunks/{location-a1cwsqdb.js → command-dshe5yp9.js} +35 -35
- package/dist/chunks/{location-eej6y6fw.js → command-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-d1ftyfm1.js → command-ej25e5st.js} +23 -23
- package/dist/chunks/{location-ysjtvpas.js → command-ejndb8vb.js} +5 -5
- package/dist/chunks/{location-ph842b28.js → command-etttfj1t.js} +4 -4
- package/dist/chunks/{location-nc7xb224.js → command-f6znfd8x.js} +42 -42
- package/dist/chunks/{location-fcy631f0.js → command-fcy631f0.js} +1 -1
- package/dist/chunks/{location-xc0mr4yb.js → command-frsbz4zz.js} +7 -7
- package/dist/chunks/{location-m15ha2ry.js → command-fvvr5s83.js} +6 -6
- package/dist/chunks/{location-jm6wfgtn.js → command-g1bk0rvk.js} +10 -10
- package/dist/chunks/{location-n7dc1ar6.js → command-gc8554r3.js} +45 -45
- package/dist/chunks/{location-c3dg826k.js → command-gcyw4s3t.js} +26 -26
- package/dist/chunks/{location-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mmyy2hne.js → command-gf0da6cn.js} +19 -19
- package/dist/chunks/{location-313pbxt2.js → command-gjs4gkbj.js} +21 -21
- package/dist/chunks/{location-gg795btt.js → command-gknwg3d3.js} +24 -24
- package/dist/chunks/{location-8zbn9c46.js → command-gws60q17.js} +2 -2
- package/dist/chunks/{location-8w3e00az.js → command-h69hk4jg.js} +46 -46
- package/dist/chunks/{location-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-3y1df9hb.js → command-hgr5fehx.js} +3 -3
- package/dist/chunks/{location-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-qacj84y4.js → command-hkk11q6k.js} +36 -36
- package/dist/chunks/{location-yvy8rc3z.js → command-hqct51j7.js} +18 -18
- package/dist/chunks/{location-5663gavc.js → command-hqcwm3sg.js} +20 -20
- package/dist/chunks/{location-68d09h7d.js → command-hx1srwd5.js} +15 -15
- package/dist/chunks/{location-yh8p5p3y.js → command-hztdnym9.js} +17 -17
- package/dist/chunks/{location-b04q5t5m.js → command-j89nzgjf.js} +29 -29
- package/dist/chunks/{location-vgqhef6t.js → command-jj5bew2e.js} +50 -50
- package/dist/chunks/{location-dbapnq8x.js → command-jksyzxb8.js} +5 -5
- package/dist/chunks/{location-fr4cd36j.js → command-jn4zdy1z.js} +16 -16
- package/dist/chunks/{location-stn64ya2.js → command-jnwbf985.js} +15 -15
- package/dist/chunks/{location-7sn7bbtk.js → command-jr1c3etd.js} +8 -8
- package/dist/chunks/{location-tnv0fyap.js → command-jy9jz103.js} +11 -11
- package/dist/chunks/{location-gafzn91c.js → command-k0vsesgg.js} +24 -24
- package/dist/chunks/{location-0f97zcpq.js → command-k1nwc2sn.js} +10 -10
- package/dist/chunks/{location-8ft9mnds.js → command-k2xckaw8.js} +28 -28
- package/dist/chunks/{location-n5q7pmwt.js → command-kbyad70m.js} +322 -322
- package/dist/chunks/{location-pr35srdg.js → command-kbznsqxf.js} +11 -11
- package/dist/chunks/{location-ets9hpqy.js → command-khehvdjk.js} +18 -18
- package/dist/chunks/{location-fxaymqdw.js → command-khmqacep.js} +4 -4
- package/dist/chunks/{location-bfk5x8m4.js → command-kks8wa7e.js} +24 -24
- package/dist/chunks/{location-kwb1v3vj.js → command-kwb1v3vj.js} +1 -1
- package/dist/chunks/command-m1grcskh.js +257 -0
- package/dist/chunks/{location-qhft0c11.js → command-m28354wd.js} +5 -5
- package/dist/chunks/{location-jgwkv6jn.js → command-m89j5wza.js} +4 -4
- package/dist/chunks/{location-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-asa024m6.js → command-ma9kyv73.js} +46 -46
- package/dist/chunks/{location-maspj1v3.js → command-maspj1v3.js} +1 -1
- package/dist/chunks/{location-bzb0xpje.js → command-mf528kyb.js} +18 -18
- package/dist/chunks/{location-mjjmqb1d.js → command-mfp0neqk.js} +22 -22
- package/dist/chunks/{location-nry4qgac.js → command-mk379379.js} +3 -3
- package/dist/chunks/{location-aecj3y8p.js → command-mkhd10ty.js} +15 -15
- package/dist/chunks/command-mr3dex66.js +26 -0
- package/dist/chunks/{location-dgsn3vfw.js → command-mr3qe865.js} +46 -46
- package/dist/chunks/{location-k5tmaff0.js → command-n7er3eab.js} +34 -34
- package/dist/chunks/{location-jhn3db5w.js → command-nhsdda1g.js} +11 -11
- package/dist/chunks/{location-rqxnffma.js → command-njwf2h5j.js} +11 -11
- package/dist/chunks/{location-b28fxhss.js → command-nq0h700v.js} +13 -13
- package/dist/chunks/{location-hyvp8sn8.js → command-nr352xqj.js} +1 -1
- package/dist/chunks/{location-h01qn727.js → command-ns3jj6y3.js} +18 -18
- package/dist/chunks/{location-ya11n351.js → command-nxq8z62t.js} +14 -14
- package/dist/chunks/{location-e3x0acme.js → command-nyzqtb2y.js} +21 -21
- package/dist/chunks/{location-nz56sr1f.js → command-nz56sr1f.js} +2 -2
- package/dist/chunks/{location-9hn6k4tm.js → command-p37cw4rj.js} +8 -8
- package/dist/chunks/{location-garxcygd.js → command-p6ern3p6.js} +20 -20
- package/dist/chunks/{location-1wyvxh86.js → command-p84vce2c.js} +11 -11
- package/dist/chunks/{location-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{location-v2f1b6th.js → command-ppqq8y70.js} +5 -5
- package/dist/chunks/{location-r9w3djhf.js → command-prq7hedt.js} +9 -9
- package/dist/chunks/{location-jzxww0nw.js → command-pz7h80dq.js} +16 -16
- package/dist/chunks/{location-0ferak4p.js → command-q5vfa25v.js} +16 -16
- package/dist/chunks/{location-jg8pxvea.js → command-q99gfpgg.js} +3 -3
- package/dist/chunks/{location-jdsf1v6s.js → command-qes6m8vb.js} +23 -23
- package/dist/chunks/{location-cpq8ekdt.js → command-qmmgpbwc.js} +25 -25
- package/dist/chunks/{location-gg3qganw.js → command-qrtwq0eh.js} +8 -8
- package/dist/chunks/{location-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{location-338tmc2w.js → command-r0etpgas.js} +34 -34
- package/dist/chunks/{location-e80seqcp.js → command-r2z489rp.js} +3 -3
- package/dist/chunks/command-rap9a73h.js +18 -0
- package/dist/chunks/{location-ryr25ayn.js → command-ratrq7cm.js} +4 -4
- package/dist/chunks/{location-ac8jf0gv.js → command-ravky6v4.js} +27 -27
- package/dist/chunks/{location-p1wfrhak.js → command-rcas954y.js} +20 -20
- package/dist/chunks/{location-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-4qxrp1dj.js → command-rf7bhes0.js} +36 -36
- package/dist/chunks/{location-txx63mhx.js → command-rpnyj0cb.js} +81 -81
- package/dist/chunks/{location-hmcw1xv3.js → command-rscrykr4.js} +30 -30
- package/dist/chunks/{location-p2d2ky5d.js → command-rvmmw9hn.js} +4 -4
- package/dist/chunks/{location-e9vjet1j.js → command-s3k0j0zg.js} +4 -4
- package/dist/chunks/{location-t4dwgtwr.js → command-s5ng6h1y.js} +11 -11
- package/dist/chunks/{location-xx7k8td3.js → command-s5r7j2ea.js} +4 -4
- package/dist/chunks/{location-s8d7rejh.js → command-s8d7rejh.js} +1 -1
- package/dist/chunks/{location-28zjsd3e.js → command-sbdjwzg5.js} +18 -18
- package/dist/chunks/{location-aacha31a.js → command-sp9nn688.js} +12 -12
- package/dist/chunks/{location-4pdt9v4n.js → command-syv31cvt.js} +9 -9
- package/dist/chunks/{location-syv4x271.js → command-syv4x271.js} +1 -1
- package/dist/chunks/{location-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{location-3r2m892a.js → command-tdyk1y3q.js} +35 -35
- package/dist/chunks/{location-tm0kqsz3.js → command-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-fn9t717r.js → command-tt8gc4fv.js} +6 -6
- package/dist/chunks/{location-v210v162.js → command-tx0gtb9m.js} +9 -9
- package/dist/chunks/{location-tyk0w0pd.js → command-tyk0w0pd.js} +3 -3
- package/dist/chunks/{location-tyytaxap.js → command-tyytaxap.js} +1 -1
- package/dist/chunks/{location-trya7axm.js → command-tz35mf6x.js} +6 -6
- package/dist/chunks/{location-62v5rbec.js → command-tzv31cm4.js} +13 -13
- package/dist/chunks/{location-vt1s2zds.js → command-v20a42cg.js} +4 -4
- package/dist/chunks/{location-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-x1n877dv.js → command-v8cs5gsq.js} +20 -20
- package/dist/chunks/{location-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{location-jpb42pwq.js → command-vkdxcejq.js} +10 -10
- package/dist/chunks/{location-zgkfskaa.js → command-vmyf36rx.js} +42 -42
- package/dist/chunks/{location-wxy29yzb.js → command-vsm45mx7.js} +11 -11
- package/dist/chunks/{location-kypjhz4q.js → command-vty708x5.js} +14 -14
- package/dist/chunks/{location-tcay1cqt.js → command-vvccsdf3.js} +5 -5
- package/dist/chunks/{location-z6z736zf.js → command-vvx0ahez.js} +27 -27
- package/dist/chunks/{location-rdmm8wx1.js → command-vzrdb6x9.js} +3 -3
- package/dist/chunks/{location-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-07wcwaet.js → command-w0n6gnt9.js} +11 -11
- package/dist/chunks/{location-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-wbq5q4f0.js → command-w5xp9r00.js} +17 -17
- package/dist/chunks/{location-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-0qe50jst.js → command-wazpdbd3.js} +11 -11
- package/dist/chunks/{location-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{location-n63hq1yp.js → command-wedt70z2.js} +32 -32
- package/dist/chunks/{location-y05taef3.js → command-wgzgvsr8.js} +17 -17
- package/dist/chunks/{location-zec5t9m9.js → command-wp5fex1h.js} +4 -4
- package/dist/chunks/{location-fwy8kg2k.js → command-wy4tkx13.js} +2 -2
- package/dist/chunks/{location-d63h9wdy.js → command-x084xcqe.js} +28 -28
- package/dist/chunks/{location-dys7k0s0.js → command-x1ge9cxs.js} +8 -8
- package/dist/chunks/{location-m7kdtezn.js → command-xebswx6q.js} +13 -13
- package/dist/chunks/{location-6k57be7g.js → command-xfjms2yf.js} +30 -30
- package/dist/chunks/{location-5csbs030.js → command-xfwyxa0r.js} +14 -14
- package/dist/chunks/{location-38vrzhk4.js → command-xhw0dpzq.js} +9 -9
- package/dist/chunks/{location-77y8wgeh.js → command-xkpx58x0.js} +3 -3
- package/dist/chunks/{location-vdnac628.js → command-xmhs9py1.js} +21 -21
- package/dist/chunks/{location-22zynyp8.js → command-xvc40k3r.js} +32 -32
- package/dist/chunks/{location-xw9fg8fb.js → command-xw9fg8fb.js} +2 -2
- package/dist/chunks/{location-2excde36.js → command-xzb6sdgh.js} +22 -22
- package/dist/chunks/{location-t2xhzx1r.js → command-y02z6wf6.js} +32 -32
- package/dist/chunks/{location-6fbgyqx2.js → command-y0t9c3b8.js} +24 -24
- package/dist/chunks/{location-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-dkrr3wvc.js → command-y28amm4t.js} +15 -15
- package/dist/chunks/{location-phz50fbd.js → command-y7nndgyc.js} +9 -9
- package/dist/chunks/{location-a2wnnmtd.js → command-y8b4jftr.js} +7 -7
- package/dist/chunks/{location-d99zq9a9.js → command-y9pep639.js} +21 -21
- package/dist/chunks/{location-g4fwqmp5.js → command-yetrppan.js} +13 -13
- package/dist/chunks/{location-1g1nqesa.js → command-yppjc11p.js} +22 -22
- package/dist/chunks/{location-6hq2s9rg.js → command-yy6cvr68.js} +32 -32
- package/dist/chunks/{location-h1s5a7fb.js → command-z07xh9t5.js} +44 -44
- package/dist/chunks/{location-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-z18fegx4.js → command-z18fegx4.js} +1 -1
- package/dist/chunks/{location-1x8ctv13.js → command-z2vhj21h.js} +5 -5
- package/dist/chunks/{location-gg5w8wvf.js → command-z5kwvp43.js} +7 -7
- package/dist/chunks/{location-scdee33y.js → command-zbqtqq82.js} +2 -2
- package/dist/chunks/{location-bvjxnz85.js → command-zej84cff.js} +4 -4
- package/dist/chunks/{location-zp589yax.js → command-zf2st5d0.js} +12 -12
- package/dist/chunks/{location-516j2px1.js → command-zj8bmmts.js} +15 -15
- package/dist/chunks/{location-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-829bc28g.js → command-zsd94d5t.js} +17 -17
- package/dist/chunks/{location-dhmh7aw6.js → command-zvt5dnpc.js} +4 -4
- package/dist/chunks/{location-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- 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 +368 -368
- 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 +95 -95
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +101 -101
- 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 +3 -3
- 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 +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +154 -154
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- 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 +105 -105
- package/dist/mcp/instructions.js +140 -140
- 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 +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- 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 +1 -1
- 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 +138 -138
- package/dist/session/context.js +164 -164
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- 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 +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- 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 +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- 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 +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- 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 +14 -14
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- 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 +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- 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 +87 -87
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/location-48fz5dd2.js +0 -257
- package/dist/chunks/location-ht5y0zrb.js +0 -18
- package/dist/chunks/location-z6xb3w2g.js +0 -26
- /package/dist/chunks/{location-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-pyv0edze.js → command-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wjj7prxr.js → command-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./command-ej25e5st.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./command-ma9kyv73.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./command-qes6m8vb.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input3,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
24
|
+
Plugin: () => Plugin21,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
26
|
description: () => description2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name3 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input3 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin21 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service73;
|
|
53
|
+
const forms = yield* Service84;
|
|
54
|
+
const websearch = yield* Service14;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name3,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description2,
|
|
59
|
-
input:
|
|
59
|
+
input: Input3,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name3,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name3];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name3, NO_RESULTS2, description2, Input3, Plugin21, exports_websearch };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service64,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node67
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service64 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service64.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node67 = makeLocationNode({
|
|
143
|
+
service: Service64,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service64, node67, exports_tool_output2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID13 = Session.ID;
|
|
5
|
+
var Info22 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID13, Info22, SessionSchema2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-6snphvfm.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-bc4d43x0.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service65
|
|
11
|
+
} from "./command-f6znfd8x.js";
|
|
12
12
|
import {
|
|
13
13
|
supports2,
|
|
14
14
|
resolve2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-vzrdb6x9.js";
|
|
16
16
|
import {
|
|
17
17
|
observe2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-qsdy395h.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/config/plugin/provider.ts
|
|
24
24
|
var exports_provider = {};
|
|
@@ -32,7 +32,7 @@ import { Effect } from "effect";
|
|
|
32
32
|
var Plugin34 = define({
|
|
33
33
|
id: "opencode.config.provider",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
35
|
+
const config = yield* Service65;
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
37
37
|
yield* ctx.integration.transform((integrations) => {
|
|
38
38
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./command-anffd6jp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service22,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-9tjr5tfj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service21
|
|
11
|
+
} from "./command-zj8bmmts.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service73
|
|
14
|
+
} from "./command-ma9kyv73.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service72
|
|
17
|
+
} from "./command-khehvdjk.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input5,
|
|
29
|
+
Output: () => Output3,
|
|
30
|
+
Plugin: () => Plugin23,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name5,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name5 = "write";
|
|
39
|
+
var Input5 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output3 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin23 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service72;
|
|
56
|
+
const fileMutation = yield* Service22;
|
|
57
|
+
const environment = yield* Service63;
|
|
58
|
+
const formatter = yield* Service21;
|
|
59
|
+
const permission = yield* Service73;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name5,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input5,
|
|
69
|
+
output: Output3,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name5, Input5, Output3, toModelContent3, Plugin23, exports_write };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-zej84cff.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service83,
|
|
9
|
+
node87
|
|
10
|
+
} from "./command-p6ern3p6.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-3y377wv9.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-ej25e5st.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event19,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID16,
|
|
41
|
+
Info: () => Info26,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
|
-
Ref: () =>
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
47
|
+
Ref: () => Ref4,
|
|
48
|
+
Service: () => Service82,
|
|
49
|
+
node: () => node86
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event19 } from "@opencode/schema/integration";
|
|
72
|
+
var ID16 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info26 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID16,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Ref4 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service82 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service83;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info26.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service82.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node86 = makeLocationNode({
|
|
633
|
+
service: Service82,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node87, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID16, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info26, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service82, node86, exports_integration, Event19 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-6snphvfm.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service55,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node58
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID9,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service55 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service55, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service55.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node58 = makeLocationNode({ service: Service55, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service55, locationLayer2, node58, exports_aisdk };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-k0vsesgg.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID6.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-bx2c7yn7.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-bjx1sjef.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin2,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin2 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin7 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin7 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint2, Plugin2, exports_parallel };
|