@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
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-bfddptag.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-237jz2dm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} 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
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-5mtzsd3b.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service54
|
|
20
|
+
} from "./ripgrep-d8zjpaz4.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID12,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./ripgrep-bpcytqs1.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
ID9,
|
|
28
|
+
Input14,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-tzqmq8qk.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -42,7 +42,7 @@ var methodID = MethodID2.make("device");
|
|
|
42
42
|
var RemoteResponse = Schema.Struct({
|
|
43
43
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
44
44
|
websearch: Schema.Struct({
|
|
45
|
-
providerID:
|
|
45
|
+
providerID: ID9
|
|
46
46
|
}).pipe(Schema.optional),
|
|
47
47
|
experimental: Schema.Struct({
|
|
48
48
|
policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
|
|
@@ -67,7 +67,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
67
67
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
68
68
|
function oauth(http) {
|
|
69
69
|
return {
|
|
70
|
-
integrationID:
|
|
70
|
+
integrationID: ID13.make("opencode"),
|
|
71
71
|
method: {
|
|
72
72
|
id: methodID,
|
|
73
73
|
type: "oauth",
|
|
@@ -124,7 +124,7 @@ var OpencodePlugin2 = define({
|
|
|
124
124
|
const bus = yield* Service83;
|
|
125
125
|
const client = yield* HttpClient.HttpClient;
|
|
126
126
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
127
|
-
const managed = yield*
|
|
127
|
+
const managed = yield* Service54;
|
|
128
128
|
const loading = Semaphore.makeUnsafe(1);
|
|
129
129
|
let snapshot = { config: undefined, connection: undefined, organization: undefined };
|
|
130
130
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -157,7 +157,7 @@ var OpencodePlugin2 = define({
|
|
|
157
157
|
providers.update(providerID, (provider) => {
|
|
158
158
|
if (source && source.provider !== provider)
|
|
159
159
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
160
|
-
provider.integrationID =
|
|
160
|
+
provider.integrationID = ID13.make("opencode");
|
|
161
161
|
if (item.canonical !== undefined)
|
|
162
162
|
provider.canonical = item.canonical;
|
|
163
163
|
if (item.name !== undefined)
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
sourceConnection: snapshot.connection
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
const item = providers.get(
|
|
230
|
+
const item = providers.get(ID12.opencode);
|
|
231
231
|
if (!item)
|
|
232
232
|
return;
|
|
233
233
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -239,7 +239,7 @@ var OpencodePlugin2 = define({
|
|
|
239
239
|
});
|
|
240
240
|
});
|
|
241
241
|
yield* ctx.model.transform((models) => {
|
|
242
|
-
const item = models.provider.get(
|
|
242
|
+
const item = models.provider.get(ID12.opencode);
|
|
243
243
|
if (!item)
|
|
244
244
|
return;
|
|
245
245
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -273,7 +273,7 @@ var OpencodePlugin2 = define({
|
|
|
273
273
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
274
274
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
275
275
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
276
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
276
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
277
277
|
query: input.query,
|
|
278
278
|
providerID: descriptor.providerID
|
|
279
279
|
}));
|
|
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
|
|
|
295
295
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
296
296
|
});
|
|
297
297
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
298
|
-
yield* bus.subscribe(
|
|
298
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
299
299
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
300
300
|
})
|
|
301
301
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./ripgrep-5v8ce13p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./ripgrep-bf2n6fqr.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin2
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin2 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service62;
|
|
26
|
+
const compaction = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin16 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin2, exports_compaction };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-bpcytqs1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service59,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node62
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID12,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service59 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service59.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node62 = makeLocationNode({ service: Service59, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2,
|
|
867
|
+
export { InitError2, Service59, locationLayer2, node62, exports_aisdk };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-qqgkaj4y.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service77,
|
|
10
|
+
node80
|
|
11
|
+
} from "./ripgrep-hpj7es9f.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
24
|
Options: () => Options10,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service76,
|
|
26
26
|
configured: () => configured10,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node79,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ var Options10 = Schema.Struct({
|
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service76 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service76, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service77;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service76.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service76, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service80;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service76.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service76.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer25 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service80;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -183,8 +183,8 @@ var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured10(options) {
|
|
186
|
-
return makeLocationNode({ service:
|
|
186
|
+
return makeLocationNode({ service: Service76, layer: layer25(options), deps: [node84, node80] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node79 = configured10();
|
|
189
189
|
|
|
190
|
-
export { Options10,
|
|
190
|
+
export { Options10, Service76, ripgrepLayer2, fffLayer2, layer25, configured10, node79, exports_search };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./ripgrep-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-bfddptag.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-237jz2dm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} 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
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-bpcytqs1.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID13.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID13.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service83;
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID12.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -197,7 +197,7 @@ var OpenAIPlugin3 = define({
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
yield* ctx.model.transform((models) => {
|
|
200
|
-
for (const model of models.list(
|
|
200
|
+
for (const model of models.list(ID12.openai)) {
|
|
201
201
|
models.update(model.providerID, model.id, (draft) => {
|
|
202
202
|
if (!chatgpt)
|
|
203
203
|
return;
|
|
@@ -225,9 +225,9 @@ var OpenAIPlugin3 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID12.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(
|
|
230
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|
|
@@ -318,4 +318,4 @@ function claim(token) {
|
|
|
318
318
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
export {
|
|
321
|
+
export { OpenAIPlugin2 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-qqgkaj4y.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node79
|
|
13
|
+
} from "./ripgrep-kb9hzx7k.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry4,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event20,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
30
|
ListInput: () => ListInput5,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError10,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service75,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node78
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event20 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service75 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service75, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service80;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service76;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service75.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node78 = makeLocationNode({
|
|
144
|
+
service: Service75,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node84,
|
|
146
|
+
deps: [FSUtil.node, node84, node79]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError10, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event20, Service75, node78, exports_filesystem, Entry4, Match2, Submatch2 };
|