@opencode/core 2.0.17 → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{schema-d4nbhrvv.js → ripgrep-01g11k9t.js} +21 -21
- package/dist/chunks/{schema-p07c8hrh.js → ripgrep-02cm5gdc.js} +11 -11
- package/dist/chunks/{schema-fng9e0je.js → ripgrep-0gaj4617.js} +6 -6
- package/dist/chunks/{schema-xybn4n2y.js → ripgrep-0mx2aapc.js} +12 -12
- package/dist/chunks/{schema-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-c5pegrb7.js → ripgrep-0tkrsm5y.js} +10 -10
- package/dist/chunks/{schema-ayqbdn8x.js → ripgrep-0z0qdp4f.js} +62 -62
- package/dist/chunks/{schema-h3v3gq1k.js → ripgrep-18rbsmj0.js} +24 -24
- package/dist/chunks/{schema-czfptnv9.js → ripgrep-1ajx6rf5.js} +8 -8
- package/dist/chunks/{schema-by3r5qkm.js → ripgrep-1ap17en5.js} +34 -34
- package/dist/chunks/{schema-0kety719.js → ripgrep-1cwrqxta.js} +13 -13
- package/dist/chunks/{schema-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-0brwk0k2.js → ripgrep-1gq8q7z3.js} +36 -36
- package/dist/chunks/{schema-1y2s2f0j.js → ripgrep-1n7xvyes.js} +6 -6
- package/dist/chunks/{schema-d0e063zs.js → ripgrep-1qny0ng8.js} +17 -17
- package/dist/chunks/{schema-wx7ymqfy.js → ripgrep-1sxym04w.js} +26 -26
- package/dist/chunks/ripgrep-1x11rq2a.js +18 -0
- package/dist/chunks/{schema-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{schema-z63w68vq.js → ripgrep-29x78va6.js} +6 -6
- package/dist/chunks/{schema-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-me2bkwye.js → ripgrep-2djhngnv.js} +5 -5
- package/dist/chunks/{schema-21fjxxq6.js → ripgrep-2vjymgz4.js} +11 -11
- package/dist/chunks/{schema-bw1k523x.js → ripgrep-35qaqz32.js} +30 -30
- package/dist/chunks/{schema-vgygemyp.js → ripgrep-36zg1nxf.js} +25 -25
- package/dist/chunks/{schema-nrp9mwhy.js → ripgrep-39z47dss.js} +18 -18
- package/dist/chunks/{schema-3cfzdc8e.js → ripgrep-3cfzdc8e.js} +2 -2
- package/dist/chunks/{schema-6whbnvw3.js → ripgrep-3crkzcp9.js} +47 -43
- package/dist/chunks/{schema-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-7khr9c91.js → ripgrep-3ny1h4te.js} +15 -15
- package/dist/chunks/{schema-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-4hq88yhx.js → ripgrep-3xwj4cta.js} +32 -32
- package/dist/chunks/{schema-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-pnzr5f25.js → ripgrep-45gjfn9y.js} +10 -10
- package/dist/chunks/{schema-h6r3nrb9.js → ripgrep-4dgbcxzg.js} +4 -4
- package/dist/chunks/{schema-de52ckkz.js → ripgrep-4nzwy074.js} +4 -4
- package/dist/chunks/{schema-y4bzdzmn.js → ripgrep-4przf6dn.js} +24 -25
- package/dist/chunks/{schema-jfxkwh10.js → ripgrep-50epje6z.js} +40 -37
- package/dist/chunks/{schema-94ve3ep0.js → ripgrep-513gj428.js} +6 -6
- package/dist/chunks/ripgrep-54ma36ye.js +13 -0
- package/dist/chunks/{schema-8j2x59yf.js → ripgrep-54nwp9r7.js} +29 -29
- package/dist/chunks/{schema-ckecvw8r.js → ripgrep-54tcyq79.js} +2 -2
- package/dist/chunks/{schema-4a0nv7mx.js → ripgrep-54zxgqzr.js} +8 -8
- package/dist/chunks/{schema-2fb3f4s4.js → ripgrep-560t4d1v.js} +12 -7
- package/dist/chunks/{schema-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{schema-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-ssdqnhy0.js → ripgrep-5dkn69vz.js} +24 -7
- package/dist/chunks/{schema-rwvzjkqg.js → ripgrep-5qt97ybp.js} +22 -22
- package/dist/chunks/{schema-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{schema-7khjtj5g.js → ripgrep-6ap5qy5h.js} +20 -20
- package/dist/chunks/{schema-yz82w8p6.js → ripgrep-6d4369ev.js} +5 -5
- package/dist/chunks/{schema-ena0zzcy.js → ripgrep-6e52v1r2.js} +17 -17
- package/dist/chunks/{schema-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-gwmzskkb.js → ripgrep-6v71ddka.js} +20 -20
- package/dist/chunks/{schema-2e3sc6z5.js → ripgrep-717rh1cx.js} +11 -11
- package/dist/chunks/{schema-j028xdjb.js → ripgrep-73tb2d7t.js} +3 -3
- package/dist/chunks/{schema-mvksx64m.js → ripgrep-784hb5j4.js} +4 -4
- package/dist/chunks/{schema-jzffzcq4.js → ripgrep-7962e3yf.js} +15 -15
- package/dist/chunks/{schema-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-habj5avf.js → ripgrep-7d3cxzax.js} +26 -26
- package/dist/chunks/{schema-7dqw4kz8.js → ripgrep-7dqw4kz8.js} +1 -1
- package/dist/chunks/{schema-75qjrmc8.js → ripgrep-7rhad128.js} +19 -19
- package/dist/chunks/{schema-b6ysx4kv.js → ripgrep-7rkndmtb.js} +12 -12
- package/dist/chunks/{schema-rb4e480n.js → ripgrep-7zx59yv5.js} +13 -13
- package/dist/chunks/{schema-2402vzrj.js → ripgrep-84txncab.js} +2 -2
- package/dist/chunks/{schema-wxnc2egh.js → ripgrep-87ppwq26.js} +14 -14
- package/dist/chunks/{schema-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-av5dvdst.js → ripgrep-8v662a6s.js} +26 -26
- package/dist/chunks/{schema-x8bbrmd5.js → ripgrep-8zh4h089.js} +7 -52
- package/dist/chunks/{schema-jt97ek0w.js → ripgrep-90x597dq.js} +1 -1
- package/dist/chunks/{schema-fr2n07jg.js → ripgrep-921pky8x.js} +29 -29
- package/dist/chunks/{schema-qnnvw27w.js → ripgrep-92b1hf4n.js} +35 -35
- package/dist/chunks/{schema-ycw8hfm2.js → ripgrep-966px1fx.js} +12 -12
- package/dist/chunks/{schema-v9315egx.js → ripgrep-98cnr0ek.js} +9 -9
- package/dist/chunks/{schema-tjz0sjs3.js → ripgrep-9dt30ddd.js} +21 -21
- package/dist/chunks/{schema-7tpxex51.js → ripgrep-9eq5kwq7.js} +6 -6
- package/dist/chunks/{schema-drgwwxwg.js → ripgrep-9gz1cjgc.js} +58 -58
- package/dist/chunks/{schema-9a5xxas0.js → ripgrep-9q5cvpmr.js} +27 -27
- package/dist/chunks/{schema-yv37q7sr.js → ripgrep-a1fqa279.js} +6 -6
- package/dist/chunks/{schema-vmnfmpbz.js → ripgrep-a4pew0st.js} +50 -52
- package/dist/chunks/{schema-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-587y186t.js → ripgrep-amncynrr.js} +6 -6
- package/dist/chunks/{schema-42qrv8nh.js → ripgrep-asw9yjte.js} +22 -22
- package/dist/chunks/{schema-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-t9zs3egg.js → ripgrep-bf0ztrs3.js} +4 -4
- package/dist/chunks/{schema-f658k6de.js → ripgrep-bj8n3aze.js} +28 -28
- package/dist/chunks/{schema-6z8ht897.js → ripgrep-bjj0bk6b.js} +29 -18
- package/dist/chunks/{schema-z07pqspn.js → ripgrep-bjtzbw4r.js} +3 -3
- package/dist/chunks/{schema-j1pt8b99.js → ripgrep-bmw6bt9k.js} +23 -23
- package/dist/chunks/{schema-x3317tkm.js → ripgrep-bqypnsdg.js} +18 -18
- package/dist/chunks/{schema-5atn9wfq.js → ripgrep-bvbkwbsh.js} +19 -19
- package/dist/chunks/ripgrep-by268fe6.js +252 -0
- package/dist/chunks/{schema-vqfzq50h.js → ripgrep-cdm0dq9n.js} +6 -6
- package/dist/chunks/{schema-xbwwxhdm.js → ripgrep-cew5j6w6.js} +12 -12
- package/dist/chunks/{schema-g5j6fn2h.js → ripgrep-chcvj6mx.js} +33 -33
- package/dist/chunks/{schema-9ncpcp0p.js → ripgrep-cvmm0xs5.js} +10 -10
- package/dist/chunks/{schema-rey5gbxv.js → ripgrep-cwa6csj7.js} +9 -9
- package/dist/chunks/{schema-hkfg6fzm.js → ripgrep-d2aac7k2.js} +5 -5
- package/dist/chunks/ripgrep-d3qdrwa5.js +326 -0
- package/dist/chunks/{schema-45cphc5h.js → ripgrep-d6gxwvxg.js} +12 -12
- package/dist/chunks/{schema-djehs4n2.js → ripgrep-d8j7dsnb.js} +8 -8
- package/dist/chunks/{schema-p8587wpx.js → ripgrep-dhtd5fdm.js} +18 -18
- package/dist/chunks/{schema-ytbrnvs4.js → ripgrep-dkmyvpj5.js} +23 -23
- package/dist/chunks/ripgrep-dneah854.js +26 -0
- package/dist/chunks/{schema-6bgjwwbw.js → ripgrep-dxh6ecs0.js} +5 -5
- package/dist/chunks/{schema-fbawcmnd.js → ripgrep-dym78pc8.js} +8 -8
- package/dist/chunks/{schema-5qd3pb7m.js → ripgrep-e3qxr5gk.js} +2 -2
- package/dist/chunks/{schema-ps7s312n.js → ripgrep-e5v6sjzq.js} +10 -10
- package/dist/chunks/{schema-0e81x99y.js → ripgrep-e6q37ddf.js} +10 -17
- package/dist/chunks/{schema-vbb1pxgn.js → ripgrep-ec07y9k9.js} +32 -32
- package/dist/chunks/{schema-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{schema-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-eymenvc3.js → ripgrep-ef8r30dj.js} +27 -27
- package/dist/chunks/{schema-ma48de29.js → ripgrep-engkm2d6.js} +5 -5
- package/dist/chunks/{schema-sejq73tg.js → ripgrep-ervy3t4x.js} +10 -10
- package/dist/chunks/{schema-nz8pq8c9.js → ripgrep-eszpxc5c.js} +5 -5
- package/dist/chunks/{schema-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-bk55e78n.js → ripgrep-eybctzj2.js} +23 -23
- package/dist/chunks/{schema-ks0a0grj.js → ripgrep-f1mz2x80.js} +22 -22
- package/dist/chunks/{schema-f2n192rq.js → ripgrep-f2n192rq.js} +1 -1
- package/dist/chunks/{schema-jjf6303y.js → ripgrep-f5fzvqmp.js} +17 -23
- package/dist/chunks/{schema-wfg418dn.js → ripgrep-f8ys8j9y.js} +13 -31
- package/dist/chunks/{schema-eajmhh73.js → ripgrep-f960svv2.js} +11 -11
- package/dist/chunks/{schema-8k150j0z.js → ripgrep-fa7h6qtp.js} +8 -8
- package/dist/chunks/{schema-wzhdnf6z.js → ripgrep-fgmy5dam.js} +33 -33
- package/dist/chunks/{schema-t2fc4mz5.js → ripgrep-fm2qvscf.js} +4 -4
- package/dist/chunks/{schema-qw1f8ej3.js → ripgrep-fses9meq.js} +27 -27
- package/dist/chunks/{schema-evs9c0ef.js → ripgrep-fzjz7zmc.js} +27 -27
- package/dist/chunks/{schema-cggb2dpx.js → ripgrep-g5pjqc12.js} +14 -14
- package/dist/chunks/{schema-wqc6684y.js → ripgrep-gafqwe43.js} +2 -2
- package/dist/chunks/{schema-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-vr2z87y7.js → ripgrep-gfm6y7px.js} +104 -109
- package/dist/chunks/{schema-94ek1h2f.js → ripgrep-gfvb90ym.js} +2 -2
- package/dist/chunks/{schema-q4q3y0ma.js → ripgrep-gfwqm0th.js} +28 -29
- package/dist/chunks/{schema-jnqxgjh5.js → ripgrep-gjepqxj6.js} +40 -46
- package/dist/chunks/{schema-d8hz1vnp.js → ripgrep-gn9knv9y.js} +42 -42
- package/dist/chunks/{schema-c488s98d.js → ripgrep-gpj7vvxj.js} +11 -11
- package/dist/chunks/{schema-41prm328.js → ripgrep-gr9s2h9h.js} +11 -11
- package/dist/chunks/{schema-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-e69wdmhy.js → ripgrep-h204n497.js} +6 -6
- package/dist/chunks/{schema-v3sgzvyr.js → ripgrep-h5w29vws.js} +12 -10
- package/dist/chunks/{schema-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-kp8q1t60.js → ripgrep-h71w788e.js} +8 -8
- package/dist/chunks/{schema-zqdrfgj1.js → ripgrep-hcxgq10m.js} +48 -48
- package/dist/chunks/{schema-7mm032py.js → ripgrep-hpgwsqwz.js} +9 -9
- package/dist/chunks/{schema-eh37vhb5.js → ripgrep-hq3kn9m3.js} +6 -6
- package/dist/chunks/{schema-r1qsnamt.js → ripgrep-hrj2emtv.js} +4 -4
- package/dist/chunks/{schema-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-pecm86x5.js → ripgrep-jb2d75z1.js} +11 -11
- package/dist/chunks/{schema-pm23069r.js → ripgrep-jceb99ws.js} +16 -16
- package/dist/chunks/{schema-tgyvarbm.js → ripgrep-jjyafwrj.js} +15 -15
- package/dist/chunks/{schema-tk9ew89t.js → ripgrep-jkka0c6f.js} +8 -8
- package/dist/chunks/{schema-6gjjawqn.js → ripgrep-jtj8yee2.js} +91 -91
- package/dist/chunks/{schema-6pc27hjz.js → ripgrep-jws6fkes.js} +4 -4
- package/dist/chunks/{schema-cmsm0fmq.js → ripgrep-jyx4k4a6.js} +15 -15
- package/dist/chunks/{schema-jpqeh2wc.js → ripgrep-k0a3z2qz.js} +4 -4
- package/dist/chunks/{schema-d2w12qf2.js → ripgrep-k5f615bv.js} +10 -10
- package/dist/chunks/{schema-0sfeenar.js → ripgrep-kasa1exf.js} +20 -20
- package/dist/chunks/{schema-6xg4rx5y.js → ripgrep-keqxcydf.js} +25 -25
- package/dist/chunks/{schema-50mzsvk4.js → ripgrep-kk00bynn.js} +21 -21
- package/dist/chunks/{schema-qkc3sedm.js → ripgrep-kv68fk3j.js} +177 -177
- package/dist/chunks/{schema-mj50c66e.js → ripgrep-kxhj4mfa.js} +11 -11
- package/dist/chunks/{schema-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-gq46gf1f.js → ripgrep-m3ra8jyf.js} +17 -17
- package/dist/chunks/{schema-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-emsmtts8.js → ripgrep-meaywfr2.js} +25 -20
- package/dist/chunks/{schema-mfqp6xfm.js → ripgrep-mfqp6xfm.js} +2 -2
- package/dist/chunks/{schema-f5gy8qwh.js → ripgrep-mgq5nv3e.js} +8 -8
- package/dist/chunks/{schema-0ymghm5h.js → ripgrep-mmq917w3.js} +11 -11
- package/dist/chunks/{schema-5m1y3qk6.js → ripgrep-mtndfwk2.js} +18 -18
- package/dist/chunks/{schema-3m9rvccw.js → ripgrep-n8c1xpsf.js} +36 -36
- package/dist/chunks/{schema-es33zt1k.js → ripgrep-ncxf1vrd.js} +5 -5
- package/dist/chunks/{schema-mnnqb9y7.js → ripgrep-ngmgdt3b.js} +15 -15
- package/dist/chunks/{schema-055gg8d0.js → ripgrep-nqp5g4n1.js} +17 -17
- package/dist/chunks/{schema-fnbz4a44.js → ripgrep-nrzkffvv.js} +14 -14
- package/dist/chunks/{schema-7smws4ww.js → ripgrep-nt8bmh2c.js} +9 -9
- package/dist/chunks/{schema-nyqx1cb3.js → ripgrep-nyqx1cb3.js} +2 -2
- package/dist/chunks/{schema-k3c624dm.js → ripgrep-nzks3jc8.js} +3 -3
- package/dist/chunks/{schema-5yfpp9tw.js → ripgrep-p05254f8.js} +11 -11
- package/dist/chunks/{schema-qjnxxf51.js → ripgrep-p1nm93x7.js} +5 -5
- package/dist/chunks/{schema-e32rp4rx.js → ripgrep-p39gsrf5.js} +41 -41
- package/dist/chunks/{schema-52vmy6ww.js → ripgrep-p8xjr5qr.js} +17 -17
- package/dist/chunks/{schema-fkfyjdkw.js → ripgrep-pa2d04qg.js} +4 -4
- package/dist/chunks/{schema-9wy6gd4a.js → ripgrep-pa6447g9.js} +22 -22
- package/dist/chunks/{schema-yq2cczkq.js → ripgrep-pjedbq3k.js} +9 -9
- package/dist/chunks/{schema-12z81zg4.js → ripgrep-pjerk14q.js} +41 -41
- package/dist/chunks/{schema-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{schema-2627m7vs.js → ripgrep-prwn914c.js} +30 -23
- package/dist/chunks/{schema-wd3x2cqz.js → ripgrep-psazpmmj.js} +2 -2
- package/dist/chunks/{schema-k5gcqnqh.js → ripgrep-pyrtyedv.js} +11 -11
- package/dist/chunks/{schema-a79446ya.js → ripgrep-pzz9wtjp.js} +4 -4
- package/dist/chunks/{schema-6cbh3zce.js → ripgrep-q68zcp6s.js} +15 -15
- package/dist/chunks/{schema-y853g6y0.js → ripgrep-qfhyjwmh.js} +4 -4
- package/dist/chunks/{schema-drwq78ky.js → ripgrep-qqeeq2t9.js} +7 -7
- package/dist/chunks/{schema-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-3ybey094.js → ripgrep-qsjn5gcs.js} +11 -11
- package/dist/chunks/{schema-9m6r901m.js → ripgrep-qwk9htef.js} +9 -9
- package/dist/chunks/{schema-jjq7exv6.js → ripgrep-r36g8kg2.js} +15 -15
- package/dist/chunks/{schema-t4wzjz2c.js → ripgrep-r4tkwkgd.js} +3 -3
- package/dist/chunks/{schema-vv4dp7ce.js → ripgrep-r7xja54h.js} +11 -11
- package/dist/chunks/{schema-9vhpts05.js → ripgrep-rd8q201w.js} +12 -12
- package/dist/chunks/{schema-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-8kn7kdrq.js → ripgrep-rpwtn2yk.js} +18 -18
- package/dist/chunks/{schema-rxcwgxqf.js → ripgrep-rvtvfpzy.js} +6 -6
- package/dist/chunks/{schema-jmanypz0.js → ripgrep-rwk8kepb.js} +59 -37
- package/dist/chunks/{schema-5825hswr.js → ripgrep-s3ndjw50.js} +8 -8
- package/dist/chunks/{schema-yrznvahk.js → ripgrep-s4enseaf.js} +2 -2
- package/dist/chunks/{schema-8fsqd879.js → ripgrep-s8vezypb.js} +25 -25
- package/dist/chunks/{schema-1yb3x3z9.js → ripgrep-sdgam4xr.js} +1 -1
- package/dist/chunks/{schema-r3ryr6td.js → ripgrep-se19vg8t.js} +31 -31
- package/dist/chunks/{schema-qg2cf98c.js → ripgrep-sf4xqwvj.js} +14 -14
- package/dist/chunks/{schema-0mc57tk4.js → ripgrep-sg3rx6b8.js} +24 -24
- package/dist/chunks/{schema-cfefqghv.js → ripgrep-smcq1pfk.js} +10 -10
- package/dist/chunks/{schema-9tkzcje5.js → ripgrep-sr8ycrw9.js} +13 -13
- package/dist/chunks/{schema-hn57h045.js → ripgrep-t2az9yje.js} +4 -4
- package/dist/chunks/{schema-rhjbct0v.js → ripgrep-t550f9t1.js} +4 -4
- package/dist/chunks/{schema-4twmxjga.js → ripgrep-t6jhp5yk.js} +42 -42
- package/dist/chunks/{schema-eh37g602.js → ripgrep-t6zs6zyr.js} +5 -5
- package/dist/chunks/{schema-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{schema-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{schema-m0r31qfn.js → ripgrep-tfzngn12.js} +4 -4
- package/dist/chunks/{schema-197cy8dq.js → ripgrep-tgh33bte.js} +12 -12
- package/dist/chunks/{schema-k3ztb1qz.js → ripgrep-tgqx6wbb.js} +5 -5
- package/dist/chunks/{schema-spdety1y.js → ripgrep-tnwzh9w1.js} +16 -16
- package/dist/chunks/{schema-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-fze10tzj.js → ripgrep-txehjzrx.js} +22 -22
- package/dist/chunks/{schema-tfvhzp6w.js → ripgrep-v0rxv5z8.js} +93 -93
- package/dist/chunks/{schema-5q4kjq47.js → ripgrep-v121z1z6.js} +3 -3
- package/dist/chunks/{schema-xc7gs73k.js → ripgrep-v6f2zkdc.js} +32 -32
- package/dist/chunks/{schema-v7ytqzq6.js → ripgrep-v8kmpyqg.js} +20 -20
- package/dist/chunks/{schema-nvexbzn8.js → ripgrep-v9tf4bbz.js} +25 -25
- package/dist/chunks/{schema-sm1zfatk.js → ripgrep-vcctfkdr.js} +21 -21
- package/dist/chunks/{schema-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-qyvq79sc.js → ripgrep-vf281y08.js} +11 -11
- package/dist/chunks/ripgrep-vktw4pze.js +65 -0
- package/dist/chunks/{schema-jztemdeq.js → ripgrep-vm695x1h.js} +24 -24
- package/dist/chunks/{schema-y6gmj16h.js → ripgrep-vpdv8epx.js} +24 -24
- package/dist/chunks/{schema-wzgg19r1.js → ripgrep-vpq7wwjy.js} +9 -10
- package/dist/chunks/{schema-nbzsj80d.js → ripgrep-vyrd71eq.js} +11 -11
- package/dist/chunks/{schema-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-a7bcxdzj.js → ripgrep-w3jg838k.js} +9 -9
- package/dist/chunks/{schema-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-k6yq57aq.js → ripgrep-w52wajpr.js} +3 -3
- package/dist/chunks/{schema-csnqga4f.js → ripgrep-w8qr023e.js} +25 -25
- package/dist/chunks/{schema-jbp9wfgd.js → ripgrep-wc7bkbrs.js} +9 -9
- package/dist/chunks/{schema-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{schema-2azgrrcp.js → ripgrep-wnbq8dq2.js} +21 -21
- package/dist/chunks/{schema-6yy39kvx.js → ripgrep-wpj1vscs.js} +16 -16
- package/dist/chunks/ripgrep-wrw0pdsr.js +669 -0
- package/dist/chunks/{schema-aewz2adp.js → ripgrep-ws4630vh.js} +13 -13
- package/dist/chunks/{schema-f59qmhat.js → ripgrep-wws8y0j5.js} +7 -7
- package/dist/chunks/{schema-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-507gpz5w.js → ripgrep-xd3pt1yp.js} +3 -3
- package/dist/chunks/{schema-b6q25pdb.js → ripgrep-xgw0etvz.js} +2 -2
- package/dist/chunks/{schema-dmqcgk4z.js → ripgrep-xkntkrq7.js} +5 -5
- package/dist/chunks/{schema-9cjj4wa1.js → ripgrep-xyv2nnj9.js} +23 -23
- package/dist/chunks/{schema-9f1sykhs.js → ripgrep-y01t92x8.js} +47 -47
- package/dist/chunks/{schema-n72gykqt.js → ripgrep-y18nyng0.js} +30 -30
- package/dist/chunks/{schema-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-258tza17.js → ripgrep-y38ja4bc.js} +6 -6
- package/dist/chunks/{schema-z15n6anb.js → ripgrep-y3fm06sq.js} +5 -5
- package/dist/chunks/{schema-24mn6ts6.js → ripgrep-y5y40sn1.js} +20 -20
- package/dist/chunks/{schema-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{schema-11etax81.js → ripgrep-y7x7h62n.js} +17 -17
- package/dist/chunks/{schema-a5mtmafw.js → ripgrep-ybn4q7y2.js} +20 -20
- package/dist/chunks/{schema-t7c95w3a.js → ripgrep-ygfh7z4x.js} +23 -23
- package/dist/chunks/{schema-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-jns15vzr.js → ripgrep-ysddpjww.js} +6 -6
- package/dist/chunks/{schema-3pe7sts8.js → ripgrep-ywkfy99j.js} +8 -8
- package/dist/chunks/{schema-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-pkyn48ss.js → ripgrep-z3k649yd.js} +316 -320
- package/dist/chunks/{schema-t7xz7709.js → ripgrep-z8fqh70m.js} +27 -27
- package/dist/chunks/{schema-95e3es41.js → ripgrep-zb4s847t.js} +7 -7
- package/dist/chunks/{schema-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-428cwm86.js → ripgrep-zf7qa2ng.js} +56 -56
- package/dist/chunks/{schema-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-0145jres.js → ripgrep-zs8srxkn.js} +24 -24
- package/dist/chunks/{schema-511kpayd.js → ripgrep-ztychdw2.js} +18 -18
- package/dist/chunks/{schema-722kb1xk.js → ripgrep-zv0jyrj3.js} +5 -5
- package/dist/chunks/{schema-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/chunks/{schema-db7z9sqm.js → ripgrep-zyft68ff.js} +3 -3
- 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 +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -212
- package/dist/config/plugin/compaction.js +161 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +72 -72
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +104 -106
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +8 -8
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -360
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -110
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +80 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +110 -110
- package/dist/model.js +98 -98
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +224 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -94
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +8 -0
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +141 -142
- package/dist/session/context.js +153 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +8 -10
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -223
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -110
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +5 -117
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -218
- 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 +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/file-access.d.ts +0 -5
- package/dist/types/git.d.ts +2 -2
- package/dist/types/instructions/builtins.d.ts +1 -2
- package/dist/types/location-services.d.ts +0 -1
- package/dist/types/location.d.ts +1 -3
- package/dist/types/mcp/index.d.ts +0 -12
- package/dist/types/project.d.ts +1 -3
- package/dist/types/pty/ticket.d.ts +2 -2
- package/dist/types/pty.d.ts +11 -6
- package/dist/types/session/affinity.d.ts +4 -0
- package/dist/types/session/compaction.d.ts +35 -55
- package/dist/types/session/diff.d.ts +1 -7
- package/dist/types/session/error.d.ts +0 -4
- package/dist/types/session/model-request.d.ts +5 -0
- package/dist/types/session/revert.d.ts +1 -7
- package/dist/types/session/runner/index.d.ts +2 -2
- package/dist/types/session/runner/model.d.ts +0 -12
- package/dist/types/session/runner/retry.d.ts +2 -7
- package/dist/types/session/session.d.ts +1 -7
- package/dist/types/snapshot.d.ts +2 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -14
- package/dist/chunks/schema-03mttfrd.js +0 -26
- package/dist/chunks/schema-0bhmdfn5.js +0 -63
- package/dist/chunks/schema-5dggn2va.js +0 -252
- package/dist/chunks/schema-6kdq0pjd.js +0 -4
- package/dist/chunks/schema-ack3exs3.js +0 -39
- package/dist/chunks/schema-mpjr2ekw.js +0 -624
- package/dist/chunks/schema-rrxec99e.js +0 -326
- package/dist/chunks/schema-v1faaxn9.js +0 -18
- package/dist/file.js +0 -16
- package/dist/location-mutation.js +0 -118
- package/dist/plugin/compaction.js +0 -136
- package/dist/pty/schema.js +0 -6
- package/dist/types/file.d.ts +0 -9
- package/dist/types/location-mutation.d.ts +0 -3
- package/dist/types/plugin/compaction.d.ts +0 -3
- package/dist/types/pty/schema.d.ts +0 -1
- package/dist/types/util/array.d.ts +0 -1
- package/dist/types/util/process-lock-ffi.bun.d.ts +0 -12
- package/dist/types/util/process-lock-ffi.node.d.ts +0 -12
- package/dist/types/util/process-lock-ffi.workerd.d.ts +0 -12
- package/dist/types/util/process-lock.d.ts +0 -20
- package/dist/util/array.js +0 -12
- package/dist/util/process-lock-ffi.bun.js +0 -51
- package/dist/util/process-lock-ffi.node.js +0 -44
- package/dist/util/process-lock-ffi.workerd.js +0 -10
- package/dist/util/process-lock.js +0 -121
- /package/dist/chunks/{schema-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service72,
|
|
4
|
+
node74
|
|
5
|
+
} from "./ripgrep-keqxcydf.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,40 +12,40 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service71,
|
|
16
|
+
node73
|
|
17
|
+
} from "./ripgrep-fses9meq.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service61,
|
|
20
|
+
node63
|
|
21
|
+
} from "./ripgrep-r7xja54h.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID10,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service69,
|
|
27
|
+
node71
|
|
28
|
+
} from "./ripgrep-fzjz7zmc.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
35
35
|
__export(exports_model_resolver, {
|
|
36
36
|
InitializationPhase: () => InitializationPhase2,
|
|
37
|
-
ModelConfigurationError: () =>
|
|
38
|
-
ModelInitializationError: () =>
|
|
37
|
+
ModelConfigurationError: () => ModelConfigurationError2,
|
|
38
|
+
ModelInitializationError: () => ModelInitializationError2,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
41
|
-
UnresolvedProviderVariablesError: () =>
|
|
42
|
-
UnsupportedCompactionError: () =>
|
|
43
|
-
UnsupportedPackageError: () =>
|
|
44
|
-
VariantUnavailableError: () =>
|
|
40
|
+
Service: () => Service40,
|
|
41
|
+
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
42
|
+
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
43
|
+
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
44
|
+
VariantUnavailableError: () => VariantUnavailableError2,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer17,
|
|
48
|
+
node: () => node42,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -54,9 +54,9 @@ import { LanguageModel, ProviderConfigurationError } from "@opencode/ai";
|
|
|
54
54
|
import { Auth } from "@opencode/ai/route";
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
|
-
class
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
57
|
+
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
+
providerID: ID11,
|
|
59
|
+
modelID: ID10,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -64,9 +64,9 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
class
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
67
|
+
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
+
providerID: ID11,
|
|
69
|
+
modelID: ID10,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -75,9 +75,9 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
75
75
|
}
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
|
-
class
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
78
|
+
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
+
providerID: ID11,
|
|
80
|
+
modelID: ID10,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -86,9 +86,9 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
class
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
89
|
+
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
+
providerID: ID11,
|
|
91
|
+
modelID: ID10,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -98,9 +98,9 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
class
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
101
|
+
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
+
providerID: ID11,
|
|
103
|
+
modelID: ID10,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -108,9 +108,9 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
class
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
111
|
+
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
+
providerID: ID11,
|
|
113
|
+
modelID: ID10,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,13 +118,13 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service40 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
125
125
|
const variant = model.variants?.find((item) => item.id === id);
|
|
126
126
|
if (!variant && id !== undefined)
|
|
127
|
-
return Effect.fail(new
|
|
127
|
+
return Effect.fail(new VariantUnavailableError2({
|
|
128
128
|
providerID: model.providerID,
|
|
129
129
|
modelID: model.id,
|
|
130
130
|
variant: id
|
|
@@ -139,7 +139,7 @@ var withVariant2 = (model, variantID) => {
|
|
|
139
139
|
var fromCatalogModel2 = (model, credential, dependencies) => resolveCatalogModel(model, credential, dependencies).pipe(Effect.flatMap((resolved) => validateProviderVariables(model, resolved)), Effect.flatMap((resolved) => {
|
|
140
140
|
if (model.settings?.compaction?.type !== "native" || resolved.route.compact?.trigger || resolved.route.compact?.endpoint)
|
|
141
141
|
return Effect.succeed(resolved);
|
|
142
|
-
return Effect.fail(new
|
|
142
|
+
return Effect.fail(new UnsupportedCompactionError2({ providerID: model.providerID, modelID: model.id, route: resolved.route.id }));
|
|
143
143
|
}));
|
|
144
144
|
var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(function* (model, credential, dependencies) {
|
|
145
145
|
const resolved = prepareRuntimeModel(model, credential);
|
|
@@ -176,7 +176,7 @@ var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(functio
|
|
|
176
176
|
compatibility: resolved.compatibility ? Object.assign({}, runtime.compatibility, resolved.compatibility) : runtime.compatibility
|
|
177
177
|
});
|
|
178
178
|
},
|
|
179
|
-
catch: (cause) => cause instanceof ProviderConfigurationError ? new
|
|
179
|
+
catch: (cause) => cause instanceof ProviderConfigurationError ? new ModelConfigurationError2({
|
|
180
180
|
providerID: resolved.providerID,
|
|
181
181
|
modelID: resolved.id,
|
|
182
182
|
package: resolved.package ?? "unknown",
|
|
@@ -217,7 +217,7 @@ function unresolvedProviderVariables(model, baseURL) {
|
|
|
217
217
|
const variables = new Set(Array.from(baseURL.matchAll(/\$\{([^}]+)\}/g), (match) => match[1]));
|
|
218
218
|
if (variables.size === 0)
|
|
219
219
|
return;
|
|
220
|
-
return new
|
|
220
|
+
return new UnresolvedProviderVariablesError2({
|
|
221
221
|
providerID: model.providerID,
|
|
222
222
|
modelID: model.id,
|
|
223
223
|
variables: Array.from(variables)
|
|
@@ -234,12 +234,12 @@ var nativeCredentialSettings = (specifier, credential) => {
|
|
|
234
234
|
return { accessToken: credential.access };
|
|
235
235
|
return { apiKey: credential.access };
|
|
236
236
|
};
|
|
237
|
-
var unsupported = (model) => new
|
|
237
|
+
var unsupported = (model) => new UnsupportedPackageError2({
|
|
238
238
|
providerID: model.providerID,
|
|
239
239
|
modelID: model.id,
|
|
240
240
|
package: model.package ?? "unknown"
|
|
241
241
|
});
|
|
242
|
-
var initialization = (model, phase, cause) => new
|
|
242
|
+
var initialization = (model, phase, cause) => new ModelInitializationError2({
|
|
243
243
|
providerID: model.providerID,
|
|
244
244
|
modelID: model.id,
|
|
245
245
|
package: model.package ?? "unknown",
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service71;
|
|
263
|
+
const models = yield* Service69;
|
|
264
|
+
const integrations = yield* Service72;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service61;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -293,7 +293,7 @@ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service40.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
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(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
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/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node42 = makeLocationNode({
|
|
314
|
+
service: Service40,
|
|
315
|
+
layer: layer17,
|
|
316
|
+
deps: [node73, node71, node74, Npm.node, node63]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service40, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer17, node42, exports_model_resolver };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service84,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-sf4xqwvj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service83,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-jyx4k4a6.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event19,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID13,
|
|
25
|
+
Info: () => Info29,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service73,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node75
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID13 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
41
|
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID13,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service73 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service84).db;
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info29({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service73.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info29({
|
|
80
|
+
id: ID13.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -193,6 +193,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node75 = makeGlobalNode({ service: Service73, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID13, OAuth3, Key4, Value2, Event19, Info29, Service73, node75, exports_credential };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service8,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node10
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service8 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node10 = makeLocationNode({
|
|
19
|
+
service: Service8,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service8, Service8.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service8, node10, bound2, exports_instance2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./ripgrep-sf4xqwvj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./ripgrep-jyx4k4a6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service35
|
|
9
|
+
} from "./ripgrep-cdm0dq9n.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError7,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-e6q37ddf.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service52
|
|
29
|
+
} from "./ripgrep-mtndfwk2.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service33
|
|
34
|
+
} from "./ripgrep-5qt97ybp.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service31
|
|
37
|
+
} from "./ripgrep-gjepqxj6.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./ripgrep-tnwzh9w1.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./ripgrep-w8qr023e.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./ripgrep-wc7bkbrs.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./ripgrep-98cnr0ek.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
-
const bus = yield*
|
|
67
|
-
const database = yield*
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
66
|
+
const bus = yield* Service83;
|
|
67
|
+
const database = yield* Service84;
|
|
68
|
+
const store = yield* Service52;
|
|
69
|
+
const instances = yield* Service35;
|
|
70
|
+
const execution = yield* Service31;
|
|
71
|
+
const admission = yield* Service33;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError7({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service35, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service35, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service35, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service35, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service35, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./ripgrep-87ppwq26.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service66
|
|
9
|
+
} from "./ripgrep-gn9knv9y.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-bj8n3aze.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin8
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin8 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service66;
|
|
35
|
+
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin8, exports_reference };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|