@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info26,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info26 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info26, key2, exports_connection };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-237jz2dm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service73,
|
|
8
|
+
node76
|
|
9
|
+
} from "./ripgrep-h90yrjs5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service63,
|
|
12
|
+
node66
|
|
13
|
+
} from "./ripgrep-ye7rqg8q.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service80,
|
|
19
19
|
node84
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-qqgkaj4y.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-f2s5w1yc.js";
|
|
27
27
|
import {
|
|
28
28
|
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-qdpn6yaw.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service64,
|
|
36
|
+
Event14,
|
|
37
|
+
node67
|
|
38
|
+
} from "./ripgrep-aqga0sge.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service62,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer22,
|
|
53
|
+
node: () => node65,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options6 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service62 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service62, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer22 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service80;
|
|
97
|
-
const watcher = yield*
|
|
97
|
+
const watcher = yield* Service63;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service73;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service64;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer18 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer18 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service62.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer18 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured7(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service62,
|
|
268
|
+
layer: layer22(options),
|
|
269
|
+
deps: [node66, node87, FSUtil.node, Global.node, node84, node76, node67]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node65 = configured7();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options6, Service62, Test2, testLayer2, layer22, configured7, node65, exports_config };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-qqgkaj4y.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./ripgrep-7jbn65n7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./ripgrep-agse1mrh.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service15,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-8vh0cnbs.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service50
|
|
22
|
+
} from "./ripgrep-zy77hdr2.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service14,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-ers8xvjx.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin41,
|
|
42
|
+
name: () => name5,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name5 = "patch";
|
|
89
|
+
var Input5 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output4 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin41 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service78;
|
|
112
|
+
const access = yield* Service14;
|
|
113
|
+
const fileMutation = yield* Service15;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service50;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin13 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name5, Input5, Applied2, Output4, toModelContent5, Plugin41, exports_patch };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./ripgrep-ye7rqg8q.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service39
|
|
13
|
+
} from "./ripgrep-yz4h9str.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-qqgkaj4y.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin10
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin10 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service39;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
41
|
const location = yield* Service80;
|
|
42
|
-
const watcher = yield*
|
|
42
|
+
const watcher = yield* Service63;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin10, exports_instruction };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-bfddptag.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-237jz2dm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service73
|
|
11
|
+
} from "./ripgrep-h90yrjs5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service71
|
|
16
|
+
} from "./ripgrep-45mv0mmk.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./ripgrep-bpcytqs1.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-mryf79qs.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID12.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID13.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service73;
|
|
57
|
+
const integrations = yield* Service71;
|
|
58
58
|
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-237jz2dm.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-qqgkaj4y.js";
|
|
9
9
|
import {
|
|
10
10
|
ID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service65,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node68
|
|
16
|
+
} from "./ripgrep-6xadn18s.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
30
|
Info: () => Info2,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service17,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node19
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service17 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service65;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service17.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node19 = makeLocationNode({
|
|
274
|
+
service: Service17,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node87, node84,
|
|
276
|
+
deps: [node87, node84, node68]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2,
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service17, node19, exports_pty, Event3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service62
|
|
4
|
+
} from "./ripgrep-5v8ce13p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./ripgrep-m549exyf.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin15
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin15 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service62;
|
|
27
|
+
const output = yield* Service68;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin29 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin15, exports_tool_output };
|