@opencode/core 0.0.0-dev-20818 → 0.0.0-dev-20819
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{model-resolver-yr1zkagz.js → provider-05t0yy5n.js} +14 -14
- package/dist/chunks/{model-resolver-yf4jcbx9.js → provider-0hf9g8pg.js} +5 -5
- package/dist/chunks/{model-resolver-q0xm7vwc.js → provider-0j77ygfz.js} +6 -6
- package/dist/chunks/{model-resolver-ajzsbz6h.js → provider-0mm9aq32.js} +13 -13
- package/dist/chunks/{model-resolver-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-zbge2zce.js → provider-105dgqr7.js} +17 -17
- package/dist/chunks/{model-resolver-kkeea6r4.js → provider-115ch50k.js} +12 -12
- package/dist/chunks/{model-resolver-4kx48zyc.js → provider-16gjtgy3.js} +52 -52
- package/dist/chunks/{model-resolver-fepyq996.js → provider-1a6g6y7p.js} +24 -24
- package/dist/chunks/{model-resolver-8yqvnfyq.js → provider-1h2g9tn4.js} +32 -32
- package/dist/chunks/{model-resolver-pwmn6ytf.js → provider-1jbxkwyv.js} +26 -26
- package/dist/chunks/{model-resolver-dag1y9ch.js → provider-1jd8q42d.js} +9 -9
- package/dist/chunks/{model-resolver-06x3rahg.js → provider-22ygkatt.js} +8 -8
- package/dist/chunks/{model-resolver-4ts7tf6z.js → provider-2ccvkpx1.js} +2 -2
- package/dist/chunks/{model-resolver-bq2txs8q.js → provider-2d49scjs.js} +25 -25
- package/dist/chunks/{model-resolver-2k8khapm.js → provider-2k8khapm.js} +1 -1
- package/dist/chunks/{model-resolver-dktjxkrs.js → provider-2r93mh4x.js} +5 -5
- package/dist/chunks/{model-resolver-4cqrs0n6.js → provider-2tf80889.js} +45 -45
- package/dist/chunks/{model-resolver-prqm0sca.js → provider-2vcz1va9.js} +17 -17
- package/dist/chunks/{model-resolver-2vvh33eb.js → provider-2vvh33eb.js} +2 -2
- package/dist/chunks/{model-resolver-marc2kh3.js → provider-36x86bch.js} +5 -5
- package/dist/chunks/{model-resolver-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3hwn7j4h.js → provider-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-resolver-bn17cr6t.js → provider-3nh64zp6.js} +9 -9
- package/dist/chunks/{model-resolver-sr3tpeg2.js → provider-3prsa1va.js} +11 -11
- package/dist/chunks/{model-resolver-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-swgbw52f.js → provider-3wpd7sdb.js} +27 -27
- package/dist/chunks/{model-resolver-7rz6x76s.js → provider-3ytwe5rt.js} +20 -20
- package/dist/chunks/{model-resolver-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-kbxf31ae.js → provider-454n8t5y.js} +8 -8
- package/dist/chunks/{model-resolver-mb4hkkb7.js → provider-4acvxgcp.js} +21 -21
- package/dist/chunks/{model-resolver-2nrgk0xt.js → provider-4axe861p.js} +13 -13
- package/dist/chunks/{model-resolver-0tw7g2xy.js → provider-4k52rekz.js} +18 -18
- package/dist/chunks/{model-resolver-6f8jk56b.js → provider-4m8r9fg4.js} +12 -12
- package/dist/chunks/{model-resolver-rre4zkzm.js → provider-4maxka28.js} +79 -79
- package/dist/chunks/{model-resolver-sdp95c92.js → provider-4pss0hxy.js} +18 -18
- package/dist/chunks/{model-resolver-5g76t4e4.js → provider-4rb3tf6t.js} +5 -5
- package/dist/chunks/{model-resolver-t9svvg0h.js → provider-4ymg4mgw.js} +45 -45
- package/dist/chunks/{model-resolver-d2czbp48.js → provider-4z58m4b4.js} +4 -4
- package/dist/chunks/{model-resolver-g6fbtt8s.js → provider-4zn70v01.js} +5 -5
- package/dist/chunks/{model-resolver-ayxk6fbx.js → provider-4zrz1dvp.js} +4 -4
- package/dist/chunks/{model-resolver-sn7hzvv7.js → provider-52fe2n6x.js} +6 -6
- package/dist/chunks/{model-resolver-54ma36ye.js → provider-54ma36ye.js} +1 -1
- package/dist/chunks/{model-resolver-2g3w7qry.js → provider-5awagvpc.js} +4 -4
- package/dist/chunks/{model-resolver-zk200rm0.js → provider-5daxzhhk.js} +33 -33
- package/dist/chunks/{model-resolver-mv3hx7wz.js → provider-5fec3t3w.js} +9 -9
- package/dist/chunks/{model-resolver-9kgj0kft.js → provider-5fvj6kea.js} +9 -9
- package/dist/chunks/{model-resolver-jexst7yn.js → provider-5j4s1sf1.js} +5 -5
- package/dist/chunks/{model-resolver-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-jt6k9mvv.js → provider-5nv1cf15.js} +16 -16
- package/dist/chunks/{model-resolver-yd2ajj40.js → provider-5p8wk7br.js} +3 -3
- package/dist/chunks/{model-resolver-yjjmcma8.js → provider-644xaxd1.js} +4 -4
- package/dist/chunks/{model-resolver-6y5zez5f.js → provider-66za0ybh.js} +3 -3
- package/dist/chunks/provider-6h37vygj.js +18 -0
- package/dist/chunks/{model-resolver-w2439tpj.js → provider-6rd7sphc.js} +23 -23
- package/dist/chunks/{model-resolver-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-j5mg2fvs.js → provider-72k9y6x3.js} +11 -11
- package/dist/chunks/{model-resolver-82v73sw7.js → provider-72sxpf59.js} +3 -3
- package/dist/chunks/{model-resolver-gd92bhwj.js → provider-76nnfvr9.js} +30 -30
- package/dist/chunks/{model-resolver-rjcpa5nc.js → provider-7b9xa5mv.js} +16 -16
- package/dist/chunks/{model-resolver-9zzbt219.js → provider-7bdn8rzq.js} +7 -7
- package/dist/chunks/{model-resolver-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-02109bm9.js → provider-7gqjj3mq.js} +34 -34
- package/dist/chunks/{model-resolver-w1wkdht8.js → provider-7j43bv8y.js} +46 -46
- package/dist/chunks/{model-resolver-5vz9tnw0.js → provider-7m6hak9t.js} +33 -33
- package/dist/chunks/{model-resolver-gqj52n1c.js → provider-7m71rsm5.js} +32 -32
- package/dist/chunks/{model-resolver-n8abgy3f.js → provider-7nzfcs77.js} +14 -14
- package/dist/chunks/{model-resolver-354rzadz.js → provider-7rt165ap.js} +10 -10
- package/dist/chunks/{model-resolver-xsgk3b13.js → provider-7v81x33d.js} +9 -9
- package/dist/chunks/{model-resolver-84txncab.js → provider-84txncab.js} +1 -1
- package/dist/chunks/{model-resolver-945z4yyk.js → provider-85cwrbwd.js} +3 -3
- package/dist/chunks/{model-resolver-2fk733kj.js → provider-86gggjw6.js} +24 -24
- package/dist/chunks/{model-resolver-gz4an1ee.js → provider-8844v94p.js} +12 -12
- package/dist/chunks/provider-8a4d0rff.js +26 -0
- package/dist/chunks/{model-resolver-bsh0mdra.js → provider-8agmnry4.js} +18 -18
- package/dist/chunks/{model-resolver-phphykcr.js → provider-8cy6mvnv.js} +12 -12
- package/dist/chunks/{model-resolver-phz50fbd.js → provider-8hxtpvs0.js} +9 -9
- package/dist/chunks/{model-resolver-8m6m0r52.js → provider-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-resolver-vnyh837f.js → provider-8p5dcft8.js} +11 -11
- package/dist/chunks/{model-resolver-wj3y3c2n.js → provider-8tkppbx2.js} +4 -4
- package/dist/chunks/provider-91b5zmzs.js +513 -0
- package/dist/chunks/{model-resolver-wzyy5bqv.js → provider-95cj991r.js} +9 -9
- package/dist/chunks/{model-resolver-wvsncfxf.js → provider-977g2q7r.js} +32 -32
- package/dist/chunks/{model-resolver-gt1qgv3v.js → provider-9fbyxv7h.js} +25 -25
- package/dist/chunks/{model-resolver-pa8pe2x7.js → provider-9hn6k4tm.js} +8 -8
- package/dist/chunks/{model-resolver-n04ey09n.js → provider-9mhtf283.js} +6 -6
- package/dist/chunks/{model-resolver-fn31w4wy.js → provider-a4g7dr4s.js} +38 -38
- package/dist/chunks/{model-resolver-tt8md0qn.js → provider-a8nr4rbb.js} +29 -29
- package/dist/chunks/{model-resolver-4przawg5.js → provider-a8t9w2yw.js} +16 -16
- package/dist/chunks/{model-resolver-7gvsa56m.js → provider-aayt0g8p.js} +13 -13
- package/dist/chunks/{model-resolver-4ekscj25.js → provider-aj3rbcf1.js} +5 -5
- package/dist/chunks/{model-resolver-994edmm0.js → provider-ak0hh039.js} +9 -9
- package/dist/chunks/{model-resolver-9jm48qcm.js → provider-am909pk9.js} +15 -15
- package/dist/chunks/{model-resolver-b3f8fkhc.js → provider-b3f8fkhc.js} +2 -2
- package/dist/chunks/{model-resolver-mwd4tg70.js → provider-bcnceejz.js} +3 -3
- package/dist/chunks/{model-resolver-kba6jxm6.js → provider-bfsn9k2g.js} +31 -31
- package/dist/chunks/{model-resolver-qb9gv935.js → provider-bgbb68bf.js} +50 -50
- package/dist/chunks/{model-resolver-7sg20anq.js → provider-bm107t7h.js} +11 -11
- package/dist/chunks/{model-resolver-0xqyf95c.js → provider-btbmdjwj.js} +4 -4
- package/dist/chunks/{model-resolver-ms23b1xg.js → provider-bxr1m0k3.js} +15 -15
- package/dist/chunks/{model-resolver-tej3kksn.js → provider-bxz08qrx.js} +5 -5
- package/dist/chunks/{model-resolver-c1fqxshp.js → provider-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-resolver-9p3kpytz.js → provider-c9kjtmah.js} +12 -12
- package/dist/chunks/{model-resolver-w9967290.js → provider-cacd1jm9.js} +4 -4
- package/dist/chunks/{model-resolver-pbycz9cj.js → provider-cne3g4td.js} +11 -11
- package/dist/chunks/{model-resolver-cwa6csj7.js → provider-cpneeje0.js} +9 -9
- package/dist/chunks/{model-resolver-97v2b7ch.js → provider-cxy95pxm.js} +31 -31
- package/dist/chunks/{model-resolver-71z5hmrq.js → provider-d4aya8fc.js} +13 -13
- package/dist/chunks/{model-resolver-gcd08e9f.js → provider-dcdhzt8b.js} +24 -24
- package/dist/chunks/{model-resolver-9xk3tkyn.js → provider-dfk6kfc9.js} +2 -2
- package/dist/chunks/{model-resolver-d5ebnksf.js → provider-dn5he4af.js} +32 -32
- package/dist/chunks/{model-resolver-p9wpme1z.js → provider-dpdm64ty.js} +17 -17
- package/dist/chunks/{model-resolver-9y9sk2j9.js → provider-drnf6xwf.js} +2 -2
- package/dist/chunks/{model-resolver-wajt81dh.js → provider-dyzfbb2f.js} +4 -4
- package/dist/chunks/{model-resolver-ac6rad81.js → provider-e3b9mkye.js} +25 -25
- package/dist/chunks/{model-resolver-1afynxeq.js → provider-e3n34vws.js} +7 -7
- package/dist/chunks/{model-resolver-5qd3pb7m.js → provider-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-resolver-dk561135.js → provider-ec88y2q0.js} +177 -177
- package/dist/chunks/{model-resolver-eej6y6fw.js → provider-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-3s50mzfh.js → provider-emqyv9re.js} +16 -16
- package/dist/chunks/{model-resolver-dj68pnee.js → provider-ermxvwhp.js} +4 -4
- package/dist/chunks/{model-resolver-0pykbks7.js → provider-faj9nw43.js} +11 -11
- package/dist/chunks/{model-resolver-6ag0d22y.js → provider-fas5dz2e.js} +23 -23
- package/dist/chunks/{model-resolver-e7hvkerb.js → provider-fqnkqsp9.js} +26 -26
- package/dist/chunks/{model-resolver-dve7h5ag.js → provider-fwa5knzh.js} +10 -10
- package/dist/chunks/{model-resolver-fxaymqdw.js → provider-fxaymqdw.js} +1 -1
- package/dist/chunks/{model-resolver-3vk79hma.js → provider-g1qtspwg.js} +24 -24
- package/dist/chunks/{model-resolver-82yxh1jw.js → provider-g33gt04d.js} +68 -68
- package/dist/chunks/{model-resolver-tstyx0bk.js → provider-g485rnjb.js} +16 -16
- package/dist/chunks/{model-resolver-60th7n68.js → provider-gb0ha008.js} +8 -8
- package/dist/chunks/{model-resolver-9dzan21f.js → provider-gcf6sfbq.js} +18 -18
- package/dist/chunks/{model-resolver-xybefm6f.js → provider-gd0tnyjc.js} +1 -1
- package/dist/chunks/{model-resolver-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-vg7sgs10.js → provider-gdawb179.js} +6 -6
- package/dist/chunks/{model-resolver-mtrbqqrq.js → provider-gebtr55s.js} +5 -5
- package/dist/chunks/{model-resolver-b10239s2.js → provider-ghmaxe42.js} +5 -5
- package/dist/chunks/{model-resolver-gk8qb678.js → provider-gk8qb678.js} +1 -1
- package/dist/chunks/{model-resolver-9q1zjnbs.js → provider-gt5zqm6h.js} +2 -2
- package/dist/chunks/{model-resolver-f5ez8c8z.js → provider-gvx2zve9.js} +39 -39
- package/dist/chunks/{model-resolver-t9ndgpv6.js → provider-gw1cnde2.js} +15 -15
- package/dist/chunks/{model-resolver-fvv6bh70.js → provider-h4w545sf.js} +35 -35
- package/dist/chunks/{model-resolver-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-h7s7r6s9.js → provider-h7s7r6s9.js} +2 -2
- package/dist/chunks/{model-resolver-ftdzjz2b.js → provider-had4kgfk.js} +6 -6
- package/dist/chunks/{model-resolver-vycm3tyn.js → provider-hcda30yb.js} +14 -14
- package/dist/chunks/{model-resolver-hgz4x7wa.js → provider-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-resolver-magwd4ys.js → provider-hj636n86.js} +12 -12
- package/dist/chunks/{model-resolver-69ndwxq7.js → provider-hvq8k270.js} +11 -11
- package/dist/chunks/{model-resolver-hq17sxqt.js → provider-hwpthwr2.js} +21 -21
- package/dist/chunks/{model-resolver-eg50qbbf.js → provider-j2mcctvz.js} +11 -11
- package/dist/chunks/{model-resolver-5h8e5fx8.js → provider-j2sb7jez.js} +3 -3
- package/dist/chunks/{model-resolver-j56e64zr.js → provider-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-te00j1ws.js → provider-jd9bvbdv.js} +44 -44
- package/dist/chunks/{model-resolver-zvmh6f2g.js → provider-jqeyp2sv.js} +4 -4
- package/dist/chunks/{model-resolver-sbd6df5h.js → provider-jsxf1k0c.js} +13 -13
- package/dist/chunks/{model-resolver-c96p78my.js → provider-jt34x9mc.js} +21 -21
- package/dist/chunks/{model-resolver-3h8exvak.js → provider-jvn25kqv.js} +7 -7
- package/dist/chunks/{model-resolver-yj48h56k.js → provider-jwgz159j.js} +1 -1
- package/dist/chunks/{model-resolver-8sze2n9a.js → provider-jws6fkes.js} +4 -4
- package/dist/chunks/{model-resolver-awzfjsn4.js → provider-k0zgcj61.js} +11 -11
- package/dist/chunks/{model-resolver-rpg9c19m.js → provider-k76fn4kw.js} +4 -4
- package/dist/chunks/{model-resolver-wr96sv2x.js → provider-k9nsg3rd.js} +11 -11
- package/dist/chunks/{model-resolver-ajrrkcpv.js → provider-kavm7sty.js} +29 -29
- package/dist/chunks/{model-resolver-8bevyx89.js → provider-kcrgwk81.js} +18 -18
- package/dist/chunks/{model-resolver-xf6y9pg8.js → provider-kmtd2a05.js} +14 -14
- package/dist/chunks/{model-resolver-b0e9q3fp.js → provider-kn4y5379.js} +20 -20
- package/dist/chunks/{model-resolver-hkffa77z.js → provider-kqx1b4hy.js} +4 -4
- package/dist/chunks/{model-resolver-919e710a.js → provider-kwx5dvww.js} +16 -16
- package/dist/chunks/{model-resolver-j783qryr.js → provider-kxw0d2hz.js} +12 -12
- package/dist/chunks/{model-resolver-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-f0nys67z.js → provider-mj1gw2vg.js} +1 -1
- package/dist/chunks/{model-resolver-3d0phw7c.js → provider-mny5akbz.js} +5 -5
- package/dist/chunks/{model-resolver-c0fw8tva.js → provider-mxkh2d97.js} +46 -46
- package/dist/chunks/{model-resolver-axe3mf62.js → provider-my4zabxr.js} +3 -3
- package/dist/chunks/{model-resolver-beg82wzm.js → provider-n5gb9kjy.js} +14 -14
- package/dist/chunks/{model-resolver-gem6aeja.js → provider-n61wzdch.js} +4 -4
- package/dist/chunks/{model-resolver-q6s6pgqb.js → provider-n81jbe8d.js} +8 -8
- package/dist/chunks/{model-resolver-r2z489rp.js → provider-nma959mg.js} +3 -3
- package/dist/chunks/{model-resolver-1ts3fnb8.js → provider-nmvty7z6.js} +18 -18
- package/dist/chunks/{model-resolver-nd4ztp9d.js → provider-pb9sdrcc.js} +20 -20
- package/dist/chunks/{model-resolver-sqnpa33e.js → provider-pd4dtwmv.js} +16 -16
- package/dist/chunks/{model-resolver-0whq6q5g.js → provider-pgyscs0f.js} +10 -10
- package/dist/chunks/{model-resolver-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-fn81mdd0.js → provider-pkf2rgn3.js} +14 -14
- package/dist/chunks/{model-resolver-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-jngnr97q.js → provider-pkwzrfh9.js} +3 -3
- package/dist/chunks/{model-resolver-ztj3h82k.js → provider-pr23z569.js} +15 -15
- package/dist/chunks/{model-resolver-5rybjp70.js → provider-q1kg0ya1.js} +45 -45
- package/dist/chunks/{model-resolver-jmdmw3r0.js → provider-q43hxpb2.js} +18 -18
- package/dist/chunks/{model-resolver-p87mzm6w.js → provider-q96p9zxz.js} +24 -24
- package/dist/chunks/{model-resolver-edrmdtr5.js → provider-qa3qhgw8.js} +7 -7
- package/dist/chunks/{model-resolver-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-xfkkasph.js → provider-qqeeq2t9.js} +7 -7
- package/dist/chunks/{model-resolver-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-w3x9v1nk.js → provider-r61qxybf.js} +8 -8
- package/dist/chunks/{model-resolver-qewxwmfb.js → provider-r8ttjkk4.js} +22 -22
- package/dist/chunks/{model-resolver-yp2x3t23.js → provider-r8xr0va3.js} +4 -4
- package/dist/chunks/{model-resolver-36nt455z.js → provider-r93ryff9.js} +41 -41
- package/dist/chunks/{model-resolver-441t0f96.js → provider-rcj3sprb.js} +25 -25
- package/dist/chunks/{model-resolver-yyct3fyr.js → provider-rcvywq7f.js} +26 -26
- package/dist/chunks/{model-resolver-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-rert0e01.js → provider-rert0e01.js} +2 -2
- package/dist/chunks/{model-resolver-57r5x0t2.js → provider-rg9sd9dt.js} +3 -3
- package/dist/chunks/{model-resolver-s8d7rejh.js → provider-rhjbct0v.js} +4 -4
- package/dist/chunks/{model-resolver-tzv38x6s.js → provider-rj13t462.js} +9 -9
- package/dist/chunks/{model-resolver-rj3eygr5.js → provider-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-resolver-cxmf2e7g.js → provider-rtkmq48h.js} +11 -11
- package/dist/chunks/{model-resolver-pjsqfx9m.js → provider-ry082wg0.js} +9 -9
- package/dist/chunks/{model-resolver-zb2x20sc.js → provider-s34st4hq.js} +41 -41
- package/dist/chunks/{model-resolver-sa8ekw3f.js → provider-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-resolver-epachyah.js → provider-sq432a0a.js} +22 -22
- package/dist/chunks/{model-resolver-3z8z2wmt.js → provider-sqatzsa5.js} +25 -25
- package/dist/chunks/{model-resolver-6hspkkmf.js → provider-ssyy5q0h.js} +11 -11
- package/dist/chunks/{model-resolver-fk97v85c.js → provider-svvynxha.js} +15 -15
- package/dist/chunks/{model-resolver-gygd4kfq.js → provider-t3g2kvn2.js} +11 -11
- package/dist/chunks/{model-resolver-1r4t7yrp.js → provider-t4g8dwks.js} +5 -5
- package/dist/chunks/{model-resolver-gmbpjpby.js → provider-t6g828f5.js} +23 -23
- package/dist/chunks/{model-resolver-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-ha75s6x0.js → provider-tc3pm9xh.js} +14 -14
- package/dist/chunks/{model-resolver-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-zcf7mhvq.js → provider-td8nrxeh.js} +81 -81
- package/dist/chunks/{model-resolver-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-rwtdcz07.js → provider-tht59k2r.js} +3 -3
- package/dist/chunks/{model-resolver-fap8k071.js → provider-tjwfy1sb.js} +24 -24
- package/dist/chunks/{model-resolver-w9ss6waz.js → provider-tmcj1942.js} +5 -5
- package/dist/chunks/{model-resolver-zb5axp11.js → provider-ttjhmc92.js} +18 -18
- package/dist/chunks/{model-resolver-tyytaxap.js → provider-tyytaxap.js} +1 -1
- package/dist/chunks/{model-resolver-v0es1rhs.js → provider-v0es1rhs.js} +2 -2
- package/dist/chunks/{model-resolver-35qm576s.js → provider-v31j89sj.js} +18 -18
- package/dist/chunks/{model-resolver-v7p4zvkq.js → provider-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-resolver-mpcy8gn6.js → provider-vbppwtb7.js} +13 -13
- package/dist/chunks/{model-resolver-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-w93zsvx3.js → provider-vesnn5tc.js} +11 -11
- package/dist/chunks/{model-resolver-jeetaxze.js → provider-vm8gyabs.js} +20 -20
- package/dist/chunks/{model-resolver-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-g6yfr6ja.js → provider-w2h15q85.js} +5 -5
- package/dist/chunks/{model-resolver-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-zn0ert38.js → provider-w8c89xkg.js} +27 -27
- package/dist/chunks/{model-resolver-4z8r5kh4.js → provider-wa9d8ess.js} +15 -15
- package/dist/chunks/{model-resolver-m3z7xbwy.js → provider-wbnqszjr.js} +14 -14
- package/dist/chunks/{model-resolver-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-1ffvrpkg.js → provider-wjr9rjd7.js} +9 -9
- package/dist/chunks/{model-resolver-0b2y7y4w.js → provider-wpvcbchg.js} +11 -11
- package/dist/chunks/{model-resolver-296y5446.js → provider-wrv8n19w.js} +7 -7
- package/dist/chunks/{model-resolver-j34wrdzx.js → provider-wvhvqcvd.js} +23 -23
- package/dist/chunks/{model-resolver-wk5z6jzv.js → provider-x2aynqqh.js} +8 -8
- package/dist/chunks/{model-resolver-5scx92s4.js → provider-x2xbfqys.js} +13 -13
- package/dist/chunks/{model-resolver-addxnjmp.js → provider-x661k3y3.js} +4 -4
- package/dist/chunks/{model-resolver-jsebsn03.js → provider-x7qxpc0c.js} +28 -28
- package/dist/chunks/{model-resolver-c1qje4fs.js → provider-xc1zswmg.js} +13 -13
- package/dist/chunks/{model-resolver-ak272w8q.js → provider-xghzwj9d.js} +15 -15
- package/dist/chunks/provider-xqes56mz.js +253 -0
- package/dist/chunks/{model-resolver-amg4xdsh.js → provider-xrw7w48k.js} +7 -7
- package/dist/chunks/{model-resolver-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-xvbs29jp.js → provider-y1z3pkss.js} +6 -6
- package/dist/chunks/{model-resolver-2qb9hhet.js → provider-y45m9c12.js} +4 -4
- package/dist/chunks/{model-resolver-1ndk40xb.js → provider-y4wrpq2h.js} +18 -18
- package/dist/chunks/{model-resolver-hbvkm7kv.js → provider-y5f5p3p2.js} +7 -7
- package/dist/chunks/{model-resolver-zzhtpc1c.js → provider-y6ht50x5.js} +11 -11
- package/dist/chunks/{model-resolver-y71avatq.js → provider-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-fvdaa6vy.js → provider-yfvm05yf.js} +4 -4
- package/dist/chunks/{model-resolver-1bmjn0qh.js → provider-ynmknp8q.js} +11 -11
- package/dist/chunks/{model-resolver-166kng33.js → provider-yw8t9dwe.js} +8 -8
- package/dist/chunks/{model-resolver-pd9eacgd.js → provider-yxhtaggr.js} +3 -3
- package/dist/chunks/{model-resolver-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-z844we1n.js → provider-z2db9r7p.js} +18 -18
- package/dist/chunks/{model-resolver-g8ytx0e6.js → provider-z3gh34g3.js} +11 -11
- package/dist/chunks/{model-resolver-xx5ebepc.js → provider-z6yetpqf.js} +8 -8
- package/dist/chunks/{model-resolver-cdvtns70.js → provider-zee90e5c.js} +11 -11
- package/dist/chunks/{model-resolver-szmxrtqy.js → provider-zhfnvrgq.js} +23 -23
- package/dist/chunks/{model-resolver-b674v2dg.js → provider-zmr78fwr.js} +5 -5
- package/dist/chunks/{model-resolver-417bfng8.js → provider-zmwycstj.js} +1 -1
- package/dist/chunks/{model-resolver-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → provider-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 +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +7 -7
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +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 +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-resolver-4q07qs98.js +0 -26
- package/dist/chunks/model-resolver-97bx4pax.js +0 -253
- package/dist/chunks/model-resolver-9vzsvt7d.js +0 -513
- package/dist/chunks/model-resolver-9zdhvgqs.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → provider-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → provider-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-bw78ga2c.js → provider-bw78ga2c.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → provider-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → provider-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → provider-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-pyv0edze.js → provider-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → provider-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-x661k3y3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-n61wzdch.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-vm8gyabs.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-dcdhzt8b.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service75
|
|
20
|
+
} from "./provider-t6g828f5.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID11
|
|
23
|
+
} from "./provider-e3b9mkye.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./provider-vesnn5tc.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-ssyy5q0h.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./provider-g1qtspwg.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./provider-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID13.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service75;
|
|
167
167
|
const bus = yield* Service84;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID12.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID12.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
240
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
259
259
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID12.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID12.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID12.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node82
|
|
7
|
+
} from "./provider-hwpthwr2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service49,
|
|
17
|
+
node: () => node53,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service49 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service79;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service49.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node53 = makeLocationNode({ service: Service49, layer, deps: [node82] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service49, readText2, syncTextBom2, node53, exports_file_mutation };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-n61wzdch.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node80
|
|
10
|
+
} from "./provider-vm8gyabs.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-x661k3y3.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-8agmnry4.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -37,16 +37,16 @@ __export(exports_integration, {
|
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
38
|
Event: () => Event18,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID13,
|
|
41
|
+
Info: () => Info22,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service76,
|
|
49
|
+
node: () => node79
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -69,7 +69,7 @@ import { Integration } from "@opencode/schema/integration";
|
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
71
|
import { Event as Event18 } from "@opencode/schema/integration";
|
|
72
|
-
var
|
|
72
|
+
var ID13 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info22 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID13,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service76 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service77;
|
|
117
117
|
const bus = yield* Service84;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info22.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service76.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node79 = makeLocationNode({
|
|
633
|
+
service: Service76,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node80, node88, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node79, exports_integration, Event18 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-jvn25kqv.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-pkwzrfh9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-n61wzdch.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service55,
|
|
11
11
|
node58
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-gw1cnde2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service53,
|
|
15
15
|
node56
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-0hf9g8pg.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make18
|
|
22
|
+
} from "./provider-r8xr0va3.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service51
|
|
26
|
+
} from "./provider-k76fn4kw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service59,
|
|
29
|
+
node62
|
|
30
|
+
} from "./provider-kmtd2a05.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-bxz08qrx.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./provider-2vcz1va9.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./provider-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service50,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
46
|
+
layer: () => layer21,
|
|
47
47
|
node: () => node54,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service50 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer21 = Layer.effect(Service50, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service59;
|
|
64
|
+
const instances = yield* Service53;
|
|
65
65
|
const bus = yield* Service84;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service55;
|
|
67
67
|
const db = (yield* Service85).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service51.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make18({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service50.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -124,11 +124,11 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
126
|
var node54 = makeGlobalNode({
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
127
|
+
service: Service50,
|
|
128
|
+
layer: layer21,
|
|
129
|
+
deps: [node62, node56, node88, node89, node58]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service51, Service51.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service50, terminal2, layer21, node54, noopLayer3, exports_execution };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service83,
|
|
9
9
|
node87
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-2r93mh4x.js";
|
|
11
11
|
import {
|
|
12
12
|
Service81,
|
|
13
13
|
node85
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-gt5zqm6h.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error2,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service37,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,9 +43,9 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service37 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service83;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID6.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -147,14 +147,14 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node40 = makeLocationNode({
|
|
153
|
+
service: Service37,
|
|
154
154
|
layer,
|
|
155
155
|
deps: [FSUtil.node, node87, Global.node, node85]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer2 = Layer.succeed(
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -172,4 +172,4 @@ function failure(operation, cause) {
|
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID6, Error2, Service37, node40, noopLayer2, exports_snapshot2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-my4zabxr.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-8cy6mvnv.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make4 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make8 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make4();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make4, VLLMPlugin2 };
|