@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-5mtzsd3b.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-237jz2dm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./ripgrep-h90yrjs5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-45mv0mmk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service70
|
|
20
|
+
} from "./ripgrep-bpcytqs1.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID11
|
|
23
|
+
} from "./ripgrep-0c7hyzvt.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./ripgrep-7xvv7bz4.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-bfddptag.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID13.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service70;
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID12.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID12.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID12.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID12.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-rhjbct0v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-z07pqspn.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-zy77hdr2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin34
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin34 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin34, exports_plan };
|
|
@@ -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
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-zy77hdr2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
21
|
ID: () => ID5,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info9,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service47,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node50,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event9 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
42
|
+
var Info9 = Skill.Info;
|
|
43
43
|
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service47 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service47.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node50 = makeLocationNode({
|
|
112
|
+
service: Service47,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info9, ID5, Name2, available2, toModelOutput3, prepare3, Service47, node50, exports_skill5, Event9 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service38,
|
|
17
|
+
node41
|
|
18
|
+
} from "./ripgrep-faj2svbs.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service66,
|
|
21
|
+
node69
|
|
22
|
+
} from "./ripgrep-qby9dwvd.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./ripgrep-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content2,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service37,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node40
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content2, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service37 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service66;
|
|
58
|
+
const image = yield* Service38;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service37.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node40 = makeLocationNode({
|
|
277
|
+
service: Service37,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node69, node41]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service37, node40, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-fb1j3qsp.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-k2eanbb6.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-r10vypme.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./ripgrep-ve6nm2s5.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-0pr3hkd7.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-qgecjrfz.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-5a6df3z5.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service21
|
|
21
|
+
} from "./ripgrep-0f59mhbe.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service43;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service21;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service9,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service9 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service9.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node11 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service9, node11, exports_discovery };
|