@opencode/core 0.0.0-dev-20048 → 0.0.0-dev-20050
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 +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{state-vgy9r72p.js → ripgrep-05dza9z3.js} +13 -13
- package/dist/chunks/{state-t11acq0z.js → ripgrep-09j1wten.js} +10 -10
- package/dist/chunks/{state-bjs2yq5f.js → ripgrep-0b9a3syv.js} +4 -4
- package/dist/chunks/{state-b5ts8e9j.js → ripgrep-0c7hyzvt.js} +27 -27
- package/dist/chunks/{state-rm6wncmf.js → ripgrep-0eb83wjd.js} +25 -25
- package/dist/chunks/{state-wpnzd8g9.js → ripgrep-0f59mhbe.js} +81 -81
- package/dist/chunks/{state-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-56dkfrzf.js → ripgrep-0pr3hkd7.js} +4 -4
- package/dist/chunks/{state-659vz1hh.js → ripgrep-0sgh8d45.js} +11 -11
- package/dist/chunks/{state-048mvh15.js → ripgrep-0wwq9p0h.js} +29 -29
- package/dist/chunks/{state-qv94b06t.js → ripgrep-14pzmvty.js} +8 -8
- package/dist/chunks/{state-s5y17vq3.js → ripgrep-16h2319r.js} +18 -18
- package/dist/chunks/{state-z4a2hn5h.js → ripgrep-1a9bc6ss.js} +13 -13
- package/dist/chunks/{state-f2n192rq.js → ripgrep-1acjjqhc.js} +4 -4
- package/dist/chunks/{state-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-6pcpef1g.js → ripgrep-1dkxveh1.js} +38 -38
- package/dist/chunks/{state-wgpw1z2m.js → ripgrep-1newhgc6.js} +21 -21
- package/dist/chunks/{state-zzktyp0b.js → ripgrep-1wfwk98z.js} +10 -10
- package/dist/chunks/{state-wa1e4jxq.js → ripgrep-1wss5ece.js} +8 -8
- package/dist/chunks/{state-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{state-pr15s9x7.js → ripgrep-237jz2dm.js} +4 -4
- package/dist/chunks/{state-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{state-z63w68vq.js → ripgrep-29x78va6.js} +6 -6
- package/dist/chunks/{state-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-6rzyxrbs.js → ripgrep-2ab5p2tv.js} +30 -30
- package/dist/chunks/{state-tgmyeeeq.js → ripgrep-2c5sxent.js} +5 -5
- package/dist/chunks/{state-hy85xjwn.js → ripgrep-2fcft0mp.js} +20 -20
- package/dist/chunks/{state-qnvmbtfx.js → ripgrep-2mnth441.js} +4 -4
- package/dist/chunks/{state-1fcrsx1q.js → ripgrep-2w5dyyz8.js} +8 -8
- package/dist/chunks/{state-ebwvn17w.js → ripgrep-2ygzq7an.js} +12 -12
- package/dist/chunks/{state-8pap4f00.js → ripgrep-31kr05fx.js} +11 -11
- package/dist/chunks/{state-9vtsvkk2.js → ripgrep-3eavv4sq.js} +6 -6
- package/dist/chunks/{state-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{state-xe3pxytk.js → ripgrep-4475gzjd.js} +6 -6
- package/dist/chunks/{state-e4n8ty8m.js → ripgrep-44wj9dtk.js} +5 -5
- package/dist/chunks/{state-dh7fhzye.js → ripgrep-45mv0mmk.js} +25 -25
- package/dist/chunks/{state-hj53m8my.js → ripgrep-4dre8h63.js} +48 -48
- package/dist/chunks/ripgrep-4v7qdvcn.js +18 -0
- package/dist/chunks/{state-b3x7v9y3.js → ripgrep-4xwkvhnj.js} +25 -25
- package/dist/chunks/{state-kwrhfw2b.js → ripgrep-4zwdaqgd.js} +43 -43
- package/dist/chunks/{state-hnr5yq9h.js → ripgrep-510m7gjw.js} +5 -5
- package/dist/chunks/{state-h2kxbj17.js → ripgrep-5168mhb0.js} +26 -26
- package/dist/chunks/{state-w0vds1sa.js → ripgrep-54frbgjx.js} +10 -10
- package/dist/chunks/{state-qsjxsvq7.js → ripgrep-563md3e9.js} +43 -43
- package/dist/chunks/{state-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{state-zs9646ss.js → ripgrep-59smysxg.js} +61 -61
- package/dist/chunks/{state-qp2982tz.js → ripgrep-5a6df3z5.js} +32 -32
- package/dist/chunks/{state-7b9kdrwd.js → ripgrep-5cgbbxx2.js} +26 -26
- package/dist/chunks/{state-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{state-5ekn9679.js → ripgrep-5ekn9679.js} +1 -1
- package/dist/chunks/{state-p9xq1f21.js → ripgrep-5h5gn2dz.js} +3 -3
- package/dist/chunks/{state-bc5edygd.js → ripgrep-5mtzsd3b.js} +4 -4
- package/dist/chunks/{state-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-2rfpmfe1.js → ripgrep-5v8ce13p.js} +40 -40
- package/dist/chunks/{state-9pyyqvsg.js → ripgrep-6564zykp.js} +34 -34
- package/dist/chunks/{state-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{state-1knck39s.js → ripgrep-6870w4kz.js} +13 -13
- package/dist/chunks/{state-2ehzxgs2.js → ripgrep-6m34trkv.js} +17 -17
- package/dist/chunks/{state-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-4yb9sg3q.js → ripgrep-6nvpmb1g.js} +20 -20
- package/dist/chunks/{state-xqxmyzxd.js → ripgrep-6wf2qcdr.js} +11 -11
- package/dist/chunks/{state-ydm09cmz.js → ripgrep-6xadn18s.js} +11 -11
- package/dist/chunks/{state-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-7b4th3wc.js → ripgrep-7h5xaqf5.js} +4 -4
- package/dist/chunks/{state-3gb4mbad.js → ripgrep-7hrpqjht.js} +171 -171
- package/dist/chunks/{state-ezrkp374.js → ripgrep-7jbn65n7.js} +21 -21
- package/dist/chunks/{state-p6e7gv25.js → ripgrep-7mcn7qf3.js} +23 -23
- package/dist/chunks/{state-dr5yhmv3.js → ripgrep-7p50jswy.js} +11 -11
- package/dist/chunks/{state-ngg98v4n.js → ripgrep-7xvv7bz4.js} +22 -22
- package/dist/chunks/{state-jc202cmk.js → ripgrep-85bay2vb.js} +15 -15
- package/dist/chunks/{state-cyhjr8qz.js → ripgrep-86zvre4w.js} +5 -5
- package/dist/chunks/{state-89znhe33.js → ripgrep-89znhe33.js} +1 -1
- package/dist/chunks/{state-bfcdvpvm.js → ripgrep-8bn8hgnq.js} +33 -33
- package/dist/chunks/{state-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-78d4400s.js → ripgrep-8nhw5eyq.js} +10 -10
- package/dist/chunks/{state-ahd542yp.js → ripgrep-8s1fj8xg.js} +8 -8
- package/dist/chunks/{state-1dz0a09m.js → ripgrep-8sc544a3.js} +9 -9
- package/dist/chunks/{state-59qdxchp.js → ripgrep-8sp14q84.js} +13 -13
- package/dist/chunks/{state-j1t4gz23.js → ripgrep-8v2r9b99.js} +15 -15
- package/dist/chunks/{state-1h5r6g9j.js → ripgrep-8vh0cnbs.js} +13 -13
- package/dist/chunks/{state-94ek1h2f.js → ripgrep-94ek1h2f.js} +2 -2
- package/dist/chunks/{state-4k5d13q0.js → ripgrep-95svjcrc.js} +4 -4
- package/dist/chunks/{state-q7z5ybcs.js → ripgrep-9ayecn4x.js} +20 -20
- package/dist/chunks/{state-w6s8wqk9.js → ripgrep-9d7sads4.js} +14 -14
- package/dist/chunks/{state-rykzdxn5.js → ripgrep-9j7e6784.js} +12 -12
- package/dist/chunks/{state-2nws2gjr.js → ripgrep-9q6pqx2w.js} +5 -5
- package/dist/chunks/{state-4jqw9tdg.js → ripgrep-a1pqyhn8.js} +7 -7
- package/dist/chunks/{state-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{state-pv6ekvy2.js → ripgrep-acq9m0ym.js} +3 -3
- package/dist/chunks/{state-vx23e58e.js → ripgrep-actssrt8.js} +17 -17
- package/dist/chunks/{state-9xxts4r9.js → ripgrep-adtat7gs.js} +11 -11
- package/dist/chunks/{state-dkza8aye.js → ripgrep-ae0wcwdj.js} +4 -4
- package/dist/chunks/{state-dj9sq318.js → ripgrep-ag9w8cw1.js} +5 -5
- package/dist/chunks/{state-7d4y95ya.js → ripgrep-agse1mrh.js} +14 -14
- package/dist/chunks/{state-4z6yjmn2.js → ripgrep-agvrswhg.js} +25 -25
- package/dist/chunks/{state-rqhn2029.js → ripgrep-ah6tdzr8.js} +16 -16
- package/dist/chunks/{state-6d35anwg.js → ripgrep-am9wkded.js} +9 -9
- package/dist/chunks/{state-r45gbma7.js → ripgrep-apgpszpz.js} +16 -16
- package/dist/chunks/{state-4xgye4q4.js → ripgrep-aqga0sge.js} +18 -18
- package/dist/chunks/{state-b09hzw3k.js → ripgrep-b09hzw3k.js} +2 -2
- package/dist/chunks/{state-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-m297x91g.js → ripgrep-b884akk1.js} +33 -33
- package/dist/chunks/{state-mxgm4s8c.js → ripgrep-b8f0afpw.js} +10 -10
- package/dist/chunks/{state-j83byb14.js → ripgrep-bct739vz.js} +4 -4
- package/dist/chunks/{state-gb1apezm.js → ripgrep-ber7bg81.js} +9 -9
- package/dist/chunks/{state-2q76gmxn.js → ripgrep-bf2n6fqr.js} +24 -24
- package/dist/chunks/{state-g3q8xvt3.js → ripgrep-bfddptag.js} +10 -10
- package/dist/chunks/{state-e5xpd6yj.js → ripgrep-bm72tg9x.js} +9 -9
- package/dist/chunks/{state-p27t6t4y.js → ripgrep-bnn53enc.js} +8 -8
- package/dist/chunks/{state-sd5h2e1z.js → ripgrep-bpcytqs1.js} +27 -27
- package/dist/chunks/{state-g9e6bpz0.js → ripgrep-c211bx59.js} +7 -7
- package/dist/chunks/{state-jrq8nyb6.js → ripgrep-c7s3naqd.js} +7 -7
- package/dist/chunks/{state-5hcsf9we.js → ripgrep-cckcq9gg.js} +10 -10
- package/dist/chunks/{state-bj6d7p72.js → ripgrep-cd9xet5t.js} +46 -46
- package/dist/chunks/{state-70y8twc4.js → ripgrep-cfxcnq7f.js} +11 -11
- package/dist/chunks/{state-ckecvw8r.js → ripgrep-ckecvw8r.js} +2 -2
- package/dist/chunks/{state-pa8pe2x7.js → ripgrep-cmwkp3r5.js} +8 -8
- package/dist/chunks/{state-c9esyfej.js → ripgrep-cyvnqhyj.js} +24 -24
- package/dist/chunks/{state-fzk5c087.js → ripgrep-d0j79zbm.js} +11 -11
- package/dist/chunks/{state-eb018chj.js → ripgrep-d3srfpjk.js} +17 -17
- package/dist/chunks/{state-2sejkfem.js → ripgrep-d4he2qe1.js} +9 -9
- package/dist/chunks/{state-6ysrkrkr.js → ripgrep-d8zjpaz4.js} +8 -8
- package/dist/chunks/{state-pb1eahw5.js → ripgrep-dhwr7h25.js} +11 -11
- package/dist/chunks/{state-nzgjyyka.js → ripgrep-dqa86y6d.js} +14 -14
- package/dist/chunks/{state-qqeeq2t9.js → ripgrep-drwq78ky.js} +7 -7
- package/dist/chunks/{state-xvy48wje.js → ripgrep-e1jn5pvd.js} +4 -4
- package/dist/chunks/{state-5qd3pb7m.js → ripgrep-e3qxr5gk.js} +2 -2
- package/dist/chunks/{state-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-p9cjdk98.js → ripgrep-ejf2c6et.js} +3 -3
- package/dist/chunks/{state-01hrvc9d.js → ripgrep-emrjvxqt.js} +11 -11
- package/dist/chunks/{state-qpxsvy3c.js → ripgrep-eqhs44f7.js} +9 -9
- package/dist/chunks/{state-78kgqsf0.js → ripgrep-ers8xvjx.js} +15 -15
- package/dist/chunks/{state-erw5rpbs.js → ripgrep-erw5rpbs.js} +2 -2
- package/dist/chunks/{state-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-tgnbsyzc.js → ripgrep-f2s5w1yc.js} +24 -24
- package/dist/chunks/{state-0x0rejgs.js → ripgrep-f9tp083j.js} +24 -24
- package/dist/chunks/{state-rpjgfq5s.js → ripgrep-faj2svbs.js} +9 -9
- package/dist/chunks/{state-hcam9bsc.js → ripgrep-fb1j3qsp.js} +7 -7
- package/dist/chunks/{state-2629fpm1.js → ripgrep-fbkyw6cz.js} +9 -9
- package/dist/chunks/{state-r75f9j48.js → ripgrep-fbms8ej5.js} +27 -27
- package/dist/chunks/{state-1rxhvb8z.js → ripgrep-fh3sfp11.js} +29 -29
- package/dist/chunks/{state-gf2vt3wd.js → ripgrep-fn2248ay.js} +6 -6
- package/dist/chunks/{state-bjn91642.js → ripgrep-fyymr9xg.js} +4 -4
- package/dist/chunks/{state-4xh8p5r9.js → ripgrep-gchntx1p.js} +41 -41
- package/dist/chunks/{state-ew8ymzjh.js → ripgrep-gd2jr9d1.js} +50 -50
- package/dist/chunks/{state-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-c1vn73fw.js → ripgrep-gfhqj7dq.js} +11 -11
- package/dist/chunks/{state-287djwcw.js → ripgrep-ggw7ge79.js} +16 -16
- package/dist/chunks/{state-yjybrs9s.js → ripgrep-gpjvt01r.js} +21 -21
- package/dist/chunks/{state-qy6sahra.js → ripgrep-gqp6qxk9.js} +16 -16
- package/dist/chunks/{state-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{state-c576t1j6.js → ripgrep-gzbkpp9m.js} +7 -7
- package/dist/chunks/{state-rmmjpg08.js → ripgrep-h2grecd6.js} +17 -17
- package/dist/chunks/{state-av919pbz.js → ripgrep-h35mffgv.js} +16 -16
- package/dist/chunks/{state-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-wk5z6jzv.js → ripgrep-h71w788e.js} +9 -9
- package/dist/chunks/{state-fkrg1jgt.js → ripgrep-h90yrjs5.js} +28 -28
- package/dist/chunks/{state-4xk4yn8m.js → ripgrep-hcgjh0hf.js} +17 -17
- package/dist/chunks/{state-s01cwswe.js → ripgrep-hpj7es9f.js} +14 -14
- package/dist/chunks/ripgrep-hz7paq91.js +252 -0
- package/dist/chunks/{state-asxwsg8x.js → ripgrep-j0h9pff0.js} +13 -13
- package/dist/chunks/{state-rqsrgvme.js → ripgrep-j4zepqap.js} +23 -23
- package/dist/chunks/{state-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{state-a7q99tff.js → ripgrep-jakqjnps.js} +10 -10
- package/dist/chunks/{state-bqp27804.js → ripgrep-jd4wkpr4.js} +11 -11
- package/dist/chunks/{state-04etjcjv.js → ripgrep-jn08bmc5.js} +18 -18
- package/dist/chunks/{state-t73kc664.js → ripgrep-k1jh2k0y.js} +22 -22
- package/dist/chunks/{state-jegaewj3.js → ripgrep-k2eanbb6.js} +1 -1
- package/dist/chunks/{state-nzks3jc8.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{state-ad7b423w.js → ripgrep-k3fn0r21.js} +11 -11
- package/dist/chunks/{state-2vmqg2px.js → ripgrep-k9rdbn52.js} +11 -11
- package/dist/chunks/{state-6ht0qgxp.js → ripgrep-kb9hzx7k.js} +21 -21
- package/dist/chunks/{state-mmr7bq34.js → ripgrep-knb7evpn.js} +8 -8
- package/dist/chunks/{state-gr5cvhzt.js → ripgrep-ksk9sffd.js} +17 -17
- package/dist/chunks/{state-2rs2jmw8.js → ripgrep-kzt398fn.js} +23 -23
- package/dist/chunks/{state-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{state-w35smk9y.js → ripgrep-m549exyf.js} +12 -12
- package/dist/chunks/{state-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-5rcwft22.js → ripgrep-m9y9g4ac.js} +11 -11
- package/dist/chunks/{state-kfkd8wec.js → ripgrep-mfd42sw3.js} +78 -78
- package/dist/chunks/{state-56gdpj1q.js → ripgrep-mfqp6xfm.js} +6 -6
- package/dist/chunks/{state-7yh4e7ss.js → ripgrep-mhkvc446.js} +3 -3
- package/dist/chunks/{state-mzchxfnj.js → ripgrep-mhtr458h.js} +35 -35
- package/dist/chunks/{state-a2855keb.js → ripgrep-mryf79qs.js} +6 -6
- package/dist/chunks/{state-we8naas4.js → ripgrep-mt83epq0.js} +30 -30
- package/dist/chunks/{state-n1ka8r9d.js → ripgrep-mvksx64m.js} +4 -4
- package/dist/chunks/{state-sa80r6qx.js → ripgrep-nn6way1v.js} +5 -5
- package/dist/chunks/{state-ac3z5j2t.js → ripgrep-nta5d6qs.js} +16 -16
- package/dist/chunks/{state-4d234pj1.js → ripgrep-p5m10399.js} +24 -24
- package/dist/chunks/{state-eaxw8sd7.js → ripgrep-pcmkyeay.js} +3 -3
- package/dist/chunks/{state-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{state-q3zdsabs.js → ripgrep-pnf9bbby.js} +16 -16
- package/dist/chunks/{state-sfntmzm9.js → ripgrep-pnqe9gv0.js} +1 -1
- package/dist/chunks/{state-qg0jgkcp.js → ripgrep-pnv527nz.js} +9 -9
- package/dist/chunks/{state-54crpygx.js → ripgrep-psdrcdc3.js} +30 -30
- package/dist/chunks/{state-f88pna8a.js → ripgrep-q04jv8av.js} +16 -16
- package/dist/chunks/ripgrep-q54075k1.js +26 -0
- package/dist/chunks/{state-fqb2p7cx.js → ripgrep-qa3qhgw8.js} +4 -4
- package/dist/chunks/{state-8mbscqky.js → ripgrep-qby9dwvd.js} +8 -8
- package/dist/chunks/{state-te4wg8hb.js → ripgrep-qdpn6yaw.js} +3 -3
- package/dist/chunks/{state-29jghzvv.js → ripgrep-qgecjrfz.js} +11 -11
- package/dist/chunks/{state-607tc6va.js → ripgrep-qgn6gcr1.js} +5 -5
- package/dist/chunks/{state-jjs3a33e.js → ripgrep-qqgkaj4y.js} +2 -2
- package/dist/chunks/{state-bm37k6ny.js → ripgrep-qqvywntg.js} +9 -9
- package/dist/chunks/{state-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{state-39z47dss.js → ripgrep-qz02d4gv.js} +15 -15
- package/dist/chunks/{state-v3k62wtp.js → ripgrep-r10vypme.js} +3 -3
- package/dist/chunks/{state-hwkkb16b.js → ripgrep-r3j6szw2.js} +12 -12
- package/dist/chunks/{state-seamasfj.js → ripgrep-r4ehhsv8.js} +15 -15
- package/dist/chunks/{state-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-6b8xfggn.js → ripgrep-rfan2r90.js} +2 -2
- package/dist/chunks/{state-t550f9t1.js → ripgrep-rhjbct0v.js} +4 -4
- package/dist/chunks/{state-n94bagkt.js → ripgrep-rsc9fyh1.js} +6 -6
- package/dist/chunks/{state-4np4xevn.js → ripgrep-rxw4b0p8.js} +5 -5
- package/dist/chunks/{state-yrznvahk.js → ripgrep-s4enseaf.js} +2 -2
- package/dist/chunks/{state-191n6bah.js → ripgrep-seb716sx.js} +11 -11
- package/dist/chunks/{state-x3w0806v.js → ripgrep-sfq6dn5s.js} +17 -17
- package/dist/chunks/{state-6g307qqy.js → ripgrep-sge84xqd.js} +29 -29
- package/dist/chunks/{state-v28c62ks.js → ripgrep-sgzpp7nr.js} +3 -3
- package/dist/chunks/{state-86neyp8d.js → ripgrep-sq2j235b.js} +25 -25
- package/dist/chunks/{state-pecb0brz.js → ripgrep-sra9araw.js} +5 -5
- package/dist/chunks/{state-hvf24zfz.js → ripgrep-t590yz96.js} +11 -11
- package/dist/chunks/{state-8dsn79bq.js → ripgrep-t8ger676.js} +3 -3
- package/dist/chunks/{state-8ex1v7ge.js → ripgrep-ta58qp5f.js} +5 -5
- package/dist/chunks/{state-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-jac560fq.js → ripgrep-tc0ehr23.js} +44 -44
- package/dist/chunks/{state-q7rs3snj.js → ripgrep-tcx6fb2d.js} +16 -16
- package/dist/chunks/{state-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{state-wj76ss2k.js → ripgrep-tfzngn12.js} +4 -4
- package/dist/chunks/{state-f8x6snpr.js → ripgrep-tnc4b65w.js} +26 -26
- package/dist/chunks/{state-2pcga327.js → ripgrep-tsbagf10.js} +20 -20
- package/dist/chunks/{state-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{state-vsn9dek0.js → ripgrep-tz7p6r84.js} +4 -4
- package/dist/chunks/{state-pc6cxjb1.js → ripgrep-tzqmq8qk.js} +25 -25
- package/dist/chunks/{state-3ppptnan.js → ripgrep-ve6nm2s5.js} +6 -6
- package/dist/chunks/{state-3qbgdjz5.js → ripgrep-vemcyc6m.js} +20 -20
- package/dist/chunks/{state-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{state-v4sjsb1y.js → ripgrep-vhexq360.js} +24 -24
- package/dist/chunks/{state-jraye65f.js → ripgrep-vjtpgjq7.js} +17 -17
- package/dist/chunks/{state-wsdek6tf.js → ripgrep-vprkr44c.js} +5 -5
- package/dist/chunks/{state-y19c3zcv.js → ripgrep-vr2vg3zy.js} +4 -4
- package/dist/chunks/{state-magykp64.js → ripgrep-vsp1fds9.js} +21 -21
- package/dist/chunks/{state-5mf4awx7.js → ripgrep-vswzb2pw.js} +1 -1
- package/dist/chunks/{state-vtxr0yy2.js → ripgrep-vtxr0yy2.js} +2 -2
- package/dist/chunks/{state-8vse6jtk.js → ripgrep-vx17ftxw.js} +23 -23
- package/dist/chunks/{state-afed7ext.js → ripgrep-vy4zg7qh.js} +5 -5
- package/dist/chunks/{state-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-wd3x2cqz.js → ripgrep-wd3x2cqz.js} +2 -2
- package/dist/chunks/{state-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{state-1nkfddbq.js → ripgrep-wjcmexze.js} +2 -2
- package/dist/chunks/{state-7213dkvb.js → ripgrep-wsckwg56.js} +5 -5
- package/dist/chunks/{state-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-g7s6zfm9.js → ripgrep-x1vnw4j8.js} +4 -4
- package/dist/chunks/{state-za2j8b29.js → ripgrep-x5wf3cfa.js} +13 -13
- package/dist/chunks/{state-yt3hy1g9.js → ripgrep-xjtsx636.js} +5 -5
- package/dist/chunks/{state-f6e6ss5q.js → ripgrep-xwpyg3km.js} +41 -41
- package/dist/chunks/{state-3xead72a.js → ripgrep-y0fe2sxw.js} +3 -3
- package/dist/chunks/{state-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-w6wdv7p0.js → ripgrep-y2wxfe7c.js} +15 -15
- package/dist/chunks/{state-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{state-v27qvcw0.js → ripgrep-ycjw1vkg.js} +321 -321
- package/dist/chunks/{state-r01t9b5y.js → ripgrep-ydgy0jv4.js} +4 -4
- package/dist/chunks/{state-q805jq9w.js → ripgrep-ye7rqg8q.js} +24 -24
- package/dist/chunks/{state-vfs4gywg.js → ripgrep-ymhgemp7.js} +15 -15
- package/dist/chunks/{state-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-e0c9kqzd.js → ripgrep-yz4h9str.js} +24 -24
- package/dist/chunks/{state-z07pqspn.js → ripgrep-z07pqspn.js} +3 -3
- package/dist/chunks/{state-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-jw49cbrr.js → ripgrep-z0xdv2q8.js} +33 -33
- package/dist/chunks/{state-3tt1qkhr.js → ripgrep-za6yq9hg.js} +5 -5
- package/dist/chunks/{state-hn57h045.js → ripgrep-zcrspsvn.js} +4 -4
- package/dist/chunks/{state-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{state-sqwg4mrh.js → ripgrep-zhwag984.js} +16 -16
- package/dist/chunks/{state-n9tzwawk.js → ripgrep-znr0k2jp.js} +9 -9
- package/dist/chunks/{state-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/chunks/{state-06fa46aw.js → ripgrep-zy77hdr2.js} +52 -52
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +212 -212
- package/dist/config/plugin/compaction.js +160 -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 +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- 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 +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +370 -370
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +361 -361
- 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 +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -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 +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +101 -101
- 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 +113 -113
- 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/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- 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 +121 -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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- 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 +94 -94
- 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 +160 -160
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- 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/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -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 +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- 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 +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -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 +7 -7
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- 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 +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- 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 +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- 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/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 +4 -4
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +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 +3 -3
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/state-c59kzj7e.js +0 -26
- package/dist/chunks/state-mct0z50y.js +0 -252
- package/dist/chunks/state-q509s3k3.js +0 -18
- /package/dist/chunks/{state-0mesazry.js → ripgrep-0mesazry.js} +0 -0
- /package/dist/chunks/{state-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y6f0p4jw.js → ripgrep-y6f0p4jw.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./ripgrep-bpcytqs1.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-mryf79qs.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID12.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-bpcytqs1.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-0c7hyzvt.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service58,
|
|
9
|
+
node61
|
|
10
|
+
} from "./ripgrep-tc0ehr23.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-y6f0p4jw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service44,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node47,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service44 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service58;
|
|
77
|
+
return Service44.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node47 = makeLocationNode({ service: Service44, layer, deps: [node61] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service44, resolved2, node47, exports_model };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin39,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin39 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin39, exports_tool_input_repair };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-237jz2dm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service73,
|
|
11
|
+
node76
|
|
12
|
+
} from "./ripgrep-h90yrjs5.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-qqgkaj4y.js";
|
|
17
17
|
import {
|
|
18
|
-
Service68,
|
|
19
|
-
node71
|
|
20
|
-
} from "./state-ezrkp374.js";
|
|
21
|
-
import {
|
|
22
|
-
ID15,
|
|
23
18
|
Service78,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
19
|
+
node81
|
|
20
|
+
} from "./ripgrep-7jbn65n7.js";
|
|
21
|
+
import {
|
|
22
|
+
ID14,
|
|
23
|
+
Service72,
|
|
24
|
+
node75
|
|
25
|
+
} from "./ripgrep-cyvnqhyj.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service71,
|
|
34
|
+
node74
|
|
35
|
+
} from "./ripgrep-45mv0mmk.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service31,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
56
|
configured: () => configured3,
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
57
|
+
layer: () => layer14,
|
|
58
|
+
node: () => node34
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -93,7 +93,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
98
|
var Options3 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -101,13 +101,13 @@ var Options3 = Schema.Struct({
|
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service80;
|
|
106
|
-
const environment = yield*
|
|
106
|
+
const environment = yield* Service78;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service72;
|
|
109
|
+
const integration = yield* Service71;
|
|
110
|
+
const credentials = yield* Service73;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer13 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID13.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer13 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer13 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID14.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer13 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service78, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer13 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer13 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service31.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -512,12 +512,12 @@ var layer13 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
512
512
|
}));
|
|
513
513
|
function configured3(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [node84,
|
|
515
|
+
service: Service31,
|
|
516
|
+
layer: layer14(options),
|
|
517
|
+
deps: [node84, node81, node87, node75, node74, node76]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node34 = configured3();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service31, Options3, layer14, configured3, node34, exports_mcp4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-bpcytqs1.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-0c7hyzvt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-qqgkaj4y.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./ripgrep-5v8ce13p.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service13
|
|
10
|
+
} from "./ripgrep-agse1mrh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make9
|
|
13
|
+
} from "./ripgrep-mhkvc446.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/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin14
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin14 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service62;
|
|
37
|
+
const formatter = yield* Service13;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
40
|
const location = yield* Service80;
|
|
@@ -45,7 +45,7 @@ var Plugin24 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make9({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin24 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin14, exports_formatter };
|