@opencode/core 0.0.0-dev-20816 → 0.0.0-dev-20818
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +92 -92
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{wellknown-vyjsqzsp.js → model-resolver-02109bm9.js} +36 -36
- package/dist/chunks/{wellknown-y14ra9sp.js → model-resolver-06x3rahg.js} +40 -40
- package/dist/chunks/{wellknown-yajxfkjf.js → model-resolver-0b2y7y4w.js} +11 -11
- package/dist/chunks/{wellknown-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-07wb5q77.js → model-resolver-0pykbks7.js} +11 -11
- package/dist/chunks/{wellknown-t95ytspt.js → model-resolver-0tw7g2xy.js} +18 -18
- package/dist/chunks/{wellknown-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{wellknown-8vc8vna7.js → model-resolver-0whq6q5g.js} +10 -10
- package/dist/chunks/{wellknown-a3c7ahw6.js → model-resolver-0xqyf95c.js} +4 -4
- package/dist/chunks/{wellknown-ze75yzft.js → model-resolver-166kng33.js} +8 -8
- package/dist/chunks/{wellknown-4fcfrxzd.js → model-resolver-1afynxeq.js} +14 -14
- package/dist/chunks/{wellknown-dys7k0s0.js → model-resolver-1bmjn0qh.js} +8 -8
- package/dist/chunks/{wellknown-bjx1sjef.js → model-resolver-1ffvrpkg.js} +6 -6
- package/dist/chunks/{wellknown-3t6mzywy.js → model-resolver-1ndk40xb.js} +22 -22
- package/dist/chunks/{wellknown-h5g2zqv6.js → model-resolver-1r4t7yrp.js} +12 -12
- package/dist/chunks/{wellknown-rkv1q4w6.js → model-resolver-1ts3fnb8.js} +19 -19
- package/dist/chunks/{wellknown-rw22skhx.js → model-resolver-296y5446.js} +9 -9
- package/dist/chunks/{wellknown-2gjkaaq8.js → model-resolver-2fk733kj.js} +30 -30
- package/dist/chunks/{wellknown-2jbkakjc.js → model-resolver-2g3w7qry.js} +4 -4
- package/dist/chunks/{wellknown-fcrkznn8.js → model-resolver-2k8khapm.js} +5 -5
- package/dist/chunks/{wellknown-m20webqj.js → model-resolver-2nrgk0xt.js} +10 -10
- package/dist/chunks/{wellknown-z4yse633.js → model-resolver-2qb9hhet.js} +4 -4
- package/dist/chunks/{wellknown-2vvh33eb.js → model-resolver-2vvh33eb.js} +2 -2
- package/dist/chunks/{wellknown-wh6pa4pr.js → model-resolver-354rzadz.js} +10 -10
- package/dist/chunks/{wellknown-3jrph8t9.js → model-resolver-35qm576s.js} +28 -28
- package/dist/chunks/{wellknown-n63bcv8m.js → model-resolver-36nt455z.js} +51 -51
- package/dist/chunks/{wellknown-9rmh4mmg.js → model-resolver-3d0phw7c.js} +10 -10
- package/dist/chunks/{wellknown-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-1w6spx5t.js → model-resolver-3h8exvak.js} +7 -7
- package/dist/chunks/{wellknown-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-3hwn7j4h.js → model-resolver-3hwn7j4h.js} +2 -2
- package/dist/chunks/{wellknown-rmadhj2k.js → model-resolver-3s50mzfh.js} +19 -19
- package/dist/chunks/{wellknown-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-1bh5qdrr.js → model-resolver-3vk79hma.js} +24 -24
- package/dist/chunks/{wellknown-ervpwnrb.js → model-resolver-3z8z2wmt.js} +30 -30
- package/dist/chunks/{wellknown-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{wellknown-qwkjaerk.js → model-resolver-417bfng8.js} +1 -1
- package/dist/chunks/{wellknown-xa1s2aen.js → model-resolver-441t0f96.js} +32 -32
- package/dist/chunks/{wellknown-n5anvv2t.js → model-resolver-4cqrs0n6.js} +32 -32
- package/dist/chunks/{wellknown-461nxmbv.js → model-resolver-4ekscj25.js} +5 -5
- package/dist/chunks/{wellknown-4yt2xgtx.js → model-resolver-4kx48zyc.js} +57 -57
- package/dist/chunks/{wellknown-e6qa6x8z.js → model-resolver-4przawg5.js} +20 -20
- package/dist/chunks/model-resolver-4q07qs98.js +26 -0
- package/dist/chunks/{wellknown-4ts7tf6z.js → model-resolver-4ts7tf6z.js} +2 -2
- package/dist/chunks/{wellknown-nd104sgw.js → model-resolver-4z8r5kh4.js} +19 -19
- package/dist/chunks/{wellknown-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{wellknown-kvqsqfzs.js → model-resolver-57r5x0t2.js} +3 -3
- package/dist/chunks/{wellknown-dv1s2jsq.js → model-resolver-5g76t4e4.js} +5 -5
- package/dist/chunks/{wellknown-5w5g9s8y.js → model-resolver-5h8e5fx8.js} +3 -3
- package/dist/chunks/{wellknown-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{wellknown-mjcera77.js → model-resolver-5rybjp70.js} +48 -48
- package/dist/chunks/{wellknown-n8jq096e.js → model-resolver-5scx92s4.js} +15 -15
- package/dist/chunks/{wellknown-39zvv5e0.js → model-resolver-5vz9tnw0.js} +32 -32
- package/dist/chunks/{wellknown-7t92r6sm.js → model-resolver-60th7n68.js} +8 -8
- package/dist/chunks/{wellknown-kbeh51ej.js → model-resolver-69ndwxq7.js} +11 -11
- package/dist/chunks/{wellknown-j010gwk9.js → model-resolver-6ag0d22y.js} +28 -28
- package/dist/chunks/{wellknown-j63xtz0z.js → model-resolver-6f8jk56b.js} +13 -13
- package/dist/chunks/{wellknown-jet6rn8q.js → model-resolver-6hspkkmf.js} +11 -11
- package/dist/chunks/{wellknown-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
- package/dist/chunks/{wellknown-q13p92wb.js → model-resolver-6y5zez5f.js} +5 -5
- package/dist/chunks/{wellknown-re4n8afa.js → model-resolver-71z5hmrq.js} +13 -13
- package/dist/chunks/{wellknown-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-sy1z26mt.js → model-resolver-7gvsa56m.js} +19 -19
- package/dist/chunks/{wellknown-nc8hxgt4.js → model-resolver-7rz6x76s.js} +22 -22
- package/dist/chunks/{wellknown-4x9y9hm8.js → model-resolver-7sg20anq.js} +11 -11
- package/dist/chunks/{wellknown-82v73sw7.js → model-resolver-82v73sw7.js} +3 -3
- package/dist/chunks/{wellknown-6117hfr5.js → model-resolver-82yxh1jw.js} +62 -62
- package/dist/chunks/{wellknown-w1eejvng.js → model-resolver-84txncab.js} +5 -5
- package/dist/chunks/{wellknown-9s7snf6s.js → model-resolver-8bevyx89.js} +16 -16
- package/dist/chunks/{wellknown-8m6m0r52.js → model-resolver-8m6m0r52.js} +1 -1
- package/dist/chunks/{wellknown-8sze2n9a.js → model-resolver-8sze2n9a.js} +2 -2
- package/dist/chunks/{wellknown-fg5waqyz.js → model-resolver-8yqvnfyq.js} +32 -32
- package/dist/chunks/{wellknown-ggb5v3eb.js → model-resolver-919e710a.js} +16 -16
- package/dist/chunks/{wellknown-3ec4gz2d.js → model-resolver-945z4yyk.js} +3 -3
- package/dist/chunks/model-resolver-97bx4pax.js +253 -0
- package/dist/chunks/{wellknown-y1xqe3xy.js → model-resolver-97v2b7ch.js} +34 -34
- package/dist/chunks/{wellknown-nwp476d8.js → model-resolver-994edmm0.js} +9 -9
- package/dist/chunks/{wellknown-5rtw7paw.js → model-resolver-9dzan21f.js} +19 -19
- package/dist/chunks/{wellknown-c3g4ehaa.js → model-resolver-9jm48qcm.js} +13 -13
- package/dist/chunks/{wellknown-wt4vhc6y.js → model-resolver-9kgj0kft.js} +9 -9
- package/dist/chunks/{wellknown-t4fbsvde.js → model-resolver-9p3kpytz.js} +12 -12
- package/dist/chunks/{wellknown-wwzdatwd.js → model-resolver-9q1zjnbs.js} +16 -16
- package/dist/chunks/model-resolver-9vzsvt7d.js +513 -0
- package/dist/chunks/{wellknown-mdshk6p7.js → model-resolver-9xk3tkyn.js} +2 -2
- package/dist/chunks/{wellknown-rqa1jxse.js → model-resolver-9y9sk2j9.js} +2 -2
- package/dist/chunks/model-resolver-9zdhvgqs.js +18 -0
- package/dist/chunks/{wellknown-p0rks7xq.js → model-resolver-9zzbt219.js} +23 -23
- package/dist/chunks/{wellknown-033ejm38.js → model-resolver-ac6rad81.js} +33 -33
- package/dist/chunks/{wellknown-zw2hpfmh.js → model-resolver-addxnjmp.js} +4 -4
- package/dist/chunks/{wellknown-fv9sp7w9.js → model-resolver-ajrrkcpv.js} +26 -26
- package/dist/chunks/{wellknown-b87x4eyv.js → model-resolver-ajzsbz6h.js} +11 -11
- package/dist/chunks/{wellknown-0kaeeq0n.js → model-resolver-ak272w8q.js} +15 -15
- package/dist/chunks/{wellknown-s6tav21f.js → model-resolver-amg4xdsh.js} +7 -7
- package/dist/chunks/{wellknown-9xvx6y0g.js → model-resolver-awzfjsn4.js} +11 -11
- package/dist/chunks/{wellknown-48kw51zw.js → model-resolver-axe3mf62.js} +3 -3
- package/dist/chunks/{wellknown-z2wpmfzv.js → model-resolver-ayxk6fbx.js} +4 -4
- package/dist/chunks/{wellknown-yywvx7pt.js → model-resolver-b0e9q3fp.js} +23 -23
- package/dist/chunks/{wellknown-jm1sn942.js → model-resolver-b10239s2.js} +5 -5
- package/dist/chunks/{wellknown-b3f8fkhc.js → model-resolver-b3f8fkhc.js} +2 -2
- package/dist/chunks/{wellknown-gj71zhbs.js → model-resolver-b674v2dg.js} +5 -5
- package/dist/chunks/{wellknown-650sss64.js → model-resolver-beg82wzm.js} +9 -9
- package/dist/chunks/{wellknown-ysa2vprg.js → model-resolver-bn17cr6t.js} +9 -9
- package/dist/chunks/{wellknown-ddttwbez.js → model-resolver-bq2txs8q.js} +19 -19
- package/dist/chunks/{wellknown-des6zn2w.js → model-resolver-bsh0mdra.js} +28 -28
- package/dist/chunks/{wellknown-q5mamftn.js → model-resolver-c0fw8tva.js} +54 -54
- package/dist/chunks/{wellknown-c1fqxshp.js → model-resolver-c1fqxshp.js} +3 -3
- package/dist/chunks/{wellknown-fcx8emg5.js → model-resolver-c1qje4fs.js} +13 -13
- package/dist/chunks/{wellknown-emqnk1nq.js → model-resolver-c96p78my.js} +26 -26
- package/dist/chunks/{wellknown-7feea0h6.js → model-resolver-cdvtns70.js} +11 -11
- package/dist/chunks/{wellknown-cwa6csj7.js → model-resolver-cwa6csj7.js} +2 -2
- package/dist/chunks/{wellknown-sg3zez9q.js → model-resolver-cxmf2e7g.js} +4 -4
- package/dist/chunks/{wellknown-4j4tgtq5.js → model-resolver-d2czbp48.js} +4 -4
- package/dist/chunks/{wellknown-699sdptp.js → model-resolver-d5ebnksf.js} +36 -36
- package/dist/chunks/{wellknown-54d04jeh.js → model-resolver-dag1y9ch.js} +18 -18
- package/dist/chunks/{wellknown-d858xzj7.js → model-resolver-dj68pnee.js} +4 -4
- package/dist/chunks/{wellknown-gt0hx33a.js → model-resolver-dk561135.js} +183 -183
- package/dist/chunks/{wellknown-wt1nksa6.js → model-resolver-dktjxkrs.js} +12 -12
- package/dist/chunks/{wellknown-g06b32k9.js → model-resolver-dve7h5ag.js} +10 -10
- package/dist/chunks/{wellknown-g8ke25hn.js → model-resolver-e7hvkerb.js} +29 -29
- package/dist/chunks/{wellknown-v5dkyp31.js → model-resolver-edrmdtr5.js} +7 -7
- package/dist/chunks/{wellknown-eej6y6fw.js → model-resolver-eej6y6fw.js} +2 -2
- package/dist/chunks/{wellknown-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{wellknown-ssd9x6fw.js → model-resolver-eg50qbbf.js} +8 -8
- package/dist/chunks/{wellknown-mh6jxx1t.js → model-resolver-epachyah.js} +33 -33
- package/dist/chunks/{wellknown-tcqbkk77.js → model-resolver-f0nys67z.js} +4 -4
- package/dist/chunks/{wellknown-gyxgzcr0.js → model-resolver-f5ez8c8z.js} +37 -37
- package/dist/chunks/{wellknown-dngrbxse.js → model-resolver-fap8k071.js} +25 -25
- package/dist/chunks/{wellknown-e825dkyw.js → model-resolver-fepyq996.js} +22 -22
- package/dist/chunks/{wellknown-kcv830pc.js → model-resolver-fk97v85c.js} +17 -17
- package/dist/chunks/{wellknown-w0r29c61.js → model-resolver-fn31w4wy.js} +46 -46
- package/dist/chunks/{wellknown-bv7xce55.js → model-resolver-fn81mdd0.js} +11 -11
- package/dist/chunks/{wellknown-yx0rmv9r.js → model-resolver-ftdzjz2b.js} +6 -6
- package/dist/chunks/{wellknown-8bqq47bs.js → model-resolver-fvdaa6vy.js} +4 -4
- package/dist/chunks/{wellknown-f7xzt4zk.js → model-resolver-fvv6bh70.js} +36 -36
- package/dist/chunks/{wellknown-fxaymqdw.js → model-resolver-fxaymqdw.js} +1 -1
- package/dist/chunks/{wellknown-p6qeq9yv.js → model-resolver-g6fbtt8s.js} +5 -5
- package/dist/chunks/{wellknown-g6yfr6ja.js → model-resolver-g6yfr6ja.js} +2 -2
- package/dist/chunks/{wellknown-hy1va3t8.js → model-resolver-g8ytx0e6.js} +11 -11
- package/dist/chunks/{wellknown-bgqb1w0a.js → model-resolver-gcd08e9f.js} +33 -33
- package/dist/chunks/{wellknown-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-e213czqs.js → model-resolver-gd92bhwj.js} +32 -32
- package/dist/chunks/{wellknown-xk1n9kaj.js → model-resolver-gem6aeja.js} +14 -14
- package/dist/chunks/{wellknown-gk8qb678.js → model-resolver-gk8qb678.js} +1 -1
- package/dist/chunks/{wellknown-prh39f15.js → model-resolver-gmbpjpby.js} +35 -35
- package/dist/chunks/{wellknown-fvqz3thv.js → model-resolver-gqj52n1c.js} +32 -32
- package/dist/chunks/{wellknown-2x0031av.js → model-resolver-gt1qgv3v.js} +23 -23
- package/dist/chunks/{wellknown-dzcs8qsg.js → model-resolver-gygd4kfq.js} +18 -18
- package/dist/chunks/{wellknown-2651n5qm.js → model-resolver-gz4an1ee.js} +13 -13
- package/dist/chunks/{wellknown-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-h7s7r6s9.js → model-resolver-h7s7r6s9.js} +2 -2
- package/dist/chunks/{wellknown-2tcrkhyx.js → model-resolver-ha75s6x0.js} +24 -24
- package/dist/chunks/{wellknown-cda9vesx.js → model-resolver-hbvkm7kv.js} +12 -12
- package/dist/chunks/{wellknown-hgz4x7wa.js → model-resolver-hgz4x7wa.js} +1 -1
- package/dist/chunks/{wellknown-c9wbyant.js → model-resolver-hkffa77z.js} +4 -4
- package/dist/chunks/{wellknown-rtpc87ef.js → model-resolver-hq17sxqt.js} +24 -24
- package/dist/chunks/{wellknown-6v31mxde.js → model-resolver-j34wrdzx.js} +23 -23
- package/dist/chunks/{wellknown-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{wellknown-7hmww9pq.js → model-resolver-j5mg2fvs.js} +15 -15
- package/dist/chunks/{wellknown-rz6dkkgy.js → model-resolver-j783qryr.js} +19 -19
- package/dist/chunks/{wellknown-wv1h3qq2.js → model-resolver-jeetaxze.js} +33 -33
- package/dist/chunks/{wellknown-x7vezkgw.js → model-resolver-jexst7yn.js} +5 -5
- package/dist/chunks/{wellknown-t9bkwnkz.js → model-resolver-jmdmw3r0.js} +24 -24
- package/dist/chunks/{wellknown-n43vcqp0.js → model-resolver-jngnr97q.js} +3 -3
- package/dist/chunks/{wellknown-5n3qansz.js → model-resolver-jsebsn03.js} +28 -28
- package/dist/chunks/{wellknown-d8thadm4.js → model-resolver-jt6k9mvv.js} +12 -12
- package/dist/chunks/{wellknown-g36xdyny.js → model-resolver-kba6jxm6.js} +31 -31
- package/dist/chunks/{wellknown-5p6277ma.js → model-resolver-kbxf31ae.js} +8 -8
- package/dist/chunks/{wellknown-5rb9c7eh.js → model-resolver-kkeea6r4.js} +13 -13
- package/dist/chunks/{wellknown-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{wellknown-jjx5emw5.js → model-resolver-m3z7xbwy.js} +11 -11
- package/dist/chunks/{wellknown-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-z4vnkb91.js → model-resolver-magwd4ys.js} +15 -15
- package/dist/chunks/{wellknown-8gzx46z2.js → model-resolver-marc2kh3.js} +5 -5
- package/dist/chunks/{wellknown-d5xsqdzh.js → model-resolver-mb4hkkb7.js} +25 -25
- package/dist/chunks/{wellknown-vqmmygk9.js → model-resolver-mpcy8gn6.js} +17 -17
- package/dist/chunks/{wellknown-49twh206.js → model-resolver-ms23b1xg.js} +17 -17
- package/dist/chunks/{wellknown-wr7ps67x.js → model-resolver-mtrbqqrq.js} +5 -5
- package/dist/chunks/{wellknown-waskdk5r.js → model-resolver-mv3hx7wz.js} +4 -4
- package/dist/chunks/{wellknown-rf6hexmr.js → model-resolver-mwd4tg70.js} +6 -6
- package/dist/chunks/{wellknown-tdaccg2z.js → model-resolver-n04ey09n.js} +9 -9
- package/dist/chunks/{wellknown-w30xpdgm.js → model-resolver-n8abgy3f.js} +18 -18
- package/dist/chunks/{wellknown-y1n9ww1g.js → model-resolver-nd4ztp9d.js} +17 -17
- package/dist/chunks/{wellknown-x5gff5v6.js → model-resolver-p87mzm6w.js} +25 -25
- package/dist/chunks/{wellknown-qynbg7fa.js → model-resolver-p9wpme1z.js} +32 -32
- package/dist/chunks/{wellknown-pa8pe2x7.js → model-resolver-pa8pe2x7.js} +1 -1
- package/dist/chunks/{wellknown-sz492jsj.js → model-resolver-pbycz9cj.js} +11 -11
- package/dist/chunks/{wellknown-vh4msy83.js → model-resolver-pd9eacgd.js} +3 -3
- package/dist/chunks/{wellknown-bwk95141.js → model-resolver-phphykcr.js} +14 -14
- package/dist/chunks/{wellknown-g686f6pq.js → model-resolver-phz50fbd.js} +9 -9
- package/dist/chunks/{wellknown-twwzjqdf.js → model-resolver-pjsqfx9m.js} +6 -6
- package/dist/chunks/{wellknown-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-rhw9mqe3.js → model-resolver-prqm0sca.js} +22 -22
- package/dist/chunks/{wellknown-bzmhfkwa.js → model-resolver-pwmn6ytf.js} +25 -25
- package/dist/chunks/{wellknown-q0xm7vwc.js → model-resolver-q0xm7vwc.js} +2 -2
- package/dist/chunks/{wellknown-fqehm6pw.js → model-resolver-q6s6pgqb.js} +5 -5
- package/dist/chunks/{wellknown-7vfyda9f.js → model-resolver-qb9gv935.js} +50 -50
- package/dist/chunks/{wellknown-vb74559e.js → model-resolver-qewxwmfb.js} +24 -24
- package/dist/chunks/{wellknown-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{wellknown-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-r2z489rp.js → model-resolver-r2z489rp.js} +1 -1
- package/dist/chunks/{wellknown-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{wellknown-rert0e01.js → model-resolver-rert0e01.js} +2 -2
- package/dist/chunks/{wellknown-rj3eygr5.js → model-resolver-rj3eygr5.js} +2 -2
- package/dist/chunks/{wellknown-s790q102.js → model-resolver-rjcpa5nc.js} +19 -19
- package/dist/chunks/{wellknown-embw8kgh.js → model-resolver-rpg9c19m.js} +4 -4
- package/dist/chunks/{wellknown-xh6qfzz1.js → model-resolver-rre4zkzm.js} +90 -90
- package/dist/chunks/{wellknown-5q0vxz4x.js → model-resolver-rwtdcz07.js} +5 -5
- package/dist/chunks/{wellknown-02nrjc1r.js → model-resolver-s8d7rejh.js} +8 -8
- package/dist/chunks/{wellknown-sa8ekw3f.js → model-resolver-sa8ekw3f.js} +2 -2
- package/dist/chunks/{wellknown-mkfp2fax.js → model-resolver-sbd6df5h.js} +15 -15
- package/dist/chunks/{wellknown-8777xd2t.js → model-resolver-sdp95c92.js} +22 -22
- package/dist/chunks/{wellknown-rf8f0yt3.js → model-resolver-sn7hzvv7.js} +5 -5
- package/dist/chunks/{wellknown-zr9bnb5b.js → model-resolver-sqnpa33e.js} +14 -14
- package/dist/chunks/{wellknown-vcjvn6yt.js → model-resolver-sr3tpeg2.js} +8 -8
- package/dist/chunks/{wellknown-jeg10dch.js → model-resolver-swgbw52f.js} +21 -21
- package/dist/chunks/{wellknown-n8e3aqkt.js → model-resolver-szmxrtqy.js} +28 -28
- package/dist/chunks/{wellknown-xrnpkz2z.js → model-resolver-t9ndgpv6.js} +14 -14
- package/dist/chunks/{wellknown-s6tfy31a.js → model-resolver-t9svvg0h.js} +42 -42
- package/dist/chunks/{wellknown-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{wellknown-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{wellknown-q865ebtv.js → model-resolver-te00j1ws.js} +56 -56
- package/dist/chunks/{wellknown-tgj70b2r.js → model-resolver-tej3kksn.js} +5 -5
- package/dist/chunks/{wellknown-yeg8efr2.js → model-resolver-tstyx0bk.js} +19 -19
- package/dist/chunks/{wellknown-ysyc45db.js → model-resolver-tt8md0qn.js} +21 -21
- package/dist/chunks/{wellknown-tyytaxap.js → model-resolver-tyytaxap.js} +1 -1
- package/dist/chunks/{wellknown-sxdhggs7.js → model-resolver-tzv38x6s.js} +9 -9
- package/dist/chunks/{wellknown-6g7e4dd5.js → model-resolver-v0es1rhs.js} +7 -7
- package/dist/chunks/{wellknown-v7p4zvkq.js → model-resolver-v7p4zvkq.js} +2 -2
- package/dist/chunks/{wellknown-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-tpd1z469.js → model-resolver-vg7sgs10.js} +6 -6
- package/dist/chunks/{wellknown-af8ff1ta.js → model-resolver-vnyh837f.js} +8 -8
- package/dist/chunks/{wellknown-zc0d9hvr.js → model-resolver-vycm3tyn.js} +14 -14
- package/dist/chunks/{wellknown-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{wellknown-pzhxcmzb.js → model-resolver-w1wkdht8.js} +43 -43
- package/dist/chunks/{wellknown-q8vbveqf.js → model-resolver-w2439tpj.js} +32 -32
- package/dist/chunks/{wellknown-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-mp6d0dty.js → model-resolver-w3x9v1nk.js} +8 -8
- package/dist/chunks/{wellknown-xnh7pp4h.js → model-resolver-w93zsvx3.js} +11 -11
- package/dist/chunks/{wellknown-m1nxwksc.js → model-resolver-w9967290.js} +4 -4
- package/dist/chunks/{wellknown-j5k95y2k.js → model-resolver-w9ss6waz.js} +5 -5
- package/dist/chunks/{wellknown-r269mye5.js → model-resolver-wajt81dh.js} +4 -4
- package/dist/chunks/{wellknown-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-pg6d2h9f.js → model-resolver-wj3y3c2n.js} +9 -9
- package/dist/chunks/{wellknown-n37c4crj.js → model-resolver-wk5z6jzv.js} +9 -9
- package/dist/chunks/{wellknown-2z8jxnq9.js → model-resolver-wr96sv2x.js} +11 -11
- package/dist/chunks/{wellknown-bws1wkeb.js → model-resolver-wvsncfxf.js} +35 -35
- package/dist/chunks/{wellknown-xnnpmnef.js → model-resolver-wzyy5bqv.js} +6 -6
- package/dist/chunks/{wellknown-e7y8yey8.js → model-resolver-xf6y9pg8.js} +13 -13
- package/dist/chunks/{wellknown-xfkkasph.js → model-resolver-xfkkasph.js} +1 -1
- package/dist/chunks/{wellknown-w3nq1sqw.js → model-resolver-xsgk3b13.js} +9 -9
- package/dist/chunks/{wellknown-rwcqpfzb.js → model-resolver-xvbs29jp.js} +6 -6
- package/dist/chunks/{wellknown-tdbmj82j.js → model-resolver-xx5ebepc.js} +5 -5
- package/dist/chunks/{wellknown-xt4njr3s.js → model-resolver-xybefm6f.js} +1 -1
- package/dist/chunks/{wellknown-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
- package/dist/chunks/{wellknown-h72cndf1.js → model-resolver-yd2ajj40.js} +3 -3
- package/dist/chunks/{wellknown-h896pcm5.js → model-resolver-yf4jcbx9.js} +6 -6
- package/dist/chunks/{wellknown-v895vwvw.js → model-resolver-yj48h56k.js} +1 -1
- package/dist/chunks/{wellknown-p9s0wwbg.js → model-resolver-yjjmcma8.js} +6 -6
- package/dist/chunks/{wellknown-1acjjqhc.js → model-resolver-yp2x3t23.js} +4 -4
- package/dist/chunks/{wellknown-hmpz6cpb.js → model-resolver-yr1zkagz.js} +9 -9
- package/dist/chunks/{wellknown-tsx9151n.js → model-resolver-yyct3fyr.js} +18 -18
- package/dist/chunks/{wellknown-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-5cg9bzem.js → model-resolver-z844we1n.js} +20 -20
- package/dist/chunks/{wellknown-hagkn1v7.js → model-resolver-zb2x20sc.js} +43 -43
- package/dist/chunks/{wellknown-31hyatr7.js → model-resolver-zb5axp11.js} +23 -23
- package/dist/chunks/{wellknown-bqbhqn5q.js → model-resolver-zbge2zce.js} +23 -23
- package/dist/chunks/{wellknown-c8z7re0j.js → model-resolver-zcf7mhvq.js} +83 -83
- package/dist/chunks/{wellknown-nawz2sjj.js → model-resolver-zk200rm0.js} +35 -35
- package/dist/chunks/{wellknown-a8168aqs.js → model-resolver-zn0ert38.js} +36 -36
- package/dist/chunks/{wellknown-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{wellknown-v3shqdas.js → model-resolver-ztj3h82k.js} +18 -18
- package/dist/chunks/{wellknown-xt49yzba.js → model-resolver-zvmh6f2g.js} +4 -4
- package/dist/chunks/{wellknown-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{wellknown-3b8mf0t5.js → model-resolver-zzhtpc1c.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- 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 +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +76 -76
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +135 -135
- 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 +89 -89
- 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 +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- 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 +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- 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 +127 -127
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +95 -95
- 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 +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- 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 +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/wellknown-5gxnaa09.js +0 -513
- package/dist/chunks/wellknown-by5v678g.js +0 -18
- package/dist/chunks/wellknown-cenr143b.js +0 -26
- package/dist/chunks/wellknown-wzxzhr7t.js +0 -253
- /package/dist/chunks/{wellknown-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-bw78ga2c.js → model-resolver-bw78ga2c.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{wellknown-pyv0edze.js → model-resolver-pyv0edze.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./model-resolver-gem6aeja.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event12,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info15,
|
|
19
19
|
NotFoundError: () => NotFoundError6,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service59,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node61
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event12 } from "@opencode/schema/command";
|
|
28
|
+
var Info15 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service59 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service84;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info15.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service59.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,10 +71,10 @@ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node61 = makeLocationNode({
|
|
75
|
+
service: Service59,
|
|
76
|
+
layer: layer22,
|
|
77
|
+
deps: [node88]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info15, NotFoundError6, ExecutionError2, Service59, layer22, node61, exports_command5, Event12 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service46,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer19,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node49,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event9 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service46 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service46.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer25 = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service46.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service46).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service46, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service46, layer: layer19(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node49 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options7, Service46, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured7, node49, exports_watcher };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-jngnr97q.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-c1fqxshp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service28 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make21({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service85;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service28.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node32 = makeLocationNode({ service: Service28, layer, deps: [node89] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service28, node32, exports_instruction_entry };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./model-resolver-gem6aeja.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./model-resolver-jeetaxze.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service46,
|
|
12
|
+
node49
|
|
13
|
+
} from "./model-resolver-fepyq996.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service81,
|
|
19
|
+
node85
|
|
20
|
+
} from "./model-resolver-9q1zjnbs.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-8bevyx89.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-rwtdcz07.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service48,
|
|
36
|
+
Event10,
|
|
37
|
+
node51
|
|
38
|
+
} from "./model-resolver-zb5axp11.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service45,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured6,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer18,
|
|
53
|
+
node: () => node48,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options6 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service45 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service45, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
96
|
+
const location = yield* Service81;
|
|
97
|
+
const watcher = yield* Service46;
|
|
98
|
+
const bus = yield* Service84;
|
|
99
|
+
const credentials = yield* Service78;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service48;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore" };
|
|
@@ -217,8 +217,8 @@ var layer24 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
217
217
|
}, (effect) => reloadLock.withPermit(effect));
|
|
218
218
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
219
219
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
-
yield* bus.subscribe(
|
|
221
|
-
yield* bus.subscribe(
|
|
220
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
221
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
222
222
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
223
223
|
if (!wellknown.snapshot().length)
|
|
224
224
|
return Effect.void;
|
|
@@ -246,7 +246,7 @@ var layer24 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
246
246
|
`);
|
|
247
247
|
yield* requestReload;
|
|
248
248
|
}, (effect) => updateLock.withPermit(effect));
|
|
249
|
-
return
|
|
249
|
+
return Service45.of({
|
|
250
250
|
entries: Effect.fnUntraced(function* () {
|
|
251
251
|
return configs;
|
|
252
252
|
}),
|
|
@@ -258,13 +258,13 @@ var layer24 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
258
258
|
update
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
function
|
|
261
|
+
function configured6(options) {
|
|
262
262
|
return makeLocationNode({
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
263
|
+
service: Service45,
|
|
264
|
+
layer: layer18(options),
|
|
265
|
+
deps: [node49, node88, FSUtil.node, Global.node, node85, node82, node51]
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
|
-
var
|
|
268
|
+
var node48 = configured6();
|
|
269
269
|
|
|
270
|
-
export { latest2,
|
|
270
|
+
export { latest2, Options6, Service45, Test2, testLayer2, layer18, configured6, node48, exports_config };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service45
|
|
4
|
+
} from "./model-resolver-fn31w4wy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./model-resolver-j783qryr.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin47
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin47 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service45;
|
|
27
|
+
const shell = yield* Service70;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin46 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin47, exports_shell2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make19,
|
|
14
|
+
node: () => node66,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make19 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node66 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node66, exports_driver };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-mtrbqqrq.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|