@opencode/core 0.0.0-dev-20852 → 0.0.0-dev-20854
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 +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{vcs-xrpg47n6.js → snapshot-0996nyz8.js} +9 -9
- package/dist/chunks/{vcs-jrrjh5qh.js → snapshot-0hnj9qkb.js} +4 -4
- package/dist/chunks/{vcs-2k8khapm.js → snapshot-0jwsre1p.js} +5 -5
- package/dist/chunks/{vcs-n5cyx6pm.js → snapshot-0jzh9efz.js} +3 -3
- package/dist/chunks/{vcs-x01a3e41.js → snapshot-0nghcqs1.js} +9 -9
- package/dist/chunks/{vcs-bqk49rdk.js → snapshot-0sacbgq8.js} +11 -11
- package/dist/chunks/{vcs-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-vx3jgdek.js → snapshot-143qq2q9.js} +3 -3
- package/dist/chunks/{vcs-y76kf4sb.js → snapshot-1a5mtg6h.js} +28 -28
- package/dist/chunks/{vcs-rhraev7y.js → snapshot-1acjjqhc.js} +4 -4
- package/dist/chunks/{vcs-1b7t08e4.js → snapshot-1bwe1zv2.js} +6 -6
- package/dist/chunks/{vcs-psw5e8qw.js → snapshot-1f5hxzwj.js} +33 -33
- package/dist/chunks/{vcs-swn7sb9g.js → snapshot-1hx7m0gn.js} +25 -25
- package/dist/chunks/{vcs-rkprpv83.js → snapshot-1p07q0wb.js} +4 -4
- package/dist/chunks/{vcs-nztkk7wb.js → snapshot-1r73c9nv.js} +22 -22
- package/dist/chunks/{vcs-4dnfqdak.js → snapshot-1raercmk.js} +8 -8
- package/dist/chunks/{vcs-5dwrf02m.js → snapshot-2bpy8z58.js} +9 -9
- package/dist/chunks/{vcs-f8xes8ea.js → snapshot-2hn7av3m.js} +30 -30
- package/dist/chunks/{vcs-at1kfnmk.js → snapshot-2ktf0ed2.js} +8 -8
- package/dist/chunks/{vcs-r9vn4tjy.js → snapshot-2nbevc3z.js} +88 -88
- package/dist/chunks/{vcs-ekvengxv.js → snapshot-2pd7f3c1.js} +13 -13
- package/dist/chunks/{vcs-2vvh33eb.js → snapshot-2vvh33eb.js} +2 -2
- package/dist/chunks/{vcs-75v81xpy.js → snapshot-313rc44e.js} +19 -19
- package/dist/chunks/{vcs-d4k6vvjm.js → snapshot-31ymszjf.js} +1 -1
- package/dist/chunks/{vcs-1ma3nf4z.js → snapshot-323ga0xb.js} +3 -3
- package/dist/chunks/{vcs-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-74kk7wxm.js → snapshot-3fppgx15.js} +10 -10
- package/dist/chunks/{vcs-4e8w5bh1.js → snapshot-3h72pgqc.js} +41 -41
- package/dist/chunks/{vcs-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3hwn7j4h.js → snapshot-3hwn7j4h.js} +2 -2
- package/dist/chunks/{vcs-g7sqgjk5.js → snapshot-3nqjeqvp.js} +18 -18
- package/dist/chunks/{vcs-prmgem5b.js → snapshot-3ppptnan.js} +6 -6
- package/dist/chunks/{vcs-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-0htv3dc9.js → snapshot-3zj1jny9.js} +11 -11
- package/dist/chunks/{vcs-8mjwj69h.js → snapshot-3zqpheq4.js} +26 -26
- package/dist/chunks/{vcs-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-87s4pnn4.js → snapshot-44x47vc1.js} +13 -13
- package/dist/chunks/{vcs-tjv4f2cx.js → snapshot-4985kjca.js} +83 -83
- package/dist/chunks/{vcs-w19yfnah.js → snapshot-4a32xa5p.js} +17 -17
- package/dist/chunks/{vcs-gmcw3ffg.js → snapshot-4b88qf44.js} +25 -25
- package/dist/chunks/{vcs-19mmt9jm.js → snapshot-4gezj5dt.js} +4 -4
- package/dist/chunks/{vcs-9f8e2eft.js → snapshot-4k07v71c.js} +10 -10
- package/dist/chunks/{vcs-ncrc9mqf.js → snapshot-4t394y7h.js} +42 -42
- package/dist/chunks/{vcs-4ts7tf6z.js → snapshot-4ts7tf6z.js} +2 -2
- package/dist/chunks/{vcs-4mzh11ac.js → snapshot-4vetjhn5.js} +12 -12
- package/dist/chunks/{vcs-6mpsqnn8.js → snapshot-4xffw7wa.js} +5 -5
- package/dist/chunks/{vcs-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-drwq78ky.js → snapshot-57b9ws8p.js} +5 -5
- package/dist/chunks/{vcs-t0mdjq8w.js → snapshot-5a4dpzx5.js} +27 -27
- package/dist/chunks/{vcs-t2n2tt0m.js → snapshot-5jkm5zt2.js} +15 -15
- package/dist/chunks/{vcs-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-snenmxcf.js → snapshot-5nq8wefj.js} +5 -5
- package/dist/chunks/{vcs-qkxbda19.js → snapshot-62gdzg6n.js} +14 -14
- package/dist/chunks/{vcs-0vga355r.js → snapshot-685jv0gk.js} +26 -26
- package/dist/chunks/{vcs-fpecnkgp.js → snapshot-6g7e4dd5.js} +5 -5
- package/dist/chunks/{vcs-8mdjf4ye.js → snapshot-6sbb3tqx.js} +24 -24
- package/dist/chunks/{vcs-x8cycxf4.js → snapshot-6wg7wrda.js} +6 -6
- package/dist/chunks/{vcs-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
- package/dist/chunks/{vcs-r1apfhp5.js → snapshot-711nmkr3.js} +24 -24
- package/dist/chunks/{vcs-e322j8vf.js → snapshot-71r40yks.js} +6 -6
- package/dist/chunks/{vcs-tztvcf3n.js → snapshot-73v3pe0h.js} +22 -22
- package/dist/chunks/{vcs-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-719fesem.js → snapshot-7jcc7m0g.js} +11 -11
- package/dist/chunks/{vcs-vgvem2mc.js → snapshot-7kt5ec22.js} +23 -23
- package/dist/chunks/{vcs-913zs37e.js → snapshot-7sn28qaa.js} +15 -15
- package/dist/chunks/{vcs-he27pt63.js → snapshot-7zt5x37y.js} +1 -1
- package/dist/chunks/{vcs-r3vzrrgx.js → snapshot-82x33wmm.js} +10 -10
- package/dist/chunks/{vcs-84txncab.js → snapshot-84txncab.js} +1 -1
- package/dist/chunks/{vcs-zjdd0gds.js → snapshot-86hs0axb.js} +1 -1
- package/dist/chunks/{vcs-wj76ss2k.js → snapshot-86qzxe6p.js} +4 -4
- package/dist/chunks/{vcs-tcezcvh9.js → snapshot-89znhe33.js} +4 -4
- package/dist/chunks/snapshot-8bavg15d.js +253 -0
- package/dist/chunks/{vcs-8m6m0r52.js → snapshot-8m6m0r52.js} +1 -1
- package/dist/chunks/{vcs-pagt2a0d.js → snapshot-8qhbfk2n.js} +18 -18
- package/dist/chunks/{vcs-9arrdvcr.js → snapshot-92fscyhx.js} +11 -11
- package/dist/chunks/{vcs-q8grz0g8.js → snapshot-9cmfgt91.js} +16 -16
- package/dist/chunks/{vcs-scx6fy7g.js → snapshot-9g7pswbf.js} +20 -20
- package/dist/chunks/{vcs-fjtjx80y.js → snapshot-9kmpexhc.js} +45 -45
- package/dist/chunks/{vcs-5pyjqqve.js → snapshot-9pa8tak9.js} +2 -2
- package/dist/chunks/{vcs-t0nn02sh.js → snapshot-9pttm90n.js} +21 -21
- package/dist/chunks/{vcs-pe0mrp9z.js → snapshot-9ttnny7k.js} +5 -5
- package/dist/chunks/{vcs-fc20vwn7.js → snapshot-9vxdwdzz.js} +31 -31
- package/dist/chunks/snapshot-9zdhvgqs.js +18 -0
- package/dist/chunks/{vcs-kmqyv7tr.js → snapshot-a0we08s8.js} +32 -32
- package/dist/chunks/{vcs-0pr9mksw.js → snapshot-a16rd8k8.js} +30 -30
- package/dist/chunks/{vcs-cp937pt4.js → snapshot-a3c7ahw6.js} +4 -4
- package/dist/chunks/{vcs-yxp99xgz.js → snapshot-a6fw190p.js} +20 -20
- package/dist/chunks/{vcs-f6ehv80r.js → snapshot-adns1g9g.js} +24 -24
- package/dist/chunks/{vcs-nezpkvx6.js → snapshot-ajtydnxp.js} +14 -14
- package/dist/chunks/{vcs-bnxe6qt4.js → snapshot-atj79w0v.js} +32 -32
- package/dist/chunks/{vcs-xwey7zsm.js → snapshot-be7jta6m.js} +4 -4
- package/dist/chunks/{vcs-481njsdn.js → snapshot-be7qvw84.js} +8 -8
- package/dist/chunks/{vcs-7enwnqx2.js → snapshot-bg1wkd0b.js} +15 -15
- package/dist/chunks/{vcs-ywt8jp22.js → snapshot-bjx1sjef.js} +9 -9
- package/dist/chunks/{vcs-yczg0ak8.js → snapshot-bqry624m.js} +11 -11
- package/dist/chunks/{vcs-g1stf5ec.js → snapshot-bv9pwty2.js} +11 -11
- package/dist/chunks/{vcs-5a6bdb3h.js → snapshot-bwx17gqq.js} +30 -30
- package/dist/chunks/{vcs-es1vcfrp.js → snapshot-c1fqxshp.js} +3 -3
- package/dist/chunks/{vcs-js4prka5.js → snapshot-c38a98sw.js} +329 -329
- package/dist/chunks/{vcs-8hzxhjgv.js → snapshot-c7eggyj2.js} +13 -13
- package/dist/chunks/{vcs-f8enj7d3.js → snapshot-ccjdyf7k.js} +4 -4
- package/dist/chunks/{vcs-wyjf03zf.js → snapshot-cf6gmne1.js} +17 -17
- package/dist/chunks/{vcs-gkpc65z4.js → snapshot-ck1fd7pj.js} +50 -50
- package/dist/chunks/{vcs-eys57y9b.js → snapshot-cmwkp3r5.js} +8 -8
- package/dist/chunks/{vcs-235km5t5.js → snapshot-cvm04r39.js} +8 -8
- package/dist/chunks/{vcs-b0tzr3db.js → snapshot-cxz0trys.js} +25 -25
- package/dist/chunks/{vcs-ryr25ayn.js → snapshot-d216944b.js} +5 -5
- package/dist/chunks/{vcs-bddt2pqj.js → snapshot-d48vtfkp.js} +20 -20
- package/dist/chunks/{vcs-d1hzem4k.js → snapshot-dj5070pm.js} +32 -32
- package/dist/chunks/{vcs-wc0vytja.js → snapshot-dx27xtfn.js} +37 -37
- package/dist/chunks/{vcs-55q4pg3x.js → snapshot-e62hrcgf.js} +3 -3
- package/dist/chunks/{vcs-nma959mg.js → snapshot-e80seqcp.js} +3 -3
- package/dist/chunks/{vcs-c4bpxzyg.js → snapshot-e81g86hq.js} +2 -2
- package/dist/chunks/{vcs-mbtj9ds6.js → snapshot-eahqb6ke.js} +30 -30
- package/dist/chunks/{vcs-rhjbct0v.js → snapshot-eaj1djv9.js} +8 -8
- package/dist/chunks/{vcs-xtcapa33.js → snapshot-edd5yykw.js} +18 -18
- package/dist/chunks/{vcs-eej6y6fw.js → snapshot-eej6y6fw.js} +2 -2
- package/dist/chunks/{vcs-xsg53x9j.js → snapshot-eejq6m04.js} +7 -7
- package/dist/chunks/{vcs-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-6m2e7bc8.js → snapshot-egftgkpy.js} +3 -3
- package/dist/chunks/{vcs-dks7depp.js → snapshot-ekje3y56.js} +17 -17
- package/dist/chunks/{vcs-a1z3z3g0.js → snapshot-evv0vwxw.js} +9 -9
- package/dist/chunks/{vcs-6vw52h41.js → snapshot-f6vbds02.js} +24 -24
- package/dist/chunks/{vcs-79qaa2kf.js → snapshot-ft3hqk2c.js} +9 -9
- package/dist/chunks/{vcs-x1w8kz1j.js → snapshot-fwetwkyp.js} +11 -11
- package/dist/chunks/{vcs-fxaymqdw.js → snapshot-fxaymqdw.js} +1 -1
- package/dist/chunks/{vcs-91nc53vq.js → snapshot-fxww3vkk.js} +33 -33
- package/dist/chunks/{vcs-v7qp4w0s.js → snapshot-fzrap74d.js} +4 -4
- package/dist/chunks/{vcs-kzr4d4yx.js → snapshot-g0886e5s.js} +10 -10
- package/dist/chunks/{vcs-5q25jc76.js → snapshot-g1vbddss.js} +5 -5
- package/dist/chunks/{vcs-z2hqca5m.js → snapshot-g751szay.js} +15 -15
- package/dist/chunks/{vcs-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-ksa5enky.js → snapshot-getmpk2p.js} +30 -30
- package/dist/chunks/{vcs-epvhvayn.js → snapshot-ggdbdp3p.js} +22 -22
- package/dist/chunks/{vcs-47jkzegy.js → snapshot-gj71zhbs.js} +5 -5
- package/dist/chunks/{vcs-4t573r9z.js → snapshot-gjw4dczg.js} +9 -9
- package/dist/chunks/{vcs-gk8qb678.js → snapshot-gk8qb678.js} +1 -1
- package/dist/chunks/{vcs-fym2egaf.js → snapshot-gp6j0m16.js} +178 -178
- package/dist/chunks/{vcs-2fgx34m2.js → snapshot-gpcfbphx.js} +16 -16
- package/dist/chunks/{vcs-xbbfye0x.js → snapshot-gpmsrege.js} +20 -20
- package/dist/chunks/{vcs-6x8j28ta.js → snapshot-gr6rb6jp.js} +28 -28
- package/dist/chunks/{vcs-1vezggaq.js → snapshot-gst7axd9.js} +4 -4
- package/dist/chunks/{vcs-zsr4wwhv.js → snapshot-gw7cjrad.js} +4 -4
- package/dist/chunks/{vcs-q1v8m7mv.js → snapshot-h30nn26j.js} +5 -5
- package/dist/chunks/{vcs-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-31xfzrxg.js → snapshot-h7s7r6s9.js} +5 -5
- package/dist/chunks/{vcs-nwehx7ay.js → snapshot-h8wzkg43.js} +22 -22
- package/dist/chunks/{vcs-ssejya2c.js → snapshot-hdaz9kwv.js} +26 -26
- package/dist/chunks/{vcs-a52aq9pv.js → snapshot-hgcw6g89.js} +20 -20
- package/dist/chunks/{vcs-hgz4x7wa.js → snapshot-hgz4x7wa.js} +1 -1
- package/dist/chunks/{vcs-dv7vdq8f.js → snapshot-hky8srv6.js} +17 -17
- package/dist/chunks/{vcs-acv6agwm.js → snapshot-hwxse503.js} +46 -46
- package/dist/chunks/{vcs-p4y3j28t.js → snapshot-j05shhqh.js} +4 -4
- package/dist/chunks/{vcs-91qna3x0.js → snapshot-j09zfasm.js} +3 -3
- package/dist/chunks/{vcs-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-hqsnmgn9.js → snapshot-j6y24mx7.js} +47 -47
- package/dist/chunks/{vcs-rwrxn7zv.js → snapshot-j7n20m06.js} +14 -14
- package/dist/chunks/{vcs-ndgjjs73.js → snapshot-jad7v81x.js} +21 -21
- package/dist/chunks/{vcs-twez2640.js → snapshot-jaqgj7gd.js} +5 -5
- package/dist/chunks/{vcs-59t8e9hp.js → snapshot-jhh798t7.js} +16 -16
- package/dist/chunks/{vcs-1g5yqc8z.js → snapshot-jtfvy0x1.js} +14 -14
- package/dist/chunks/{vcs-addxnjmp.js → snapshot-k22b66k8.js} +4 -4
- package/dist/chunks/{vcs-hdtf1423.js → snapshot-kasbmhf8.js} +6 -6
- package/dist/chunks/snapshot-kgjy6kx3.js +26 -0
- package/dist/chunks/{vcs-ty18q8bq.js → snapshot-kxevvgj2.js} +35 -35
- package/dist/chunks/{vcs-1j76fkgm.js → snapshot-m0zh6mp4.js} +13 -13
- package/dist/chunks/{vcs-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-5nrew705.js → snapshot-ma15yhyh.js} +5 -5
- package/dist/chunks/{vcs-4dgw1k7b.js → snapshot-meynmx88.js} +46 -46
- package/dist/chunks/{vcs-e0s5vzwf.js → snapshot-meztqrmt.js} +51 -51
- package/dist/chunks/{vcs-va69yy5s.js → snapshot-mma6j8c6.js} +35 -35
- package/dist/chunks/{vcs-2kad87fd.js → snapshot-n1bf2k3s.js} +10 -10
- package/dist/chunks/{vcs-e0ck1vyz.js → snapshot-n6j6gvjr.js} +27 -27
- package/dist/chunks/{vcs-eg7g03rw.js → snapshot-nb6tc7gn.js} +7 -7
- package/dist/chunks/{vcs-hwbqs4aj.js → snapshot-ncf68bzz.js} +8 -8
- package/dist/chunks/{vcs-6t6pa95g.js → snapshot-ncff0ghb.js} +7 -7
- package/dist/chunks/{vcs-4xdpab2z.js → snapshot-nd4tfyg0.js} +9 -9
- package/dist/chunks/{vcs-xbe1xf1p.js → snapshot-nf9s1prm.js} +14 -14
- package/dist/chunks/{vcs-npw39rc8.js → snapshot-npw39rc8.js} +3 -3
- package/dist/chunks/{vcs-15s9tzxd.js → snapshot-nxm9bewc.js} +24 -24
- package/dist/chunks/{vcs-1r3s6wg0.js → snapshot-p0302ss0.js} +27 -27
- package/dist/chunks/{vcs-j8hse5kh.js → snapshot-pck7vvdx.js} +8 -8
- package/dist/chunks/{vcs-0sfv069z.js → snapshot-pdqzrdag.js} +8 -8
- package/dist/chunks/{vcs-tjc13hta.js → snapshot-pgm6csgf.js} +11 -11
- package/dist/chunks/{vcs-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-7zp1n7a7.js → snapshot-pk3rgn0k.js} +14 -14
- package/dist/chunks/{vcs-y0bqer6n.js → snapshot-pkb3ay4t.js} +7 -7
- package/dist/chunks/{vcs-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-hne8beqj.js → snapshot-pnevy8t0.js} +12 -12
- package/dist/chunks/{vcs-s6p21de5.js → snapshot-px49nktx.js} +18 -18
- package/dist/chunks/{vcs-0tknss5k.js → snapshot-pxdh6z4x.js} +4 -4
- package/dist/chunks/{vcs-q0xm7vwc.js → snapshot-q0xm7vwc.js} +2 -2
- package/dist/chunks/{vcs-20fcqj0r.js → snapshot-q1wh2s52.js} +11 -11
- package/dist/chunks/{vcs-0mgfbfk9.js → snapshot-q5t8tkm3.js} +15 -15
- package/dist/chunks/{vcs-arj5enh2.js → snapshot-q6pvwn5s.js} +10 -10
- package/dist/chunks/{vcs-0csrw0rg.js → snapshot-q9099wq0.js} +11 -11
- package/dist/chunks/{vcs-r3z16319.js → snapshot-q9s0qt54.js} +24 -24
- package/dist/chunks/{vcs-vwvqks9y.js → snapshot-qhtz5tn1.js} +6 -6
- package/dist/chunks/{vcs-bc7rc02h.js → snapshot-qm7yafx2.js} +30 -30
- package/dist/chunks/{vcs-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-hs4jhd8t.js → snapshot-qp5xdmt9.js} +14 -14
- package/dist/chunks/{vcs-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-wavsan29.js → snapshot-qwz14s94.js} +15 -15
- package/dist/chunks/{vcs-jpts0yk4.js → snapshot-qxs3vhad.js} +10 -10
- package/dist/chunks/{vcs-gnf6a704.js → snapshot-qxteq9gp.js} +3 -3
- package/dist/chunks/{vcs-r0a53c5q.js → snapshot-r00vxzkf.js} +13 -13
- package/dist/chunks/{vcs-4987t165.js → snapshot-r1pe02km.js} +6 -6
- package/dist/chunks/{vcs-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-tkb22qbm.js → snapshot-rert0e01.js} +2 -2
- package/dist/chunks/{vcs-c41wscbt.js → snapshot-rj3eygr5.js} +2 -2
- package/dist/chunks/{vcs-rxws6bhm.js → snapshot-rmbqd2ve.js} +14 -14
- package/dist/chunks/{vcs-nsh8sgfc.js → snapshot-rrvferkx.js} +8 -8
- package/dist/chunks/{vcs-s99vwkcp.js → snapshot-rv7cqpdn.js} +26 -26
- package/dist/chunks/{vcs-bsprd9wx.js → snapshot-rv8bg9zk.js} +6 -6
- package/dist/chunks/{vcs-h73xewvj.js → snapshot-rw725m44.js} +5 -5
- package/dist/chunks/{vcs-nc5zv3b6.js → snapshot-ryrkax6k.js} +30 -30
- package/dist/chunks/{vcs-jdpcmxaq.js → snapshot-s21g3yfm.js} +5 -5
- package/dist/chunks/{vcs-c8ax2afj.js → snapshot-sa8ekw3f.js} +2 -2
- package/dist/chunks/{vcs-b3f8fkhc.js → snapshot-scgrse2b.js} +5 -5
- package/dist/chunks/{vcs-a3zwd18q.js → snapshot-svcw9x3w.js} +12 -12
- package/dist/chunks/{vcs-y9zen75t.js → snapshot-sy5bqw1f.js} +36 -36
- package/dist/chunks/{vcs-syv4x271.js → snapshot-syv4x271.js} +1 -1
- package/dist/chunks/{vcs-sz15zhhw.js → snapshot-sz15zhhw.js} +1 -1
- package/dist/chunks/{vcs-f7v1be6r.js → snapshot-t0jcgyeh.js} +11 -11
- package/dist/chunks/{vcs-g1kbbzwv.js → snapshot-t24steab.js} +20 -20
- package/dist/chunks/{vcs-vysf6yst.js → snapshot-t2sp9sft.js} +45 -45
- package/dist/chunks/{vcs-8h02xmj1.js → snapshot-t3g5z3jq.js} +4 -4
- package/dist/chunks/{vcs-zvewsjf9.js → snapshot-t4xp0xer.js} +20 -20
- package/dist/chunks/{vcs-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-tav3j76w.js → snapshot-tczskvm4.js} +9 -9
- package/dist/chunks/{vcs-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-tjvrccee.js → snapshot-tj9ze35q.js} +19 -19
- package/dist/chunks/{vcs-tm0kqsz3.js → snapshot-tm0kqsz3.js} +1 -1
- package/dist/chunks/{vcs-qjva7zsb.js → snapshot-twxex640.js} +29 -29
- package/dist/chunks/{vcs-tyytaxap.js → snapshot-tyytaxap.js} +1 -1
- package/dist/chunks/{vcs-m82p2ea3.js → snapshot-v61gpap5.js} +20 -20
- package/dist/chunks/{vcs-v7p4zvkq.js → snapshot-v7p4zvkq.js} +2 -2
- package/dist/chunks/{vcs-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-egxa6wef.js → snapshot-vvdk2v7s.js} +30 -30
- package/dist/chunks/{vcs-f104y2wp.js → snapshot-vxrq7gy3.js} +23 -23
- package/dist/chunks/{vcs-z539r0a3.js → snapshot-vyxcgzxm.js} +4 -4
- package/dist/chunks/{vcs-b1tttxvj.js → snapshot-vz7j5hz5.js} +18 -18
- package/dist/chunks/{vcs-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-1pxz8ven.js → snapshot-w39jehkq.js} +5 -5
- package/dist/chunks/{vcs-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-26f3rcp3.js → snapshot-w9m81hfh.js} +33 -33
- package/dist/chunks/{vcs-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-3zbnw38w.js → snapshot-wdjckp9n.js} +69 -69
- package/dist/chunks/{vcs-p9d0rdr1.js → snapshot-wg81ww38.js} +4 -4
- package/dist/chunks/{vcs-0pfazcqt.js → snapshot-ws8te88a.js} +5 -5
- package/dist/chunks/{vcs-4swtwscf.js → snapshot-ww4mptbv.js} +6 -6
- package/dist/chunks/{vcs-cscq17wm.js → snapshot-x0n2r8bm.js} +9 -9
- package/dist/chunks/{vcs-e7max901.js → snapshot-x2g642t3.js} +55 -55
- package/dist/chunks/{vcs-h2sbe1zw.js → snapshot-x9cg0rxw.js} +21 -21
- package/dist/chunks/{vcs-84p0rsy4.js → snapshot-xbn8j5gg.js} +21 -21
- package/dist/chunks/{vcs-hhasc4wk.js → snapshot-xdykc06c.js} +15 -15
- package/dist/chunks/{vcs-z4656w27.js → snapshot-xkcby2w3.js} +25 -25
- package/dist/chunks/{vcs-dek0q3p9.js → snapshot-xkxtbnne.js} +45 -45
- package/dist/chunks/{vcs-ccwyehyt.js → snapshot-xn2d9mj3.js} +11 -11
- package/dist/chunks/{vcs-7k8ewqsg.js → snapshot-xwazsn8k.js} +33 -33
- package/dist/chunks/{vcs-4hefet2q.js → snapshot-xzf894n2.js} +36 -36
- package/dist/chunks/{vcs-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-dpkg50ah.js → snapshot-y71avatq.js} +4 -4
- package/dist/chunks/{vcs-qjx1ax0j.js → snapshot-yd4bzqjj.js} +5 -5
- package/dist/chunks/{vcs-5t6ehpr6.js → snapshot-yfv49cfa.js} +50 -50
- package/dist/chunks/{vcs-xsgk3b13.js → snapshot-yh7kjdpc.js} +9 -9
- package/dist/chunks/{vcs-8dp3qddt.js → snapshot-yrd2kh6r.js} +19 -19
- package/dist/chunks/{vcs-qg4yzkf6.js → snapshot-yw0bx123.js} +17 -17
- package/dist/chunks/{vcs-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-yzq5b05t.js → snapshot-z1j66m5m.js} +2 -2
- package/dist/chunks/{vcs-7gx1y4bm.js → snapshot-z7g7qfqe.js} +15 -15
- package/dist/chunks/{vcs-92c95a58.js → snapshot-z9dst3cg.js} +32 -32
- package/dist/chunks/{vcs-3fz6v6g7.js → snapshot-zejcb5bb.js} +28 -28
- package/dist/chunks/{vcs-qkh4a7bk.js → snapshot-zhcb31md.js} +13 -13
- package/dist/chunks/{vcs-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/chunks/{vcs-64x317sc.js → snapshot-zy26rbxg.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +86 -86
- 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 +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 +363 -363
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +92 -92
- 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 +3 -3
- 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 +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- 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 +101 -101
- 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 +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- 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 +101 -101
- 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 +92 -92
- 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 +118 -118
- 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 +74 -74
- 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 +350 -350
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- 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 +137 -137
- 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 +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- 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 +4 -4
- 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 +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- 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 +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +126 -126
- 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 +120 -120
- package/dist/tool/plugin/question.js +105 -105
- 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 +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- 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 +95 -95
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/vcs-086esqp9.js +0 -26
- package/dist/chunks/vcs-pf31ssb9.js +0 -18
- package/dist/chunks/vcs-w8rb82bd.js +0 -253
- /package/dist/chunks/{vcs-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-bw78ga2c.js → snapshot-bw78ga2c.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{vcs-pyv0edze.js → snapshot-pyv0edze.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID7,
|
|
3
|
+
Service58,
|
|
4
|
+
node61
|
|
5
|
+
} from "./snapshot-a16rd8k8.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID6,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service57,
|
|
18
|
+
node60
|
|
19
|
+
} from "./snapshot-a0we08s8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service55,
|
|
22
|
+
node58
|
|
23
|
+
} from "./snapshot-bqry624m.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID5,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service56,
|
|
29
|
+
node59,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-qm7yafx2.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service54,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer24,
|
|
51
|
+
node: () => node57,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
58
58
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
59
59
|
import { Npm } from "@opencode/util/npm";
|
|
60
60
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
61
|
-
providerID:
|
|
62
|
-
modelID:
|
|
61
|
+
providerID: ID6,
|
|
62
|
+
modelID: ID5,
|
|
63
63
|
variant: VariantID2
|
|
64
64
|
}) {
|
|
65
65
|
get message() {
|
|
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
71
|
-
providerID:
|
|
72
|
-
modelID:
|
|
71
|
+
providerID: ID6,
|
|
72
|
+
modelID: ID5,
|
|
73
73
|
package: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
get message() {
|
|
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
79
79
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
80
80
|
|
|
81
81
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
82
|
-
providerID:
|
|
83
|
-
modelID:
|
|
82
|
+
providerID: ID6,
|
|
83
|
+
modelID: ID5,
|
|
84
84
|
package: Schema.String,
|
|
85
85
|
detail: Schema.String
|
|
86
86
|
}) {
|
|
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
93
|
-
providerID:
|
|
94
|
-
modelID:
|
|
93
|
+
providerID: ID6,
|
|
94
|
+
modelID: ID5,
|
|
95
95
|
package: Schema.String,
|
|
96
96
|
phase: InitializationPhase2,
|
|
97
97
|
detail: Schema.String
|
|
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
105
|
-
providerID:
|
|
106
|
-
modelID:
|
|
105
|
+
providerID: ID6,
|
|
106
|
+
modelID: ID5,
|
|
107
107
|
variables: Schema.Array(Schema.String)
|
|
108
108
|
}) {
|
|
109
109
|
get message() {
|
|
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
115
|
-
providerID:
|
|
116
|
-
modelID:
|
|
115
|
+
providerID: ID6,
|
|
116
|
+
modelID: ID5,
|
|
117
117
|
route: Schema.String
|
|
118
118
|
}) {
|
|
119
119
|
get message() {
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service54 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -235,7 +235,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
235
235
|
return tokenSettings(specifier, credential.access);
|
|
236
236
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
237
237
|
return { auth: "sigv4" };
|
|
238
|
-
if (model.providerID ===
|
|
238
|
+
if (model.providerID === ID6.azure)
|
|
239
239
|
return tokenSettings(specifier, "azure-cli");
|
|
240
240
|
return {};
|
|
241
241
|
};
|
|
@@ -270,15 +270,15 @@ var causeMessage = (cause) => {
|
|
|
270
270
|
};
|
|
271
271
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
272
272
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
273
|
-
var
|
|
274
|
-
const providers = yield*
|
|
275
|
-
const models = yield*
|
|
276
|
-
const integrations = yield*
|
|
273
|
+
var layer24 = Layer.effect(Service54, Effect.gen(function* () {
|
|
274
|
+
const providers = yield* Service57;
|
|
275
|
+
const models = yield* Service56;
|
|
276
|
+
const integrations = yield* Service58;
|
|
277
277
|
const npm = yield* Npm.Service;
|
|
278
|
-
const aisdk = yield*
|
|
278
|
+
const aisdk = yield* Service55;
|
|
279
279
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
280
280
|
const provider = yield* providers.get(selected.providerID);
|
|
281
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
281
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID7.make(selected.providerID));
|
|
282
282
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
283
283
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
284
284
|
const runtimeInfo = {
|
|
@@ -305,7 +305,7 @@ var layer26 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
305
305
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
306
306
|
};
|
|
307
307
|
});
|
|
308
|
-
return
|
|
308
|
+
return Service54.of({
|
|
309
309
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
310
310
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
311
311
|
if (!selected)
|
|
@@ -322,10 +322,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
322
322
|
const name = packageName2(packageName);
|
|
323
323
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
service:
|
|
327
|
-
layer:
|
|
328
|
-
deps: [
|
|
325
|
+
var node57 = makeLocationNode({
|
|
326
|
+
service: Service54,
|
|
327
|
+
layer: layer24,
|
|
328
|
+
deps: [node60, node59, node61, Npm.node, node58]
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
331
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service54, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node57, exports_model_resolver };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-1r73c9nv.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-0jzh9efz.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-ccjdyf7k.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./snapshot-3ppptnan.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service61
|
|
16
|
+
} from "./snapshot-xwazsn8k.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./snapshot-rv8bg9zk.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-c1fqxshp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service40;
|
|
45
45
|
const database = yield* Service85;
|
|
46
46
|
const bus = yield* Service84;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service61;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID9.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
76
|
+
const instances = yield* Service40;
|
|
77
77
|
const bus = yield* Service84;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service61;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID9.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID9.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-3fppgx15.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-bjx1sjef.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin5,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin5 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin38 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin38 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin5, exports_firecrawl };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service70,
|
|
3
|
+
node74
|
|
4
|
+
} from "./snapshot-jhh798t7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service23,
|
|
7
|
+
node26
|
|
8
|
+
} from "./snapshot-4985kjca.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-6xb47vfp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service10,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node12
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service10 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service23;
|
|
30
|
+
const jobs = yield* Service70;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service10.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node12 = Node.makeGlobalNode({
|
|
68
|
+
service: Service10,
|
|
69
|
+
layer: Layer.effect(Service10, make),
|
|
70
|
+
deps: [node26, node74]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service10, node12, exports_subagent_job };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-ccjdyf7k.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-1r73c9nv.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError2,
|
|
20
|
+
Options: () => Options2,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service20,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
available: () => available2,
|
|
25
|
+
configured: () => configured2,
|
|
26
|
+
layer: () => layer9,
|
|
27
|
+
node: () => node23
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,25 +35,25 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
+
var Options2 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service20 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service51, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service51, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service51, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service20.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service51, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer9 = makeLayer();
|
|
263
|
+
var configured2 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service20,
|
|
265
|
+
layer: options === undefined ? layer9 : makeLayer(options),
|
|
266
266
|
deps: [node88, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node23 = configured2();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options2, UnavailableError2, NotFoundError2, Service20, layer9, configured2, node23, exports_persistent_pty, Handoff2, available2 };
|