@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
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service40,
|
|
17
|
+
node44
|
|
18
|
+
} from "./integration-m363q372.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
Service66,
|
|
21
21
|
node70
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./integration-s5met55r.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./integration-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service39,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node43
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service39 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service66;
|
|
58
|
+
const image = yield* Service40;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service39.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node43 = makeLocationNode({
|
|
277
|
+
service: Service39,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node70,
|
|
279
|
+
deps: [node70, node44]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service39, node43, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make18,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-0gdmqesm.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-ywgf9kw8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service36,
|
|
12
|
+
node39
|
|
13
|
+
} from "./integration-p8wkjeq7.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./integration-z3v1wmam.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions4 = {};
|
|
24
24
|
__export(exports_instructions4, {
|
|
25
25
|
McpInstructions: () => exports_instructions4,
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
26
|
+
Service: () => Service30,
|
|
27
|
+
layer: () => layer12,
|
|
28
|
+
node: () => node34
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service30 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service36;
|
|
68
|
+
return Service30.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make18({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -86,7 +86,7 @@ var layer10 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer10 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node34 = makeLocationNode({ service: Service30, layer: layer12, deps: [node39] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service30, layer12, node34, exports_instructions4 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make8,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -55,7 +55,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
55
55
|
return { retry: true, attempt, delay: normalized };
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
59
59
|
const decide = yield* policy2(sessionID);
|
|
60
60
|
const wait = (input) => Effect.gen(function* () {
|
|
61
61
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -72,4 +72,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
72
72
|
return { decide, wait };
|
|
73
73
|
});
|
|
74
74
|
|
|
75
|
-
export { isRetryable2, policy2,
|
|
75
|
+
export { isRetryable2, policy2, make8, exports_retry };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin39,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin39 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin2 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin39, exports_opencode };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service63,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node66
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service63 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service63, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service63.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service45, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node66 = makeGlobalNode({ service: Service63, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service63, node66, exports_environment };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-qsee9sfb.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-kd7zsave.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-0gdmqesm.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-tazp3vs0.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-5dkn69vz.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./integration-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./integration-8c0465q4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./integration-nd83aj77.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin34
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin34 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service71;
|
|
27
|
+
const shell = yield* Service68;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin44 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin34, exports_shell };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-z0ctvamz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-b4eksnnw.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
24
|
ID: () => ID15,
|
|
25
|
-
Info: () =>
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service77,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node81
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -38,9 +38,9 @@ var ID15 = Credential.ID;
|
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
44
|
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
@@ -48,16 +48,16 @@ class Info29 extends Schema.Class("Credential.Info")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service77 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service77.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,7 +76,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
79
|
+
const credential = new Info30({
|
|
80
80
|
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export { ID15, OAuth3, Key4, Value2,
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service77, node81, exports_credential };
|