@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,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./integration-peqamsx4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service71
|
|
9
|
+
} from "./integration-8c0465q4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./integration-wtvcrsd8.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin33
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin33 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service71;
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service60;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin39 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin33, exports_worktree };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service76,
|
|
7
|
-
node80
|
|
8
|
-
} from "./location-h5e2anyc.js";
|
|
4
|
+
} from "./integration-b4eksnnw.js";
|
|
9
5
|
import {
|
|
10
6
|
Service78,
|
|
11
7
|
node82
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./integration-4x10yshe.js";
|
|
9
|
+
import {
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./integration-kb2n1thj.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./integration-peqamsx4.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-292g12x5.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service50,
|
|
26
|
+
node53
|
|
27
|
+
} from "./integration-ywgf9kw8.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service49,
|
|
30
|
+
node52
|
|
31
|
+
} from "./integration-6a1k0919.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./integration-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service48,
|
|
41
|
+
node: () => node51
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service48 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service83;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
|
+
const permission = yield* Service50;
|
|
54
|
+
const forms = yield* Service78;
|
|
55
|
+
const rpc = yield* Service49;
|
|
56
|
+
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service48.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node51 = makeLocationNode({
|
|
84
|
+
service: Service48,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [node87,
|
|
86
|
+
deps: [node87, node84, node53, node85, node82, node52]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service48, node51, exports_location_lifecycle };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-b4eksnnw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./integration-peqamsx4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID6,
|
|
11
|
+
Service53,
|
|
12
|
+
node56
|
|
13
|
+
} from "./integration-agwv8r96.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError7
|
|
16
|
+
} from "./integration-kd7zsave.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service52,
|
|
19
|
+
node55
|
|
20
|
+
} from "./integration-wxgrhan6.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service51,
|
|
26
|
+
node54
|
|
27
|
+
} from "./integration-qd9dnqf4.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
Service66,
|
|
30
30
|
node70
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./integration-s5met55r.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./integration-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event8,
|
|
46
|
+
ID: () => ID4,
|
|
47
|
+
NotFoundError: () => NotFoundError6,
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service50,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node53
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event8 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID4 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID4.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID6.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID4,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID4,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID4
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service50 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service80;
|
|
133
|
+
const agents = yield* Service53;
|
|
134
|
+
const sessions = yield* Service52;
|
|
135
|
+
const saved = yield* Service51;
|
|
136
|
+
const hooks = yield* Service66;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError7({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID4.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID4.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError6({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service50.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node53 = makeLocationNode({
|
|
303
|
+
service: Service50,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87,
|
|
305
|
+
deps: [node87, node84, node56, node55, node54, node70]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID4, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service50, node53, exports_permission, Rule2, Ruleset2, Event8 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-wd3x2cqz.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-kx90v2pa.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-7pjqbtph.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-neke8y15.js";
|
|
6
6
|
import {
|
|
7
7
|
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info26
|
|
11
|
+
} from "./integration-x1mydaj6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -118,8 +118,8 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info26.make({
|
|
122
|
+
...Info26.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
124
|
modelID: ID12.make(remote.id),
|
|
125
125
|
providerID: ID13.githubCopilot,
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./integration-8c0465q4.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service64
|
|
13
|
+
} from "./integration-b62cz6t4.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./integration-kg5xa2m1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service50
|
|
19
|
+
} from "./integration-ywgf9kw8.js";
|
|
20
20
|
import {
|
|
21
21
|
Service16,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-hngqn4yp.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./integration-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service68,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./integration-nd83aj77.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service62
|
|
37
|
+
} from "./integration-aymydttc.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./integration-n6t5rd58.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./integration-fjqrscp2.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./integration-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin49,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name12 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input12 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin49 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service24;
|
|
123
|
+
const jobs = yield* Service69;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
125
|
+
const environment = yield* Service64;
|
|
126
126
|
const access = yield* Service16;
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
127
|
+
const shell = yield* Service62;
|
|
128
|
+
const shellSelect = yield* Service68;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service50;
|
|
131
|
+
const config = yield* Service71;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin12 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name12,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin12 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name12,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input12,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -206,7 +206,7 @@ var Plugin12 = {
|
|
|
206
206
|
const run = Effect.gen(function* () {
|
|
207
207
|
const result = yield* shell.result(info);
|
|
208
208
|
if (!result.capture)
|
|
209
|
-
return yield* new
|
|
209
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
210
210
|
const output = output2(result);
|
|
211
211
|
return {
|
|
212
212
|
...output,
|
|
@@ -220,7 +220,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
220
220
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
221
221
|
const job = yield* jobs.start({
|
|
222
222
|
id: info.id,
|
|
223
|
-
type:
|
|
223
|
+
type: name12,
|
|
224
224
|
title: info.command,
|
|
225
225
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
226
226
|
recovery: {
|
|
@@ -250,7 +250,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
250
250
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
const hook = (event) => Effect.gen(function* () {
|
|
253
|
-
const tool = event.tools[
|
|
253
|
+
const tool = event.tools[name12];
|
|
254
254
|
if (!tool)
|
|
255
255
|
return;
|
|
256
256
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -261,4 +261,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
261
261
|
})
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin49, exports_shell2 };
|