@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-237jz2dm.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-vy4zg7qh.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-qqgkaj4y.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-4v7qdvcn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service63,
|
|
18
|
+
node66
|
|
19
|
+
} from "./ripgrep-ye7rqg8q.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node20
|
|
22
|
+
} from "./ripgrep-ah6tdzr8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service8,
|
|
25
|
+
node10
|
|
26
|
+
} from "./ripgrep-d4he2qe1.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
@@ -44,11 +44,11 @@ class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
|
44
44
|
}
|
|
45
45
|
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service63;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service8;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
105
105
|
var node4 = makeLocationNode({
|
|
106
106
|
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node66, FSUtil.node, node84, node86, node87, node20, node10]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
111
|
export { Service3, node4, exports_location_watcher };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
6
|
+
var exports_formatter3 = {};
|
|
7
|
+
__export(exports_formatter3, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter3,
|
|
9
9
|
Entry: () => Entry3,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info18
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry3 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
|
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export { Entry3,
|
|
21
|
+
export { Entry3, Info18, exports_formatter3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-237jz2dm.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-5mtzsd3b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./ripgrep-h90yrjs5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID13
|
|
12
|
+
} from "./ripgrep-45mv0mmk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID12,
|
|
15
|
+
Service70
|
|
16
|
+
} from "./ripgrep-bpcytqs1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./ripgrep-vx17ftxw.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service70;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
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
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service52,
|
|
14
|
+
node55
|
|
15
|
+
} from "./ripgrep-dqa86y6d.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service11,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node13
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service52;
|
|
41
41
|
const location = yield* Service80;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service11.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node, node84,
|
|
101
|
+
deps: [node87, FSUtil.node, node84, node55]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service11, node13, exports_instructions };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service6 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service6.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service6, node8, exports_update };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-r10vypme.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-237jz2dm.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info29,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service73,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node76
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service73 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info29({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service73.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info29({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node76 = makeGlobalNode({ service: Service73, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info29, Service73, node76, exports_credential };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-vy4zg7qh.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service67,
|
|
16
|
+
node70
|
|
17
|
+
} from "./ripgrep-cckcq9gg.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service55,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node58,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service55 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service67;
|
|
110
|
+
return Service55.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node58 = makeGlobalNode({
|
|
171
|
+
service: Service55,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node70]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service55, isError2, validateBranch2, node58, exports_repository_cache };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node81
|
|
9
|
+
} from "./ripgrep-7jbn65n7.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service77,
|
|
24
|
+
node: () => node80
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service77 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service78;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service77.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node80 = makeLocationNode({ service: Service77, layer, deps: [node81, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service77, node80, exports_ripgrep };
|