@opencode/core 0.0.0-dev-20221 → 0.0.0-dev-20225
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-p4av1y14.js → integration-004typk3.js} +14 -14
- package/dist/chunks/{location-9jhkgaje.js → integration-02smqcyz.js} +35 -35
- package/dist/chunks/{location-b09hzw3k.js → integration-042q83f5.js} +2 -2
- package/dist/chunks/{location-3104ney4.js → integration-05xfxpq7.js} +8 -8
- package/dist/chunks/{location-c0zy3nqq.js → integration-0drx5c5b.js} +2 -2
- package/dist/chunks/{location-kwg7c6hr.js → integration-0ev7dtb1.js} +33 -33
- package/dist/chunks/{location-rhjbct0v.js → integration-0gdmqesm.js} +4 -4
- package/dist/chunks/{location-72nn9jfv.js → integration-0n74wb1y.js} +6 -6
- package/dist/chunks/{location-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-xp5qxbch.js → integration-10a8w0j5.js} +5 -5
- package/dist/chunks/{location-jx81s07m.js → integration-1133rj1a.js} +3 -3
- package/dist/chunks/{location-js0q1b7y.js → integration-18mrd0nm.js} +32 -32
- package/dist/chunks/{location-t2fc4mz5.js → integration-19vf66h0.js} +4 -4
- package/dist/chunks/{location-1dazxqgg.js → integration-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-xhkwk9gp.js → integration-1w874yqv.js} +16 -16
- package/dist/chunks/{location-33w4ejhs.js → integration-1ygqh575.js} +6 -6
- package/dist/chunks/{location-hm2cbah8.js → integration-1zswqe2z.js} +31 -31
- package/dist/chunks/{location-r4yqrmdq.js → integration-207ajt2h.js} +5 -5
- package/dist/chunks/{location-21r38tys.js → integration-21r38tys.js} +1 -1
- package/dist/chunks/{location-6h73sxmp.js → integration-2402vzrj.js} +5 -5
- package/dist/chunks/{location-dm5bbsxw.js → integration-2731mek4.js} +5 -5
- package/dist/chunks/{location-q17xkac2.js → integration-292g12x5.js} +9 -9
- package/dist/chunks/{location-z63w68vq.js → integration-29x78va6.js} +6 -6
- package/dist/chunks/{location-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-wget8q3v.js → integration-2byw5zm9.js} +3 -3
- package/dist/chunks/{location-e6hd9jay.js → integration-2d57kztd.js} +4 -4
- package/dist/chunks/{location-gvegpbk5.js → integration-2zdq1wst.js} +18 -18
- package/dist/chunks/{location-9rak6fg2.js → integration-3226bc3m.js} +24 -24
- package/dist/chunks/{location-68hvg95z.js → integration-322arqmz.js} +6 -6
- package/dist/chunks/{location-23xkb9ck.js → integration-349kdzws.js} +1 -1
- package/dist/chunks/{location-pty0nb4y.js → integration-3750waw3.js} +8 -8
- package/dist/chunks/{location-jzg4p26z.js → integration-3ejc9np2.js} +9 -9
- package/dist/chunks/{location-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-0ascw2kk.js → integration-3gf7c1d2.js} +13 -13
- package/dist/chunks/{location-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-pgp1nwjn.js → integration-44ak30pa.js} +4 -4
- package/dist/chunks/{location-3pbjq009.js → integration-44z42ma4.js} +11 -11
- package/dist/chunks/{location-whrbrn4z.js → integration-469k0zve.js} +18 -18
- package/dist/chunks/{location-0bkc3y3d.js → integration-4vvrcdg3.js} +20 -20
- package/dist/chunks/{location-h5e2anyc.js → integration-4x10yshe.js} +13 -13
- package/dist/chunks/{location-dd2mwsqy.js → integration-52f00fj4.js} +24 -24
- package/dist/chunks/{location-4nndrb46.js → integration-53enx8t7.js} +15 -15
- package/dist/chunks/{location-81swgkk7.js → integration-57ez7d0k.js} +7 -7
- package/dist/chunks/{location-5daktx2q.js → integration-5daktx2q.js} +1 -1
- package/dist/chunks/{location-4j4tgtq5.js → integration-5dkn69vz.js} +4 -4
- package/dist/chunks/{location-1thp3168.js → integration-5jy636ta.js} +37 -37
- package/dist/chunks/{location-9mm3gyjg.js → integration-5ktyyr5j.js} +12 -12
- package/dist/chunks/{location-5t3nmthw.js → integration-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-1ajx6rf5.js → integration-5xtgfte3.js} +8 -8
- package/dist/chunks/{location-87dxtzj4.js → integration-5ygx4xgr.js} +19 -19
- package/dist/chunks/{location-q1b20y97.js → integration-61qx32bh.js} +12 -12
- package/dist/chunks/{location-zmwna8pt.js → integration-642dtp8t.js} +16 -16
- package/dist/chunks/{location-669tq793.js → integration-669tq793.js} +1 -1
- package/dist/chunks/{location-bqfsqarm.js → integration-6a1k0919.js} +15 -15
- package/dist/chunks/{location-6msgmcgs.js → integration-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-kvnawng8.js → integration-6n0qrh8h.js} +6 -6
- package/dist/chunks/{location-w0tr1p2n.js → integration-6zs6vn7z.js} +20 -20
- package/dist/chunks/{location-n2qcta3r.js → integration-7b2mcdh0.js} +11 -11
- package/dist/chunks/{location-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-rd0fjfer.js → integration-7bpa53t8.js} +22 -22
- package/dist/chunks/{location-qj9xvr5c.js → integration-7p31dfjq.js} +23 -23
- package/dist/chunks/{location-fgen454y.js → integration-7pjqbtph.js} +3 -3
- package/dist/chunks/{location-pwhkx6jx.js → integration-7vgytrt0.js} +3 -3
- package/dist/chunks/{location-p49hdftr.js → integration-8792ynvx.js} +6 -6
- package/dist/chunks/{location-hrpea4dg.js → integration-8ag37byx.js} +323 -323
- package/dist/chunks/{location-82mn4p1g.js → integration-8c0465q4.js} +43 -43
- package/dist/chunks/{location-8d7r5vzw.js → integration-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-7mt2gtfj.js → integration-8prqbkrr.js} +26 -26
- package/dist/chunks/{location-ajaf8rr1.js → integration-8qfaf98e.js} +26 -26
- package/dist/chunks/{location-03b1d2xf.js → integration-8tj7vgpd.js} +8 -8
- package/dist/chunks/{location-z1wz9sty.js → integration-8zx20dyq.js} +8 -8
- package/dist/chunks/{location-wbkyxrgf.js → integration-92a4ap4w.js} +5 -5
- package/dist/chunks/{location-gfvb90ym.js → integration-94ek1h2f.js} +2 -2
- package/dist/chunks/integration-9sh4wc5j.js +18 -0
- package/dist/chunks/{location-fkgkq2bq.js → integration-9vqd3vkv.js} +2 -2
- package/dist/chunks/{location-pbmgymcv.js → integration-a79p9ndc.js} +14 -14
- package/dist/chunks/{location-akvdnkta.js → integration-a8h3ya78.js} +24 -24
- package/dist/chunks/{location-aaet6srn.js → integration-aaet6srn.js} +2 -2
- package/dist/chunks/{location-t8jhjvab.js → integration-agwv8r96.js} +24 -24
- package/dist/chunks/{location-8k1xnzjf.js → integration-ar3p4ab9.js} +18 -18
- package/dist/chunks/{location-mgmaefw5.js → integration-arndb05z.js} +6 -6
- package/dist/chunks/{location-f9yek72b.js → integration-ay4zw6ra.js} +3 -3
- package/dist/chunks/{location-3pfqp9x0.js → integration-aymydttc.js} +45 -45
- package/dist/chunks/{location-yv7j04vt.js → integration-b4eksnnw.js} +4 -4
- package/dist/chunks/{location-w168c8c1.js → integration-b62cz6t4.js} +24 -24
- package/dist/chunks/{location-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-xg3m2ppk.js → integration-b7c98d9s.js} +79 -79
- package/dist/chunks/{location-njwqk4ka.js → integration-b9c4cs5t.js} +20 -20
- package/dist/chunks/{location-vxtm7qfg.js → integration-batqd7zg.js} +9 -9
- package/dist/chunks/{location-pvphy38p.js → integration-bbtv9q89.js} +20 -20
- package/dist/chunks/{location-fnhn454m.js → integration-brt6w24q.js} +11 -11
- package/dist/chunks/{location-bxg941en.js → integration-brzn9fcq.js} +20 -20
- package/dist/chunks/{location-8fhzde2b.js → integration-bsg90znx.js} +30 -30
- package/dist/chunks/{location-x0p95pq5.js → integration-c12z2gkm.js} +7 -7
- package/dist/chunks/{location-2sejkfem.js → integration-c765mh8b.js} +9 -9
- package/dist/chunks/{location-va698f7d.js → integration-c96f0p9h.js} +11 -11
- package/dist/chunks/{location-mtsc5q31.js → integration-cgsrrj7q.js} +22 -22
- package/dist/chunks/{location-pq0em7mp.js → integration-cjaadver.js} +11 -11
- package/dist/chunks/{location-54tcyq79.js → integration-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-0xqnn6r6.js → integration-cybjyhj8.js} +10 -10
- package/dist/chunks/{location-xh5xzt4q.js → integration-d1q6pa1n.js} +13 -13
- package/dist/chunks/{location-4sdz4ba6.js → integration-d23shgks.js} +69 -69
- package/dist/chunks/{location-xfkkasph.js → integration-drwq78ky.js} +4 -4
- package/dist/chunks/{location-5qd3pb7m.js → integration-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-af04s6ss.js → integration-ead3g9p8.js} +5 -5
- package/dist/chunks/{location-ecfe7b91.js → integration-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-6k33h7hv.js → integration-ed4gpyej.js} +30 -30
- package/dist/chunks/{location-5q41emxe.js → integration-eef5v9kb.js} +10 -10
- package/dist/chunks/{location-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-50q9nbwa.js → integration-efjp555c.js} +10 -10
- package/dist/chunks/{location-h9shz2e0.js → integration-eftvw2ps.js} +11 -11
- package/dist/chunks/{location-ecrfaaw3.js → integration-eh9hc8zz.js} +40 -40
- package/dist/chunks/{location-m303x724.js → integration-em2td48j.js} +26 -26
- package/dist/chunks/{location-91n38a9p.js → integration-eqap4rx8.js} +27 -27
- package/dist/chunks/{location-etq0c3wd.js → integration-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-p50sb73r.js → integration-eytnbrp4.js} +11 -11
- package/dist/chunks/{location-ka9n7xe0.js → integration-f52q629a.js} +18 -18
- package/dist/chunks/{location-d6r54p0z.js → integration-f5dss5et.js} +22 -22
- package/dist/chunks/{location-0jwsre1p.js → integration-fcrkznn8.js} +5 -5
- package/dist/chunks/{location-bf4e40v7.js → integration-fdg6dk35.js} +10 -10
- package/dist/chunks/{location-mnbh32fx.js → integration-fdzkgkhq.js} +8 -8
- package/dist/chunks/{location-321x2wtd.js → integration-ff0htmxq.js} +6 -6
- package/dist/chunks/{location-pz026a91.js → integration-fjqrscp2.js} +4 -4
- package/dist/chunks/{location-z38mhgfq.js → integration-fsyzgk7x.js} +12 -12
- package/dist/chunks/{location-zv90g90z.js → integration-fvn4hzkp.js} +13 -13
- package/dist/chunks/{location-6936e3tb.js → integration-g65rygdb.js} +33 -33
- package/dist/chunks/{location-ahs7fvg1.js → integration-g84vzkh9.js} +6 -6
- package/dist/chunks/{location-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-8j1skqgj.js → integration-gd69gam6.js} +17 -17
- package/dist/chunks/{location-qxvajmf7.js → integration-gkj9ws5j.js} +13 -13
- package/dist/chunks/{location-4yg98eve.js → integration-gnnqe2b8.js} +12 -12
- package/dist/chunks/{location-2xw79qf5.js → integration-gpyq5wxf.js} +14 -14
- package/dist/chunks/{location-fcbwjxnb.js → integration-gtn4q1hd.js} +1 -1
- package/dist/chunks/{location-gv6a8nnw.js → integration-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-99fa44nw.js → integration-h4y13pdc.js} +8 -8
- package/dist/chunks/{location-hd8vw2pw.js → integration-h5w29vws.js} +1 -1
- package/dist/chunks/{location-4dgbcxzg.js → integration-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-h71w788e.js → integration-h71w788e.js} +2 -2
- package/dist/chunks/{location-z2sk8n0r.js → integration-h7h63fbb.js} +11 -11
- package/dist/chunks/{location-pdnpx475.js → integration-hent0hyy.js} +6 -6
- package/dist/chunks/{location-f0vrjwjw.js → integration-hngqn4yp.js} +14 -14
- package/dist/chunks/{location-dg2tseh9.js → integration-hraga64b.js} +9 -9
- package/dist/chunks/{location-0x8r1xf8.js → integration-j1vkejd2.js} +10 -10
- package/dist/chunks/{location-j56e64zr.js → integration-j56e64zr.js} +1 -1
- package/dist/chunks/{location-bf4gbvg4.js → integration-jgqjabpd.js} +11 -11
- package/dist/chunks/{location-4jwfw9t7.js → integration-jmws5egn.js} +15 -15
- package/dist/chunks/{location-hj80damg.js → integration-k025p0a5.js} +33 -33
- package/dist/chunks/{location-f5gy8qwh.js → integration-k1qrnqst.js} +8 -8
- package/dist/chunks/{location-k3c624dm.js → integration-k3c624dm.js} +3 -3
- package/dist/chunks/{location-2y6ffh4c.js → integration-k4ktkddb.js} +4 -4
- package/dist/chunks/{location-7qks8dan.js → integration-kb2n1thj.js} +23 -23
- package/dist/chunks/{location-b95n020p.js → integration-kd7zsave.js} +9 -9
- package/dist/chunks/{location-qe945752.js → integration-kg5xa2m1.js} +17 -17
- package/dist/chunks/{location-yeqt6yj4.js → integration-kg8ppk7y.js} +28 -28
- package/dist/chunks/{location-afdssyjb.js → integration-kne8f3cn.js} +4 -4
- package/dist/chunks/{location-cvrsk9fd.js → integration-ksbehr0q.js} +9 -9
- package/dist/chunks/{location-2jhm9eyt.js → integration-kv8xqnbh.js} +30 -30
- package/dist/chunks/{location-86cgss88.js → integration-kx90v2pa.js} +3 -3
- package/dist/chunks/{location-7v81x33d.js → integration-m363q372.js} +9 -9
- package/dist/chunks/{location-m3fdjcah.js → integration-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/integration-ma1g4pz3.js +252 -0
- package/dist/chunks/{location-eq1pz5kg.js → integration-mhkvc446.js} +3 -3
- package/dist/chunks/{location-5767z5qk.js → integration-mj77e68t.js} +26 -26
- package/dist/chunks/{location-4gycnsfp.js → integration-mjncxbbh.js} +4 -4
- package/dist/chunks/{location-7q8vgb26.js → integration-myc7jfq9.js} +7 -7
- package/dist/chunks/{location-va6930fd.js → integration-n2703j95.js} +5 -5
- package/dist/chunks/{location-71xcq78h.js → integration-n6t5rd58.js} +86 -86
- package/dist/chunks/{location-rh8y0z1p.js → integration-nd83aj77.js} +16 -16
- package/dist/chunks/{location-vth0z15k.js → integration-neke8y15.js} +26 -26
- package/dist/chunks/{location-fvf5cb06.js → integration-ng1b0yq9.js} +29 -29
- package/dist/chunks/{location-frbktfyz.js → integration-nntp1bnc.js} +14 -14
- package/dist/chunks/{location-ent53862.js → integration-nx97ad9f.js} +24 -24
- package/dist/chunks/{location-qzyph8ek.js → integration-p487xezt.js} +11 -11
- package/dist/chunks/{location-me8jvw4v.js → integration-p60p17fm.js} +15 -15
- package/dist/chunks/{location-bsjb98v5.js → integration-p8wkjeq7.js} +43 -43
- package/dist/chunks/{location-w7zcztdz.js → integration-pe6jzat4.js} +11 -11
- package/dist/chunks/{location-zxfsz17a.js → integration-peqamsx4.js} +16 -16
- package/dist/chunks/{location-cpn8fns4.js → integration-pjkxjfx2.js} +10 -10
- package/dist/chunks/{location-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{location-em7mzjn4.js → integration-pkxfpd18.js} +6 -6
- package/dist/chunks/{location-wy0rscj2.js → integration-pnv9r6hx.js} +27 -27
- package/dist/chunks/{location-sbhdk62n.js → integration-pwjk7cxg.js} +10 -10
- package/dist/chunks/{location-693v0dn7.js → integration-q7kyp8as.js} +5 -5
- package/dist/chunks/{location-31sb4mzz.js → integration-q9pdf724.js} +5 -5
- package/dist/chunks/{location-bjmftk71.js → integration-qcmtyx1r.js} +19 -19
- package/dist/chunks/{location-rnnyhd50.js → integration-qd9dnqf4.js} +15 -15
- package/dist/chunks/{location-3bc8czyk.js → integration-qdbakdjh.js} +5 -5
- package/dist/chunks/{location-nq7qbqzc.js → integration-qg0jgkcp.js} +9 -9
- package/dist/chunks/{location-hp5fhm3b.js → integration-qkfxsw11.js} +11 -11
- package/dist/chunks/{location-24vp5xsz.js → integration-qna7jv5t.js} +25 -25
- package/dist/chunks/{location-8pwagnxc.js → integration-qqqvzwqh.js} +30 -30
- package/dist/chunks/{location-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{location-y6f0p4jw.js → integration-qsee9sfb.js} +2 -2
- package/dist/chunks/{location-10mkqwtm.js → integration-qw2w7wcy.js} +140 -140
- package/dist/chunks/{location-fmq6hapb.js → integration-r1sknhmy.js} +10 -10
- package/dist/chunks/{location-e06d8b03.js → integration-r3ndzc0r.js} +33 -33
- package/dist/chunks/{location-3yzbp4y2.js → integration-r6rdvm1e.js} +14 -14
- package/dist/chunks/{location-8m83jnsx.js → integration-r7z1v9sc.js} +48 -48
- package/dist/chunks/{location-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-8sze2n9a.js → integration-rkprpv83.js} +6 -6
- package/dist/chunks/{location-n62dhrz9.js → integration-rq2m7emw.js} +10 -10
- package/dist/chunks/{location-f8jv9byx.js → integration-s3qt08pm.js} +30 -30
- package/dist/chunks/{location-qsjjakye.js → integration-s3r9kgb0.js} +8 -8
- package/dist/chunks/{location-yrznvahk.js → integration-s4enseaf.js} +2 -2
- package/dist/chunks/{location-eqrj6z30.js → integration-s4qpaza9.js} +28 -28
- package/dist/chunks/{location-30846h32.js → integration-s5met55r.js} +7 -7
- package/dist/chunks/{location-qyysjfz2.js → integration-sfvw0e4z.js} +1 -1
- package/dist/chunks/{location-grs5yd9b.js → integration-smvcjnft.js} +53 -53
- package/dist/chunks/{location-2n2feb9b.js → integration-spar1ava.js} +3 -3
- package/dist/chunks/{location-f3ngv102.js → integration-t51qk8jz.js} +21 -21
- package/dist/chunks/{location-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-bk7jaeqh.js → integration-tazp3vs0.js} +4 -4
- package/dist/chunks/integration-tb4yf0h0.js +26 -0
- package/dist/chunks/{location-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-pz6dgdr2.js → integration-tdf9379j.js} +7 -7
- package/dist/chunks/{location-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{location-xdma2xvk.js → integration-tgd5gd8z.js} +30 -30
- package/dist/chunks/{location-cq4wpeev.js → integration-th878m9f.js} +15 -15
- package/dist/chunks/{location-xs1m67vf.js → integration-tsf0tchq.js} +9 -9
- package/dist/chunks/{location-aktznddm.js → integration-tsz724y6.js} +11 -11
- package/dist/chunks/{location-tvtrv512.js → integration-tvtrv512.js} +1 -1
- package/dist/chunks/{location-2r3apkbr.js → integration-tyyk4h9e.js} +8 -8
- package/dist/chunks/{location-dbb8vp5z.js → integration-vbfgae2j.js} +4 -4
- package/dist/chunks/{location-x0tasxqz.js → integration-vca532yr.js} +4 -4
- package/dist/chunks/{location-vncycja5.js → integration-ve4pfa0n.js} +4 -4
- package/dist/chunks/{location-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{location-y1df562v.js → integration-vf0eqkj2.js} +17 -17
- package/dist/chunks/{location-qcf13vms.js → integration-vmjjseha.js} +15 -15
- package/dist/chunks/{location-9qyfdgxc.js → integration-vn9428k7.js} +13 -13
- package/dist/chunks/{location-sjrr8pwy.js → integration-vngc4nsz.js} +23 -23
- package/dist/chunks/{location-zqjeymsx.js → integration-vvw48j1x.js} +4 -4
- package/dist/chunks/{location-afed7ext.js → integration-vy4zg7qh.js} +5 -5
- package/dist/chunks/{location-vzcthcp8.js → integration-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-5eq1rvf4.js → integration-w04afbgk.js} +43 -43
- package/dist/chunks/{location-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-rk8e6c4e.js → integration-wcn0fz8d.js} +6 -6
- package/dist/chunks/{location-psazpmmj.js → integration-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{location-ef7kd23s.js → integration-wtvcrsd8.js} +20 -20
- package/dist/chunks/{location-ah251an0.js → integration-wxgrhan6.js} +14 -14
- package/dist/chunks/{location-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-6mk1zs0m.js → integration-x1mydaj6.js} +27 -27
- package/dist/chunks/{location-5agr9zwd.js → integration-x51xa4nv.js} +12 -12
- package/dist/chunks/{location-c4rfsmrz.js → integration-x6xhyask.js} +6 -6
- package/dist/chunks/{location-b8171w38.js → integration-xeb0zfag.js} +23 -23
- package/dist/chunks/{location-60k29m3a.js → integration-xk24rg93.js} +1 -1
- package/dist/chunks/{location-xkntkrq7.js → integration-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-gy1zbbg8.js → integration-xsc51daq.js} +20 -20
- package/dist/chunks/{location-g5agzp2h.js → integration-xvp1j2dc.js} +5 -5
- package/dist/chunks/{location-wn6ryfvd.js → integration-xxgswz1d.js} +1 -1
- package/dist/chunks/{location-k3sn4jay.js → integration-xxndcd6m.js} +4 -4
- package/dist/chunks/{location-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-7j2qha59.js → integration-y1qqcj8h.js} +8 -8
- package/dist/chunks/{location-y71avatq.js → integration-y71avatq.js} +1 -1
- package/dist/chunks/{location-ay4yd4d7.js → integration-yjxq1cx9.js} +11 -11
- package/dist/chunks/{location-1acjjqhc.js → integration-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-42bm2tdg.js → integration-ypy2wr3e.js} +14 -14
- package/dist/chunks/{location-snqwywr0.js → integration-yqyzzxwd.js} +24 -24
- package/dist/chunks/{location-pmtx2bmb.js → integration-yrcasac4.js} +15 -15
- package/dist/chunks/{location-yrhqyw5v.js → integration-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-t80zgtse.js → integration-yrzvsqy9.js} +32 -32
- package/dist/chunks/{location-xd9p6rte.js → integration-ywgf9kw8.js} +56 -56
- package/dist/chunks/{location-bjtzbw4r.js → integration-z07pqspn.js} +3 -3
- package/dist/chunks/{location-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-vjnhtx5y.js → integration-z0ctvamz.js} +3 -3
- package/dist/chunks/{location-42dy8wkf.js → integration-z0jt56da.js} +6 -6
- package/dist/chunks/{location-wq9xxgxb.js → integration-z0nvg8z8.js} +44 -44
- package/dist/chunks/{location-k23qkgd8.js → integration-z29p4v5f.js} +27 -27
- package/dist/chunks/{location-evbgk2k8.js → integration-z3pw5915.js} +5 -5
- package/dist/chunks/{location-b7kqjy0v.js → integration-z3v1wmam.js} +23 -23
- package/dist/chunks/{location-yzqmf70x.js → integration-z7p94bkx.js} +34 -34
- package/dist/chunks/{location-pcsc7bbk.js → integration-zbcasdk5.js} +1 -1
- package/dist/chunks/{location-j0374pag.js → integration-ze76zm0t.js} +6 -6
- package/dist/chunks/{location-zeh9ct20.js → integration-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-zzmrs7ms.js → integration-zfkp35rd.js} +25 -25
- package/dist/chunks/{location-q4gdq19g.js → integration-zn11c7wh.js} +20 -20
- package/dist/chunks/{location-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +102 -102
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +91 -91
- 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/id/id.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 +361 -361
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +3 -3
- 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 +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +6 -6
- 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 +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +123 -123
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- 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 +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-2g5sqqgw.js +0 -252
- package/dist/chunks/location-rap9a73h.js +0 -18
- package/dist/chunks/location-sb5wy6p1.js +0 -26
- /package/dist/chunks/{location-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → integration-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → integration-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → integration-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → integration-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → integration-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID6,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-agwv8r96.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-ywgf9kw8.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent = {};
|
|
15
15
|
__export(exports_agent, {
|
|
16
16
|
AgentPlugin: () => exports_agent,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin12
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin12 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin30 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID6.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID6.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin30 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID6.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID6.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID6.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin30 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin12, exports_agent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service4,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service4, node6, bound2, exports_instance2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-b4eksnnw.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-ywgf9kw8.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
24
|
Service: () => Service41,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node45,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event6 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info6 = Skill.Info;
|
|
43
|
+
var ID3 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -80,19 +80,19 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID3.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID3.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID3.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID3.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
111
|
+
var node45 = makeLocationNode({
|
|
112
112
|
service: Service41,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info6, ID3, Name2, available2, toModelOutput3, prepare3, Service41, node45, exports_skill5, Event6 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z0ctvamz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./integration-ff0htmxq.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-5dkn69vz.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-yjxq1cx9.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-1zswqe2z.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service25
|
|
21
|
+
} from "./integration-b7c98d9s.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./integration-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service45;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service25;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-p487xezt.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-b4eksnnw.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./integration-yqyzzxwd.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-7bpa53t8.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service13
|
|
20
|
+
} from "./integration-k1qrnqst.js";
|
|
21
21
|
import {
|
|
22
22
|
ID13,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-neke8y15.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
ID7,
|
|
28
|
+
Input14,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-zfkp35rd.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var methodID = MethodID2.make("device");
|
|
|
43
43
|
var RemoteResponse = Schema.Struct({
|
|
44
44
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
45
45
|
websearch: Schema.Struct({
|
|
46
|
-
providerID:
|
|
46
|
+
providerID: ID7
|
|
47
47
|
}).pipe(Schema.optional),
|
|
48
48
|
mcp: Schema.Struct({
|
|
49
49
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -128,7 +128,7 @@ var OpencodePlugin2 = define({
|
|
|
128
128
|
const bus = yield* Service83;
|
|
129
129
|
const client = yield* HttpClient.HttpClient;
|
|
130
130
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
131
|
-
const managed = yield*
|
|
131
|
+
const managed = yield* Service13;
|
|
132
132
|
const loading = Semaphore.makeUnsafe(1);
|
|
133
133
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
134
134
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -278,7 +278,7 @@ var OpencodePlugin2 = define({
|
|
|
278
278
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
279
279
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
280
280
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
281
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
281
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
282
282
|
query: input.query,
|
|
283
283
|
providerID: descriptor.providerID
|
|
284
284
|
}));
|
|
@@ -314,7 +314,7 @@ var OpencodePlugin2 = define({
|
|
|
314
314
|
});
|
|
315
315
|
});
|
|
316
316
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
317
|
-
yield* bus.subscribe(
|
|
317
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
318
318
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
319
319
|
})
|
|
320
320
|
});
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-b4eksnnw.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./integration-peqamsx4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service49,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node52
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service49 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service49.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node52 = makeLocationNode({ service: Service49, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service49, node52, exports_rpc, define2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-5ygx4xgr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID3.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z0ctvamz.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-b4eksnnw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./integration-ff0htmxq.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID11,
|
|
15
|
+
Service70
|
|
16
|
+
} from "./integration-tgd5gd8z.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./integration-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-kd7zsave.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./integration-z07pqspn.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./integration-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service45;
|
|
46
46
|
const database = yield* Service84;
|
|
47
47
|
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service70;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID11.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service45;
|
|
78
78
|
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service70;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID11.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID11.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-b4eksnnw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./integration-peqamsx4.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service36
|
|
10
|
+
} from "./integration-p8wkjeq7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command = {};
|
|
17
17
|
__export(exports_command, {
|
|
18
18
|
CommandPlugin: () => exports_command,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin15
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin15 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service80;
|
|
200
|
+
const mcp = yield* Service36;
|
|
201
201
|
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin15, exports_command };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|