@opencode/core 2.0.18 → 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 +79 -79
- 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/{config-q1x6b938.js → ripgrep-01g11k9t.js} +18 -18
- package/dist/chunks/{config-gk47d069.js → ripgrep-02cm5gdc.js} +8 -8
- package/dist/chunks/{config-89e39zcy.js → ripgrep-0gaj4617.js} +6 -6
- package/dist/chunks/{config-dkhzmzfr.js → ripgrep-0mx2aapc.js} +10 -10
- package/dist/chunks/{config-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-fcxyj98j.js → ripgrep-0tkrsm5y.js} +14 -14
- package/dist/chunks/{config-n48ygd7x.js → ripgrep-0z0qdp4f.js} +57 -57
- package/dist/chunks/{config-rtyr3d5h.js → ripgrep-18rbsmj0.js} +22 -22
- package/dist/chunks/{config-p37cw4rj.js → ripgrep-1ajx6rf5.js} +8 -8
- package/dist/chunks/{config-9qsysn39.js → ripgrep-1ap17en5.js} +31 -31
- package/dist/chunks/{config-tp6xq29j.js → ripgrep-1cwrqxta.js} +11 -11
- package/dist/chunks/{config-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-8f36rj9w.js → ripgrep-1gq8q7z3.js} +34 -34
- package/dist/chunks/{config-f1cyf21v.js → ripgrep-1n7xvyes.js} +6 -6
- package/dist/chunks/{config-7scxvj8s.js → ripgrep-1qny0ng8.js} +16 -16
- package/dist/chunks/{config-ps3c5a77.js → ripgrep-1sxym04w.js} +24 -24
- package/dist/chunks/ripgrep-1x11rq2a.js +18 -0
- package/dist/chunks/{config-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{config-29x78va6.js → ripgrep-29x78va6.js} +2 -2
- package/dist/chunks/{config-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-ns9f5mpe.js → ripgrep-2djhngnv.js} +8 -8
- package/dist/chunks/{config-8tkazwjn.js → ripgrep-2vjymgz4.js} +11 -11
- package/dist/chunks/{config-wc11ar0g.js → ripgrep-35qaqz32.js} +28 -28
- package/dist/chunks/{config-ym52mge9.js → ripgrep-36zg1nxf.js} +25 -25
- package/dist/chunks/{config-nrp9mwhy.js → ripgrep-39z47dss.js} +18 -18
- package/dist/chunks/{config-z3pw5915.js → ripgrep-3cfzdc8e.js} +5 -5
- package/dist/chunks/{config-2et2b5t1.js → ripgrep-3crkzcp9.js} +47 -43
- package/dist/chunks/{config-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-tc1k9s7e.js → ripgrep-3ny1h4te.js} +15 -15
- package/dist/chunks/{config-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-ec87pa6m.js → ripgrep-3xwj4cta.js} +35 -35
- package/dist/chunks/{config-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-ryg0g705.js → ripgrep-45gjfn9y.js} +8 -8
- package/dist/chunks/{config-4dgbcxzg.js → ripgrep-4dgbcxzg.js} +1 -1
- package/dist/chunks/{config-kb6gw2zp.js → ripgrep-4nzwy074.js} +4 -4
- package/dist/chunks/{config-w3xn08qs.js → ripgrep-4przf6dn.js} +23 -24
- package/dist/chunks/{config-eny9hzm2.js → ripgrep-50epje6z.js} +33 -30
- package/dist/chunks/{config-7x4zjys8.js → ripgrep-513gj428.js} +6 -6
- package/dist/chunks/ripgrep-54ma36ye.js +13 -0
- package/dist/chunks/{config-t8f87mm7.js → ripgrep-54nwp9r7.js} +28 -28
- package/dist/chunks/{config-54tcyq79.js → ripgrep-54tcyq79.js} +2 -2
- package/dist/chunks/{config-5y480sgp.js → ripgrep-54zxgqzr.js} +8 -8
- package/dist/chunks/{config-8rphz8m2.js → ripgrep-560t4d1v.js} +9 -4
- package/dist/chunks/{config-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{config-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{config-1rn5pcm9.js → ripgrep-5dkn69vz.js} +4 -4
- package/dist/chunks/{config-7stqpyhf.js → ripgrep-5qt97ybp.js} +22 -22
- package/dist/chunks/{config-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{config-e99cgfzf.js → ripgrep-6ap5qy5h.js} +20 -20
- package/dist/chunks/{config-2hc37sbw.js → ripgrep-6d4369ev.js} +3 -3
- package/dist/chunks/{config-pfdzsptj.js → ripgrep-6e52v1r2.js} +13 -13
- package/dist/chunks/{config-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-4xsr0mw7.js → ripgrep-6v71ddka.js} +20 -20
- package/dist/chunks/{config-54k57k4f.js → ripgrep-717rh1cx.js} +9 -9
- package/dist/chunks/{config-1bbkgx8g.js → ripgrep-73tb2d7t.js} +3 -3
- package/dist/chunks/{config-bk7jaeqh.js → ripgrep-784hb5j4.js} +4 -4
- package/dist/chunks/{config-m7ph8gga.js → ripgrep-7962e3yf.js} +18 -18
- package/dist/chunks/{config-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-snayvj24.js → ripgrep-7d3cxzax.js} +18 -18
- package/dist/chunks/{config-2k8khapm.js → ripgrep-7dqw4kz8.js} +5 -5
- package/dist/chunks/{config-3vahvevh.js → ripgrep-7rhad128.js} +21 -21
- package/dist/chunks/{config-vvzwpmq1.js → ripgrep-7rkndmtb.js} +12 -12
- package/dist/chunks/{config-aw9tbzfk.js → ripgrep-7zx59yv5.js} +13 -13
- package/dist/chunks/{config-6h73sxmp.js → ripgrep-84txncab.js} +6 -6
- package/dist/chunks/{config-vyy061a2.js → ripgrep-87ppwq26.js} +11 -11
- package/dist/chunks/{config-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-tats7t1r.js → ripgrep-8v662a6s.js} +19 -19
- package/dist/chunks/{config-y3bfqnys.js → ripgrep-8zh4h089.js} +7 -52
- package/dist/chunks/{config-pezzyds3.js → ripgrep-90x597dq.js} +1 -1
- package/dist/chunks/{config-srrn7w60.js → ripgrep-921pky8x.js} +29 -29
- package/dist/chunks/{config-e661jwrm.js → ripgrep-92b1hf4n.js} +35 -35
- package/dist/chunks/{config-vtnt34eh.js → ripgrep-966px1fx.js} +11 -11
- package/dist/chunks/{config-rvtd2wnf.js → ripgrep-98cnr0ek.js} +9 -9
- package/dist/chunks/{config-bamqybry.js → ripgrep-9dt30ddd.js} +22 -22
- package/dist/chunks/{config-7tpxex51.js → ripgrep-9eq5kwq7.js} +6 -6
- package/dist/chunks/{config-vgpkvtp0.js → ripgrep-9gz1cjgc.js} +44 -44
- package/dist/chunks/{config-vhs69wxs.js → ripgrep-9q5cvpmr.js} +28 -28
- package/dist/chunks/{config-a8npfn97.js → ripgrep-a1fqa279.js} +4 -4
- package/dist/chunks/{config-znr04804.js → ripgrep-a4pew0st.js} +40 -42
- package/dist/chunks/{config-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{config-prtbkahx.js → ripgrep-amncynrr.js} +4 -4
- package/dist/chunks/{config-hs7fxsaf.js → ripgrep-asw9yjte.js} +20 -20
- package/dist/chunks/{config-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-1a6p2twq.js → ripgrep-bf0ztrs3.js} +4 -4
- package/dist/chunks/{config-73b9b00p.js → ripgrep-bj8n3aze.js} +23 -23
- package/dist/chunks/{config-fyxb352w.js → ripgrep-bjj0bk6b.js} +28 -17
- package/dist/chunks/{config-bjtzbw4r.js → ripgrep-bjtzbw4r.js} +3 -3
- package/dist/chunks/{config-j494hfxr.js → ripgrep-bmw6bt9k.js} +9 -9
- package/dist/chunks/{config-skwjfd4r.js → ripgrep-bqypnsdg.js} +19 -19
- package/dist/chunks/{config-qnzd3xnt.js → ripgrep-bvbkwbsh.js} +15 -15
- package/dist/chunks/ripgrep-by268fe6.js +252 -0
- package/dist/chunks/{config-2a6rn6yr.js → ripgrep-cdm0dq9n.js} +6 -6
- package/dist/chunks/{config-j2eqxf48.js → ripgrep-cew5j6w6.js} +12 -12
- package/dist/chunks/{config-xj0fc6en.js → ripgrep-chcvj6mx.js} +27 -27
- package/dist/chunks/{config-k1qb6em6.js → ripgrep-cvmm0xs5.js} +10 -10
- package/dist/chunks/{config-gjwgx2c5.js → ripgrep-cwa6csj7.js} +9 -9
- package/dist/chunks/{config-af04s6ss.js → ripgrep-d2aac7k2.js} +5 -5
- package/dist/chunks/ripgrep-d3qdrwa5.js +326 -0
- package/dist/chunks/{config-afx4yczm.js → ripgrep-d6gxwvxg.js} +10 -10
- package/dist/chunks/{config-rqzxc8xy.js → ripgrep-d8j7dsnb.js} +8 -8
- package/dist/chunks/{config-esq1xh3y.js → ripgrep-dhtd5fdm.js} +11 -11
- package/dist/chunks/{config-c716n2s3.js → ripgrep-dkmyvpj5.js} +23 -23
- package/dist/chunks/ripgrep-dneah854.js +26 -0
- package/dist/chunks/{config-xg3yvpnd.js → ripgrep-dxh6ecs0.js} +5 -5
- package/dist/chunks/{config-ersz45vm.js → ripgrep-dym78pc8.js} +6 -6
- package/dist/chunks/{config-rhfptez1.js → ripgrep-e5v6sjzq.js} +10 -10
- package/dist/chunks/{config-7h7s3rmt.js → ripgrep-e6q37ddf.js} +5 -12
- package/dist/chunks/{config-04zc2vp5.js → ripgrep-ec07y9k9.js} +21 -21
- package/dist/chunks/{config-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{config-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-b2s03exd.js → ripgrep-ef8r30dj.js} +26 -26
- package/dist/chunks/{config-1q5awywt.js → ripgrep-engkm2d6.js} +5 -5
- package/dist/chunks/{config-e2skv07x.js → ripgrep-ervy3t4x.js} +10 -10
- package/dist/chunks/{config-skyvxmsg.js → ripgrep-eszpxc5c.js} +5 -5
- package/dist/chunks/{config-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-9tndjada.js → ripgrep-eybctzj2.js} +24 -24
- package/dist/chunks/{config-q9s91avz.js → ripgrep-f1mz2x80.js} +19 -19
- package/dist/chunks/{config-yp2x3t23.js → ripgrep-f2n192rq.js} +4 -4
- package/dist/chunks/{config-e1e12dvt.js → ripgrep-f5fzvqmp.js} +16 -22
- package/dist/chunks/{config-5zdms79f.js → ripgrep-f8ys8j9y.js} +13 -31
- package/dist/chunks/{config-mtac1b2j.js → ripgrep-f960svv2.js} +11 -11
- package/dist/chunks/{config-zem25z6r.js → ripgrep-fa7h6qtp.js} +8 -8
- package/dist/chunks/{config-11jgdds2.js → ripgrep-fgmy5dam.js} +28 -28
- package/dist/chunks/{config-fm2qvscf.js → ripgrep-fm2qvscf.js} +1 -1
- package/dist/chunks/{config-zrq68ahz.js → ripgrep-fses9meq.js} +20 -20
- package/dist/chunks/{config-2e655exz.js → ripgrep-fzjz7zmc.js} +25 -25
- package/dist/chunks/{config-7b474h0v.js → ripgrep-g5pjqc12.js} +16 -16
- package/dist/chunks/{config-cmkj70ft.js → ripgrep-gafqwe43.js} +2 -2
- package/dist/chunks/{config-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-qs9wxzz9.js → ripgrep-gfm6y7px.js} +104 -109
- package/dist/chunks/{config-gfvb90ym.js → ripgrep-gfvb90ym.js} +2 -2
- package/dist/chunks/{config-n7rkyrxw.js → ripgrep-gfwqm0th.js} +30 -31
- package/dist/chunks/{config-y8cm73x9.js → ripgrep-gjepqxj6.js} +39 -45
- package/dist/chunks/{config-9b1g8vzp.js → ripgrep-gn9knv9y.js} +43 -43
- package/dist/chunks/{config-b7j7903f.js → ripgrep-gpj7vvxj.js} +8 -8
- package/dist/chunks/{config-cnpz928v.js → ripgrep-gr9s2h9h.js} +11 -11
- package/dist/chunks/{config-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-0bywbddq.js → ripgrep-h204n497.js} +6 -6
- package/dist/chunks/{config-xsfszxna.js → ripgrep-h5w29vws.js} +12 -10
- package/dist/chunks/{config-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-0jq9fyba.js → ripgrep-h71w788e.js} +9 -9
- package/dist/chunks/{config-fzbr8qt8.js → ripgrep-hcxgq10m.js} +48 -48
- package/dist/chunks/{config-rxswhrhz.js → ripgrep-hpgwsqwz.js} +9 -9
- package/dist/chunks/{config-mb8kb6b0.js → ripgrep-hq3kn9m3.js} +9 -9
- package/dist/chunks/{config-8sg23ezv.js → ripgrep-hrj2emtv.js} +4 -4
- package/dist/chunks/{config-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{config-05bqk399.js → ripgrep-jb2d75z1.js} +11 -11
- package/dist/chunks/{config-t363gy9t.js → ripgrep-jceb99ws.js} +13 -13
- package/dist/chunks/{config-v9bnqwg0.js → ripgrep-jjyafwrj.js} +13 -13
- package/dist/chunks/{config-9c3np669.js → ripgrep-jkka0c6f.js} +8 -8
- package/dist/chunks/{config-zyp346xr.js → ripgrep-jtj8yee2.js} +84 -84
- package/dist/chunks/{config-6pc27hjz.js → ripgrep-jws6fkes.js} +4 -4
- package/dist/chunks/{config-vhejgqwc.js → ripgrep-jyx4k4a6.js} +11 -11
- package/dist/chunks/{config-0xqyf95c.js → ripgrep-k0a3z2qz.js} +4 -4
- package/dist/chunks/{config-fj89mqte.js → ripgrep-k5f615bv.js} +10 -10
- package/dist/chunks/{config-ggv4pg5y.js → ripgrep-kasa1exf.js} +19 -19
- package/dist/chunks/{config-vaz5h5qv.js → ripgrep-keqxcydf.js} +16 -16
- package/dist/chunks/{config-kk00bynn.js → ripgrep-kk00bynn.js} +1 -1
- package/dist/chunks/{config-76n1dez8.js → ripgrep-kv68fk3j.js} +168 -168
- package/dist/chunks/{config-t8025hmx.js → ripgrep-kxhj4mfa.js} +11 -11
- package/dist/chunks/{config-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-ss8hthz7.js → ripgrep-m3ra8jyf.js} +15 -15
- package/dist/chunks/{config-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-d9ymz6xc.js → ripgrep-meaywfr2.js} +30 -25
- package/dist/chunks/{config-mfqp6xfm.js → ripgrep-mfqp6xfm.js} +2 -2
- package/dist/chunks/{config-fw2v9256.js → ripgrep-mgq5nv3e.js} +8 -8
- package/dist/chunks/{config-fv2tfa25.js → ripgrep-mmq917w3.js} +11 -11
- package/dist/chunks/{config-sd0msgcy.js → ripgrep-mtndfwk2.js} +13 -13
- package/dist/chunks/{config-j7k7jnd5.js → ripgrep-n8c1xpsf.js} +41 -41
- package/dist/chunks/{config-mfj0244x.js → ripgrep-ncxf1vrd.js} +5 -5
- package/dist/chunks/{config-119mbqs2.js → ripgrep-ngmgdt3b.js} +15 -15
- package/dist/chunks/{config-569zmx9y.js → ripgrep-nqp5g4n1.js} +15 -15
- package/dist/chunks/{config-yr87qc76.js → ripgrep-nrzkffvv.js} +11 -11
- package/dist/chunks/{config-0ft8826h.js → ripgrep-nt8bmh2c.js} +7 -7
- package/dist/chunks/{config-reg6q42h.js → ripgrep-nyqx1cb3.js} +5 -5
- package/dist/chunks/{config-k3c624dm.js → ripgrep-nzks3jc8.js} +3 -3
- package/dist/chunks/{config-e4qtjjxk.js → ripgrep-p05254f8.js} +11 -11
- package/dist/chunks/{config-qte5z7bc.js → ripgrep-p1nm93x7.js} +5 -5
- package/dist/chunks/{config-g3aybqrd.js → ripgrep-p39gsrf5.js} +26 -26
- package/dist/chunks/{config-30xg31xn.js → ripgrep-p8xjr5qr.js} +17 -17
- package/dist/chunks/{config-zksvc5kg.js → ripgrep-pa2d04qg.js} +4 -4
- package/dist/chunks/{config-fy2b1gyq.js → ripgrep-pa6447g9.js} +17 -17
- package/dist/chunks/{config-nca7p386.js → ripgrep-pjedbq3k.js} +4 -4
- package/dist/chunks/{config-446vgdts.js → ripgrep-pjerk14q.js} +40 -40
- package/dist/chunks/{config-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{config-q3yb1nc4.js → ripgrep-prwn914c.js} +28 -21
- package/dist/chunks/{config-psazpmmj.js → ripgrep-psazpmmj.js} +2 -2
- package/dist/chunks/{config-e8eyz9xb.js → ripgrep-pyrtyedv.js} +11 -11
- package/dist/chunks/{config-nfc98c1n.js → ripgrep-pzz9wtjp.js} +4 -4
- package/dist/chunks/{config-gk30pdy3.js → ripgrep-q68zcp6s.js} +13 -13
- package/dist/chunks/{config-ssnwrf24.js → ripgrep-qfhyjwmh.js} +4 -4
- package/dist/chunks/{config-drwq78ky.js → ripgrep-qqeeq2t9.js} +7 -7
- package/dist/chunks/{config-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{config-9dh8p3yq.js → ripgrep-qsjn5gcs.js} +8 -8
- package/dist/chunks/{config-jshcwjky.js → ripgrep-qwk9htef.js} +9 -9
- package/dist/chunks/{config-csak4zkz.js → ripgrep-r36g8kg2.js} +15 -15
- package/dist/chunks/{config-s72nwfj1.js → ripgrep-r4tkwkgd.js} +3 -3
- package/dist/chunks/{config-ppzgkaaq.js → ripgrep-r7xja54h.js} +11 -11
- package/dist/chunks/{config-g4xer9vd.js → ripgrep-rd8q201w.js} +12 -12
- package/dist/chunks/{config-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-48y8hbvk.js → ripgrep-rpwtn2yk.js} +16 -16
- package/dist/chunks/{config-qe76k2zv.js → ripgrep-rvtvfpzy.js} +6 -6
- package/dist/chunks/{config-f390r7qs.js → ripgrep-rwk8kepb.js} +59 -37
- package/dist/chunks/{config-1djsvj3f.js → ripgrep-s3ndjw50.js} +8 -8
- package/dist/chunks/{config-s4enseaf.js → ripgrep-s4enseaf.js} +2 -2
- package/dist/chunks/{config-c738b566.js → ripgrep-s8vezypb.js} +26 -26
- package/dist/chunks/{config-rx4f2zay.js → ripgrep-sdgam4xr.js} +1 -1
- package/dist/chunks/{config-rp9m4jyb.js → ripgrep-se19vg8t.js} +31 -31
- package/dist/chunks/{config-yds56wag.js → ripgrep-sf4xqwvj.js} +11 -11
- package/dist/chunks/{config-954548m7.js → ripgrep-sg3rx6b8.js} +22 -22
- package/dist/chunks/{config-n6p4knm7.js → ripgrep-smcq1pfk.js} +10 -10
- package/dist/chunks/{config-zs6xvgsc.js → ripgrep-sr8ycrw9.js} +13 -13
- package/dist/chunks/{config-t7n9q6bq.js → ripgrep-t2az9yje.js} +4 -4
- package/dist/chunks/{config-rhjbct0v.js → ripgrep-t550f9t1.js} +4 -4
- package/dist/chunks/{config-191v1wnc.js → ripgrep-t6jhp5yk.js} +43 -43
- package/dist/chunks/{config-2k53mjpq.js → ripgrep-t6zs6zyr.js} +8 -8
- package/dist/chunks/{config-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-89znhe33.js → ripgrep-tcezcvh9.js} +4 -4
- package/dist/chunks/{config-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{config-y6mhz57t.js → ripgrep-tfzngn12.js} +4 -4
- package/dist/chunks/{config-az9r17tx.js → ripgrep-tgh33bte.js} +12 -12
- package/dist/chunks/{config-8pbmndb6.js → ripgrep-tgqx6wbb.js} +5 -5
- package/dist/chunks/{config-3e63sffq.js → ripgrep-tnwzh9w1.js} +16 -16
- package/dist/chunks/{config-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{config-h9y7vyse.js → ripgrep-txehjzrx.js} +9 -9
- package/dist/chunks/{config-sf0wnj4a.js → ripgrep-v0rxv5z8.js} +91 -91
- package/dist/chunks/{config-7nwbzwwg.js → ripgrep-v121z1z6.js} +3 -3
- package/dist/chunks/{config-5m3ds5v3.js → ripgrep-v6f2zkdc.js} +32 -32
- package/dist/chunks/{config-g18vhjxx.js → ripgrep-v8kmpyqg.js} +17 -17
- package/dist/chunks/{config-bq62zgmk.js → ripgrep-v9tf4bbz.js} +21 -21
- package/dist/chunks/{config-pd1wrm5b.js → ripgrep-vcctfkdr.js} +16 -16
- package/dist/chunks/{config-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{config-c67r6w9a.js → ripgrep-vf281y08.js} +11 -11
- package/dist/chunks/ripgrep-vktw4pze.js +65 -0
- package/dist/chunks/{config-h552mchj.js → ripgrep-vm695x1h.js} +23 -23
- package/dist/chunks/{config-817kbg2h.js → ripgrep-vpdv8epx.js} +17 -17
- package/dist/chunks/{config-scce0sjb.js → ripgrep-vpq7wwjy.js} +9 -10
- package/dist/chunks/{config-vyrd71eq.js → ripgrep-vyrd71eq.js} +3 -3
- package/dist/chunks/{config-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-2zmfhp2c.js → ripgrep-w3jg838k.js} +9 -9
- package/dist/chunks/{config-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-ba07h9gm.js → ripgrep-w52wajpr.js} +2 -2
- package/dist/chunks/{config-fk189pyz.js → ripgrep-w8qr023e.js} +20 -20
- package/dist/chunks/{config-kyw5qrb7.js → ripgrep-wc7bkbrs.js} +9 -9
- package/dist/chunks/{config-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{config-fkch5wba.js → ripgrep-wnbq8dq2.js} +22 -22
- package/dist/chunks/{config-crj6ha2h.js → ripgrep-wpj1vscs.js} +13 -13
- package/dist/chunks/ripgrep-wrw0pdsr.js +669 -0
- package/dist/chunks/{config-jkan4wa3.js → ripgrep-ws4630vh.js} +9 -9
- package/dist/chunks/{config-qwq1eq2j.js → ripgrep-wws8y0j5.js} +7 -7
- package/dist/chunks/{config-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-k35dwc4g.js → ripgrep-xd3pt1yp.js} +3 -3
- package/dist/chunks/{config-22h6bjd1.js → ripgrep-xgw0etvz.js} +2 -2
- package/dist/chunks/{config-dmqcgk4z.js → ripgrep-xkntkrq7.js} +5 -5
- package/dist/chunks/{config-64mjhprr.js → ripgrep-xyv2nnj9.js} +22 -22
- package/dist/chunks/{config-hbtt76ya.js → ripgrep-y01t92x8.js} +47 -47
- package/dist/chunks/{config-6g6zqj1k.js → ripgrep-y18nyng0.js} +28 -28
- package/dist/chunks/{config-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-ydgy0jv4.js → ripgrep-y38ja4bc.js} +6 -6
- package/dist/chunks/{config-gh5tebn4.js → ripgrep-y3fm06sq.js} +8 -8
- package/dist/chunks/{config-s0ehs66p.js → ripgrep-y5y40sn1.js} +18 -18
- package/dist/chunks/{config-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{config-cpfpew26.js → ripgrep-y7x7h62n.js} +16 -16
- package/dist/chunks/{config-knjpra5n.js → ripgrep-ybn4q7y2.js} +25 -25
- package/dist/chunks/{config-smj4rr9q.js → ripgrep-ygfh7z4x.js} +26 -26
- package/dist/chunks/{config-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-jpbcpdat.js → ripgrep-ysddpjww.js} +6 -6
- package/dist/chunks/{config-3pe7sts8.js → ripgrep-ywkfy99j.js} +8 -8
- package/dist/chunks/{config-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-8t2s61hj.js → ripgrep-z3k649yd.js} +314 -318
- package/dist/chunks/{config-kcmnw9z9.js → ripgrep-z8fqh70m.js} +25 -25
- package/dist/chunks/{config-erqh8das.js → ripgrep-zb4s847t.js} +7 -7
- package/dist/chunks/{config-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-6jrj4a7s.js → ripgrep-zf7qa2ng.js} +52 -52
- package/dist/chunks/{config-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-yw6qsgb4.js → ripgrep-zs8srxkn.js} +24 -24
- package/dist/chunks/{config-s16xw6kj.js → ripgrep-ztychdw2.js} +18 -18
- package/dist/chunks/{config-2zzff5mh.js → ripgrep-zv0jyrj3.js} +5 -5
- package/dist/chunks/{config-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/chunks/{config-hkzp38b2.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 +84 -84
- 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 +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +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 +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +79 -79
- 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 +76 -76
- 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 +226 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- 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 +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +133 -133
- 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 +106 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +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 +107 -107
- 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 +76 -76
- 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 +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +8 -8
- 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 +6 -6
- 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 +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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 +143 -144
- 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 +4 -6
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +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 +3 -3
- 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 +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -208
- 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 +218 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- 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 +220 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +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/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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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/config-0btnvdh1.js +0 -39
- package/dist/chunks/config-2synrjax.js +0 -326
- package/dist/chunks/config-4efk9qvj.js +0 -63
- package/dist/chunks/config-htk76k1w.js +0 -26
- package/dist/chunks/config-ph8yj3s6.js +0 -252
- package/dist/chunks/config-q3782nn3.js +0 -624
- package/dist/chunks/config-qapv375x.js +0 -4
- package/dist/chunks/config-qc068m1q.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/{config-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e3qxr5gk.js → ripgrep-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service60
|
|
4
|
+
} from "./ripgrep-8v662a6s.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service69
|
|
8
|
+
} from "./ripgrep-fzjz7zmc.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./ripgrep-gn9knv9y.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-w52wajpr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service38
|
|
18
|
+
} from "./ripgrep-p8xjr5qr.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service51
|
|
22
|
+
} from "./ripgrep-9gz1cjgc.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service18
|
|
25
|
+
} from "./ripgrep-jtj8yee2.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make9
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-02cm5gdc.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input9,
|
|
40
|
+
Output: () => Output6,
|
|
41
|
+
Plugin: () => Plugin45,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name9
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name9 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input9 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input11 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output6 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin45 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
92
|
+
const sessions = yield* Service18;
|
|
93
|
+
const jobs = yield* Service38;
|
|
94
|
+
const agents = yield* Service60;
|
|
95
|
+
const config = yield* Service66;
|
|
96
|
+
const permission = yield* Service51;
|
|
97
|
+
const models = yield* Service69;
|
|
98
98
|
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin49 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name9,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input9,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin49 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name9,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin49 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name9 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name9];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name9, Input9, Output6, description4, Plugin45, exports_subagent };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-2vjymgz4.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin24,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin24 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin20 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin20 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin24, exports_tavily };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names3() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names3, paths2, exports_protected };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin35,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin35 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin32 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin35, exports_identity };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-8v662a6s.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-9gz1cjgc.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin31
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin31 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin34 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID9.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin34 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID9.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin34 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin31, exports_agent2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./ripgrep-fses9meq.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID11.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./ripgrep-w3jg838k.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./ripgrep-cdm0dq9n.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-1x11rq2a.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service54
|
|
15
|
+
} from "./ripgrep-54zxgqzr.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-e6q37ddf.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service50
|
|
23
|
+
} from "./ripgrep-1sxym04w.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service35;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service54;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service50;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service44;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-fses9meq.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID10,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
10
|
Info25
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-fzjz7zmc.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID10.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -119,10 +119,10 @@ function build(id, remote, baseURL, previous) {
|
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
121
|
return Info25.make({
|
|
122
|
-
...Info25.default(
|
|
122
|
+
...Info25.default(ID11.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID10.make(remote.id),
|
|
125
|
+
providerID: ID11.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|