@opencode/core 0.0.0-dev-19728 → 0.0.0-dev-19729
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{persistent-pty-m5tndwkn.js → ripgrep-00xykwht.js} +15 -15
- package/dist/chunks/{persistent-pty-pcv9vap9.js → ripgrep-02qhaxzp.js} +8 -8
- package/dist/chunks/{persistent-pty-txa68nbj.js → ripgrep-02x1wwkp.js} +24 -24
- package/dist/chunks/{persistent-pty-9kzytzbk.js → ripgrep-056sf8v6.js} +43 -43
- package/dist/chunks/{persistent-pty-sckksdt6.js → ripgrep-07xqqp3q.js} +37 -37
- package/dist/chunks/{persistent-pty-8byt1a1f.js → ripgrep-0a7fa5tc.js} +88 -88
- package/dist/chunks/{persistent-pty-58b33b18.js → ripgrep-0ca1pcbr.js} +9 -9
- package/dist/chunks/{persistent-pty-85htkvce.js → ripgrep-0cbb5c6c.js} +11 -11
- package/dist/chunks/{persistent-pty-x31d7mze.js → ripgrep-0emnnwmv.js} +9 -9
- package/dist/chunks/{persistent-pty-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → ripgrep-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-9ex8f1cq.js → ripgrep-0t9wd588.js} +8 -8
- package/dist/chunks/{persistent-pty-edjqbjbz.js → ripgrep-0y46xc02.js} +3 -3
- package/dist/chunks/{persistent-pty-623746t2.js → ripgrep-0ybxp83h.js} +13 -13
- package/dist/chunks/{persistent-pty-ahpfebvr.js → ripgrep-0zcsf5ff.js} +16 -16
- package/dist/chunks/{persistent-pty-nw2nz702.js → ripgrep-18e56dsp.js} +4 -4
- package/dist/chunks/{persistent-pty-br0tr5aq.js → ripgrep-1ajx6rf5.js} +8 -8
- package/dist/chunks/{persistent-pty-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-5qzy05yz.js → ripgrep-1djfn99w.js} +16 -16
- package/dist/chunks/{persistent-pty-7ycevcb9.js → ripgrep-1gkpxce2.js} +10 -10
- package/dist/chunks/{persistent-pty-2gbsvbx5.js → ripgrep-1ktgcqzb.js} +12 -12
- package/dist/chunks/{persistent-pty-hds23wzw.js → ripgrep-1qdmrsyh.js} +11 -11
- package/dist/chunks/{persistent-pty-da6xg5hq.js → ripgrep-1tdsmag2.js} +54 -54
- package/dist/chunks/{persistent-pty-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-0y4tsv4g.js → ripgrep-21wkgqn7.js} +1 -1
- package/dist/chunks/{persistent-pty-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-8v94ed5m.js → ripgrep-27cnh2ng.js} +37 -37
- package/dist/chunks/{persistent-pty-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-rbakn429.js → ripgrep-2gascbgd.js} +14 -14
- package/dist/chunks/{persistent-pty-r88en1p6.js → ripgrep-2m4a74dd.js} +4 -4
- package/dist/chunks/{persistent-pty-fxyabwbq.js → ripgrep-2wn13fn5.js} +4 -4
- package/dist/chunks/{persistent-pty-5vmxkdvd.js → ripgrep-30027xyv.js} +11 -11
- package/dist/chunks/{persistent-pty-s96yh66p.js → ripgrep-321vmt1f.js} +17 -17
- package/dist/chunks/{persistent-pty-r33ff4dw.js → ripgrep-3b1q5j1v.js} +6 -6
- package/dist/chunks/{persistent-pty-9c8f3b19.js → ripgrep-3ey620wm.js} +4 -4
- package/dist/chunks/{persistent-pty-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-ypyqm45m.js → ripgrep-3m0avw37.js} +12 -12
- package/dist/chunks/{persistent-pty-vwzsxpqv.js → ripgrep-3nnfdham.js} +24 -24
- package/dist/chunks/{persistent-pty-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-c78bbtc9.js → ripgrep-3w0fmcng.js} +5 -5
- package/dist/chunks/{persistent-pty-3kzm2gg7.js → ripgrep-3ymzgx77.js} +15 -15
- package/dist/chunks/{persistent-pty-dxhjx9yt.js → ripgrep-3ystes8p.js} +14 -14
- package/dist/chunks/{persistent-pty-19e86vrr.js → ripgrep-3ytyewx4.js} +32 -32
- package/dist/chunks/{persistent-pty-dq3nzk0j.js → ripgrep-40qcz11w.js} +19 -19
- package/dist/chunks/{persistent-pty-pg3cx23y.js → ripgrep-416bwb4f.js} +13 -13
- package/dist/chunks/{persistent-pty-pmqwy1kz.js → ripgrep-49p9cyd4.js} +1 -1
- package/dist/chunks/{persistent-pty-p5zskvh4.js → ripgrep-4n2s88c7.js} +32 -32
- package/dist/chunks/ripgrep-4v7qdvcn.js +18 -0
- package/dist/chunks/{persistent-pty-56gdpj1q.js → ripgrep-56gdpj1q.js} +2 -2
- package/dist/chunks/{persistent-pty-0ke265bw.js → ripgrep-57ez7d0k.js} +5 -5
- package/dist/chunks/{persistent-pty-5c4hm403.js → ripgrep-5c4hm403.js} +3 -3
- package/dist/chunks/{persistent-pty-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-1c6r0v3g.js → ripgrep-5gcce52j.js} +15 -15
- package/dist/chunks/{persistent-pty-xe4w135j.js → ripgrep-5t0zvs0a.js} +9 -9
- package/dist/chunks/{persistent-pty-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-2k8khapm.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{persistent-pty-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-qbrsjjg8.js → ripgrep-6dsef05n.js} +21 -21
- package/dist/chunks/{persistent-pty-sbhenykq.js → ripgrep-6kp1enz8.js} +1 -1
- package/dist/chunks/{persistent-pty-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-rpbhrmr0.js → ripgrep-6qvham2n.js} +8 -8
- package/dist/chunks/{persistent-pty-94n6ez7z.js → ripgrep-6rvh9ysh.js} +20 -20
- package/dist/chunks/{persistent-pty-476xsedq.js → ripgrep-6w9v7p8s.js} +10 -10
- package/dist/chunks/{persistent-pty-e0k9jqvk.js → ripgrep-6xwwhj34.js} +9 -9
- package/dist/chunks/{persistent-pty-cm8msd5e.js → ripgrep-708htapb.js} +20 -20
- package/dist/chunks/{persistent-pty-ab8cnxkj.js → ripgrep-74rrnwt7.js} +12 -12
- package/dist/chunks/{persistent-pty-gnx4ytbv.js → ripgrep-7ac170kv.js} +4 -4
- package/dist/chunks/{persistent-pty-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-78b8afjy.js → ripgrep-7jfq7jze.js} +11 -11
- package/dist/chunks/{persistent-pty-ry3ayprc.js → ripgrep-7r449qz2.js} +6 -6
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{persistent-pty-0nvdzmpy.js → ripgrep-7znvc7v4.js} +25 -25
- package/dist/chunks/{persistent-pty-qcyhmmbj.js → ripgrep-84brhf68.js} +33 -33
- package/dist/chunks/{persistent-pty-jxm7mf79.js → ripgrep-897mca6w.js} +6 -6
- package/dist/chunks/{persistent-pty-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-7158h6s7.js → ripgrep-8qw190t8.js} +37 -37
- package/dist/chunks/{persistent-pty-qqd25hrc.js → ripgrep-90ar7f1h.js} +3 -3
- package/dist/chunks/{persistent-pty-vr3dsx4b.js → ripgrep-90w1v997.js} +25 -25
- package/dist/chunks/{persistent-pty-ahszpzb1.js → ripgrep-91ja9ad4.js} +1 -1
- package/dist/chunks/{persistent-pty-edcwcjj7.js → ripgrep-9dzg75hq.js} +16 -16
- package/dist/chunks/{persistent-pty-yp8dzd9b.js → ripgrep-9hfq2hhx.js} +4 -4
- package/dist/chunks/{persistent-pty-gakcnn0z.js → ripgrep-9ry97qyb.js} +9 -9
- package/dist/chunks/{persistent-pty-k8drj7r5.js → ripgrep-9x813t64.js} +10 -10
- package/dist/chunks/{persistent-pty-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-r2pbtf1m.js → ripgrep-aafh3mn1.js} +5 -5
- package/dist/chunks/{persistent-pty-xkf2rpbc.js → ripgrep-aayfhc5z.js} +28 -28
- package/dist/chunks/{persistent-pty-a3r4dcrj.js → ripgrep-ak8wweg5.js} +2 -2
- package/dist/chunks/{persistent-pty-sv8w2zbm.js → ripgrep-apfz1ear.js} +12 -12
- package/dist/chunks/{persistent-pty-3hdyanjz.js → ripgrep-avd8ev9v.js} +4 -4
- package/dist/chunks/{persistent-pty-ztbsr2q6.js → ripgrep-ay0dkb9c.js} +6 -6
- package/dist/chunks/{persistent-pty-nrm3jg5q.js → ripgrep-b0cq6psq.js} +34 -34
- package/dist/chunks/{persistent-pty-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-4bm5ja14.js → ripgrep-bacyadyn.js} +4 -4
- package/dist/chunks/{persistent-pty-qn4ba14w.js → ripgrep-bgxcxs0p.js} +5 -5
- package/dist/chunks/{persistent-pty-kpfem4ty.js → ripgrep-bk2568rk.js} +2 -2
- package/dist/chunks/{persistent-pty-rby3xxx1.js → ripgrep-bz15szd7.js} +3 -3
- package/dist/chunks/{persistent-pty-cjzmr2wc.js → ripgrep-c4p347gs.js} +46 -46
- package/dist/chunks/{persistent-pty-8106cjk8.js → ripgrep-ca1feqth.js} +33 -33
- package/dist/chunks/{persistent-pty-qj8eh1ht.js → ripgrep-cavr175a.js} +4 -4
- package/dist/chunks/{persistent-pty-em0daefh.js → ripgrep-cdpcyq5v.js} +9 -9
- package/dist/chunks/{persistent-pty-j92nbs9r.js → ripgrep-ce6rh1wk.js} +14 -14
- package/dist/chunks/{persistent-pty-btx52nm0.js → ripgrep-cg0nv8cw.js} +295 -295
- package/dist/chunks/{persistent-pty-mg83pbjr.js → ripgrep-chxat7qs.js} +6 -6
- package/dist/chunks/{persistent-pty-af04s6ss.js → ripgrep-cr07tj7n.js} +5 -5
- package/dist/chunks/{persistent-pty-qmqgtz8f.js → ripgrep-cwa6csj7.js} +9 -9
- package/dist/chunks/{persistent-pty-jqczgfd0.js → ripgrep-cy08etkj.js} +43 -43
- package/dist/chunks/{persistent-pty-5yp8twyc.js → ripgrep-czb860pt.js} +31 -31
- package/dist/chunks/{persistent-pty-ratrq7cm.js → ripgrep-d216944b.js} +7 -7
- package/dist/chunks/{persistent-pty-ah4kcnx7.js → ripgrep-d4wy8qa8.js} +9 -9
- package/dist/chunks/{persistent-pty-fwbhdv10.js → ripgrep-d66y38gy.js} +11 -11
- package/dist/chunks/{persistent-pty-2xh021f3.js → ripgrep-d7eh8bsr.js} +20 -20
- package/dist/chunks/{persistent-pty-8p23sgx2.js → ripgrep-d8ds7rj5.js} +26 -26
- package/dist/chunks/{persistent-pty-nxmv3qtw.js → ripgrep-dbwghmjw.js} +27 -27
- package/dist/chunks/{persistent-pty-qt01bjqm.js → ripgrep-dfnxxx37.js} +9 -9
- package/dist/chunks/{persistent-pty-dj2t23y0.js → ripgrep-dj2t23y0.js} +2 -2
- package/dist/chunks/{persistent-pty-dpkg50ah.js → ripgrep-dpkg50ah.js} +1 -1
- package/dist/chunks/{persistent-pty-xfkkasph.js → ripgrep-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-kze5qbmf.js → ripgrep-dw3w34jr.js} +1 -1
- package/dist/chunks/{persistent-pty-p1rr7jpk.js → ripgrep-dw7b3qms.js} +6 -6
- package/dist/chunks/{persistent-pty-tj531n0d.js → ripgrep-dwxna5g7.js} +19 -19
- package/dist/chunks/{persistent-pty-j8bvp1fm.js → ripgrep-e5dg48hd.js} +22 -22
- package/dist/chunks/{persistent-pty-g06jb19y.js → ripgrep-e9b9nd94.js} +7 -7
- package/dist/chunks/{persistent-pty-rtathh62.js → ripgrep-ednp5hmx.js} +5 -5
- package/dist/chunks/{persistent-pty-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-hp1gy4dq.js → ripgrep-f40ag0j2.js} +30 -30
- package/dist/chunks/{persistent-pty-pwc6j5c3.js → ripgrep-f4kqtx6e.js} +30 -30
- package/dist/chunks/{persistent-pty-7vnscw7e.js → ripgrep-f4tkn7h6.js} +24 -24
- package/dist/chunks/{persistent-pty-43v53x48.js → ripgrep-f90grvra.js} +14 -14
- package/dist/chunks/{persistent-pty-bz85s9hh.js → ripgrep-fch79rh9.js} +1 -1
- package/dist/chunks/{persistent-pty-wfbbatkv.js → ripgrep-fd8q8m3t.js} +7 -7
- package/dist/chunks/{persistent-pty-db85t7kk.js → ripgrep-fjmxef0p.js} +9 -9
- package/dist/chunks/{persistent-pty-jexxy024.js → ripgrep-fqka1xvk.js} +3 -3
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-9zmt1vx9.js → ripgrep-g2zrx1jt.js} +21 -21
- package/dist/chunks/{persistent-pty-zgbvzy4h.js → ripgrep-g34jrx17.js} +11 -11
- package/dist/chunks/{persistent-pty-mdtxnk3g.js → ripgrep-g9dk0zyp.js} +15 -15
- package/dist/chunks/{persistent-pty-mw5jjxyq.js → ripgrep-gbjx53sn.js} +36 -36
- package/dist/chunks/{persistent-pty-y906m0ew.js → ripgrep-gcavn3wx.js} +5 -5
- package/dist/chunks/{persistent-pty-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-y0ge2r9f.js → ripgrep-gq3f66va.js} +2 -2
- package/dist/chunks/{persistent-pty-akrnn5pm.js → ripgrep-gra0vtax.js} +8 -8
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-2rwww3fn.js → ripgrep-gv8mykwk.js} +3 -3
- package/dist/chunks/{persistent-pty-mxqdc3nz.js → ripgrep-gvbhv7ac.js} +32 -32
- package/dist/chunks/{persistent-pty-se3v9tfx.js → ripgrep-gxcpp7ch.js} +27 -27
- package/dist/chunks/{persistent-pty-h03wrkyp.js → ripgrep-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-8hwhcqqg.js → ripgrep-h3100r6a.js} +20 -20
- package/dist/chunks/{persistent-pty-27kesqea.js → ripgrep-h40dny12.js} +16 -16
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → ripgrep-h6r3nrb9.js} +1 -1
- package/dist/chunks/{persistent-pty-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-zsphfh87.js → ripgrep-hbgnhwv0.js} +19 -19
- package/dist/chunks/{persistent-pty-hdnk95c8.js → ripgrep-hdnk95c8.js} +2 -2
- package/dist/chunks/{persistent-pty-9y5n8jnt.js → ripgrep-hhg1hgsd.js} +21 -21
- package/dist/chunks/{persistent-pty-gq0aze3h.js → ripgrep-hzy9092j.js} +30 -30
- package/dist/chunks/{persistent-pty-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-j58c5xyq.js → ripgrep-j58c5xyq.js} +2 -2
- package/dist/chunks/{persistent-pty-3dnp56pr.js → ripgrep-j6mxb410.js} +13 -13
- package/dist/chunks/{persistent-pty-bf0ztrs3.js → ripgrep-j83byb14.js} +4 -4
- package/dist/chunks/{persistent-pty-dyyx6kgc.js → ripgrep-j8zhn7s7.js} +15 -15
- package/dist/chunks/{persistent-pty-b5ew5r0t.js → ripgrep-jdca20rw.js} +124 -124
- package/dist/chunks/{persistent-pty-ycjb11n5.js → ripgrep-jkp0d30b.js} +6 -6
- package/dist/chunks/{persistent-pty-mnf1jt53.js → ripgrep-jrf2f6cf.js} +22 -22
- package/dist/chunks/{persistent-pty-k3gnzxs0.js → ripgrep-k3gnzxs0.js} +2 -2
- package/dist/chunks/{persistent-pty-j8ew5444.js → ripgrep-k55gjfae.js} +3 -3
- package/dist/chunks/{persistent-pty-46h4yk7y.js → ripgrep-kh0f1jb7.js} +9 -9
- package/dist/chunks/{persistent-pty-44ke2mar.js → ripgrep-knb7evpn.js} +2 -2
- package/dist/chunks/{persistent-pty-aw8xkpzd.js → ripgrep-kp7tnnwc.js} +13 -13
- package/dist/chunks/{persistent-pty-9p9te0yq.js → ripgrep-kpvbwx41.js} +24 -24
- package/dist/chunks/{persistent-pty-43vp44v8.js → ripgrep-kwkytdc2.js} +47 -47
- package/dist/chunks/{persistent-pty-m0jqrx5p.js → ripgrep-m0jqrx5p.js} +2 -2
- package/dist/chunks/{persistent-pty-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-2y34zzjz.js → ripgrep-marnn1hp.js} +7 -7
- package/dist/chunks/{persistent-pty-qbvsdytj.js → ripgrep-mdvcq96a.js} +1 -1
- package/dist/chunks/{persistent-pty-06dxphr1.js → ripgrep-mfhfdr54.js} +4 -4
- package/dist/chunks/{persistent-pty-69qp09he.js → ripgrep-msvbmbcr.js} +4 -4
- package/dist/chunks/{persistent-pty-xbw6anr4.js → ripgrep-mzj135eg.js} +13 -13
- package/dist/chunks/{persistent-pty-7x79k76q.js → ripgrep-n3weg7ag.js} +30 -30
- package/dist/chunks/{persistent-pty-vqxe66hv.js → ripgrep-n5fpbwgd.js} +12 -12
- package/dist/chunks/{persistent-pty-4scff3yx.js → ripgrep-n6vwdwpw.js} +87 -87
- package/dist/chunks/{persistent-pty-tbgrq2h7.js → ripgrep-n9j23xfd.js} +7 -7
- package/dist/chunks/{persistent-pty-md1q8d4s.js → ripgrep-npeh470p.js} +17 -17
- package/dist/chunks/{persistent-pty-xndy1brp.js → ripgrep-nx0jwge5.js} +4 -4
- package/dist/chunks/{persistent-pty-k3c624dm.js → ripgrep-nzks3jc8.js} +3 -3
- package/dist/chunks/{persistent-pty-t3e2pjga.js → ripgrep-p0n61q8f.js} +3 -3
- package/dist/chunks/{persistent-pty-8ckeceky.js → ripgrep-p2gtnhak.js} +20 -20
- package/dist/chunks/{persistent-pty-0q14gyha.js → ripgrep-p3n45r32.js} +4 -4
- package/dist/chunks/{persistent-pty-tegm9nvs.js → ripgrep-p5d19shb.js} +15 -15
- package/dist/chunks/{persistent-pty-xv9ma6ry.js → ripgrep-pb5p9z4r.js} +15 -15
- package/dist/chunks/{persistent-pty-18yg4hgb.js → ripgrep-pc67qyx0.js} +2 -2
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-kgeynd61.js → ripgrep-pnqj10zg.js} +12 -12
- package/dist/chunks/{persistent-pty-jjht5kq7.js → ripgrep-pt7t6ddq.js} +15 -15
- package/dist/chunks/{persistent-pty-0abzxk01.js → ripgrep-q5kj48pe.js} +47 -47
- package/dist/chunks/{persistent-pty-7p76c24s.js → ripgrep-qfypqa38.js} +3 -3
- package/dist/chunks/{persistent-pty-c9rej1jf.js → ripgrep-qgky3r4x.js} +18 -18
- package/dist/chunks/{persistent-pty-74esd9zg.js → ripgrep-qkzhpde6.js} +8 -8
- package/dist/chunks/{persistent-pty-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-qs8m1hnz.js → ripgrep-r22bxp1s.js} +20 -20
- package/dist/chunks/ripgrep-rbmavd1e.js +252 -0
- package/dist/chunks/{persistent-pty-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/ripgrep-rgvvcc97.js +26 -0
- package/dist/chunks/{persistent-pty-xajwbek5.js → ripgrep-rq1gnye7.js} +2 -2
- package/dist/chunks/{persistent-pty-nvdt7cxy.js → ripgrep-rrawd10r.js} +8 -8
- package/dist/chunks/{persistent-pty-4kqw14kn.js → ripgrep-s0h6hwms.js} +13 -13
- package/dist/chunks/{persistent-pty-be0xfwc6.js → ripgrep-s0jg4zzy.js} +8 -8
- package/dist/chunks/{persistent-pty-ga8ekxq3.js → ripgrep-s0wfqjsp.js} +8 -8
- package/dist/chunks/{persistent-pty-k6w2t1ya.js → ripgrep-s3vkv9ay.js} +4 -4
- package/dist/chunks/{persistent-pty-eaj1djv9.js → ripgrep-s8d7rejh.js} +6 -6
- package/dist/chunks/{persistent-pty-v8wrdptb.js → ripgrep-s8e4jhvw.js} +22 -22
- package/dist/chunks/{persistent-pty-hmdeq4v3.js → ripgrep-she15rnf.js} +18 -18
- package/dist/chunks/{persistent-pty-6nagbv76.js → ripgrep-svx8wpky.js} +8 -8
- package/dist/chunks/{persistent-pty-dbyf6pmq.js → ripgrep-t5pprbf2.js} +3 -3
- package/dist/chunks/{persistent-pty-0bjwe8an.js → ripgrep-t7b12atk.js} +10 -10
- package/dist/chunks/{persistent-pty-afdssyjb.js → ripgrep-t7n9q6bq.js} +4 -4
- package/dist/chunks/{persistent-pty-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-xmm5j47e.js → ripgrep-tgy6hrs3.js} +10 -10
- package/dist/chunks/{persistent-pty-a6ydtnj7.js → ripgrep-tq3zv7cf.js} +22 -22
- package/dist/chunks/{persistent-pty-ya3ej9zv.js → ripgrep-ts3pqwha.js} +3 -3
- package/dist/chunks/{persistent-pty-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-8da4efp4.js → ripgrep-txgxjvay.js} +4 -4
- package/dist/chunks/{persistent-pty-0f1em0ez.js → ripgrep-v5tgfvex.js} +7 -7
- package/dist/chunks/{persistent-pty-sdc2ahzz.js → ripgrep-v5xjxbe4.js} +24 -24
- package/dist/chunks/{persistent-pty-ybhbtxjg.js → ripgrep-v8g8r3p5.js} +6 -6
- package/dist/chunks/{persistent-pty-bkzets0h.js → ripgrep-v8ve3wgc.js} +1 -1
- package/dist/chunks/{persistent-pty-9ytqehrq.js → ripgrep-v8vq7r7f.js} +11 -11
- package/dist/chunks/{persistent-pty-r72bb3g5.js → ripgrep-v96nt2qe.js} +8 -8
- package/dist/chunks/{persistent-pty-tbgyadps.js → ripgrep-vb00q1v9.js} +8 -8
- package/dist/chunks/{persistent-pty-yz5gadm7.js → ripgrep-vbb3gddg.js} +68 -68
- package/dist/chunks/{persistent-pty-y9k7smv5.js → ripgrep-vc564wg7.js} +14 -14
- package/dist/chunks/{persistent-pty-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-dws7cgfq.js → ripgrep-vy1yq70x.js} +6 -6
- package/dist/chunks/{persistent-pty-66dyjrem.js → ripgrep-vykw7zqz.js} +18 -18
- package/dist/chunks/{persistent-pty-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-5v97j575.js → ripgrep-vzsadx9p.js} +26 -26
- package/dist/chunks/{persistent-pty-rma8wxqr.js → ripgrep-w06a0nwk.js} +17 -17
- package/dist/chunks/{persistent-pty-08bhejcc.js → ripgrep-w0v82d0j.js} +22 -22
- package/dist/chunks/{persistent-pty-gcbc03sz.js → ripgrep-w1j7ev2x.js} +22 -22
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-ba82ctx4.js → ripgrep-w5ngm8t2.js} +49 -49
- package/dist/chunks/{persistent-pty-patgj9rf.js → ripgrep-w9vf9qqj.js} +9 -9
- package/dist/chunks/{persistent-pty-mzpz6184.js → ripgrep-waddknf4.js} +11 -11
- package/dist/chunks/{persistent-pty-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-vph6zqr2.js → ripgrep-wg0w5w98.js} +11 -11
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-k1gkpfdk.js → ripgrep-x353b1jt.js} +8 -8
- package/dist/chunks/{persistent-pty-jaqtfry5.js → ripgrep-x3zbw1yr.js} +16 -16
- package/dist/chunks/{persistent-pty-mpahdt45.js → ripgrep-x56f7h0m.js} +8 -8
- package/dist/chunks/{persistent-pty-wbrh8mmr.js → ripgrep-xb3sekxh.js} +7 -7
- package/dist/chunks/{persistent-pty-v6p4jrsd.js → ripgrep-xf0sbpps.js} +11 -11
- package/dist/chunks/{persistent-pty-ryn2s76s.js → ripgrep-xh3133gz.js} +25 -25
- package/dist/chunks/{persistent-pty-kcmy9jxr.js → ripgrep-xpqxqtfq.js} +24 -24
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-re6b68jt.js → ripgrep-y4ah2e8h.js} +9 -9
- package/dist/chunks/{persistent-pty-5hj37ers.js → ripgrep-y4fpdsh6.js} +44 -44
- package/dist/chunks/{persistent-pty-ww52grw6.js → ripgrep-y74g1x1t.js} +16 -16
- package/dist/chunks/{persistent-pty-bp73j9d8.js → ripgrep-yb42q6p1.js} +9 -9
- package/dist/chunks/{persistent-pty-yn8wfmf6.js → ripgrep-ykcw79z8.js} +23 -23
- package/dist/chunks/{persistent-pty-rhraev7y.js → ripgrep-yp2x3t23.js} +4 -4
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-m2d0j7c0.js → ripgrep-ywkfy99j.js} +9 -9
- package/dist/chunks/{persistent-pty-zmpf3yp4.js → ripgrep-ywrccad0.js} +17 -17
- package/dist/chunks/{persistent-pty-sc61929c.js → ripgrep-yzr1kymw.js} +10 -10
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-fgj0ctqj.js → ripgrep-z38k3xwh.js} +20 -20
- package/dist/chunks/{persistent-pty-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-x44f4n8q.js → ripgrep-z8pq1ztv.js} +12 -12
- package/dist/chunks/{persistent-pty-7kjjtcaz.js → ripgrep-zdrqx1m8.js} +9 -9
- package/dist/chunks/{persistent-pty-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-xtv69tq4.js → ripgrep-zka0xqjx.js} +8 -8
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-a4bygxwv.js → ripgrep-ztevdd3z.js} +20 -20
- package/dist/chunks/{persistent-pty-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- 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 +90 -90
- 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 +357 -357
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +74 -74
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +90 -90
- 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 +85 -85
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-dxj72tfx.js +0 -18
- package/dist/chunks/persistent-pty-gsphepnq.js +0 -26
- package/dist/chunks/persistent-pty-nvh8apkc.js +0 -252
- /package/dist/chunks/{persistent-pty-0mesazry.js → ripgrep-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service81,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node85
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service81 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service81.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-s8d7rejh.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-5c4hm403.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 = {};
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer18,
|
|
12
|
+
make: () => make15,
|
|
13
|
+
node: () => node47,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make15()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make15(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer18 = (input) => Layer.succeed(Metadata2, make15(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
|
|
33
|
+
var node47 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make15, useragent2, layer18, configured8, node47, exports_app };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-3ey620wm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service43,
|
|
6
|
+
Event8
|
|
7
|
+
} from "./ripgrep-hzy9092j.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service43;
|
|
33
33
|
const bus = yield* Service82;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -59,7 +59,7 @@ var ModelsDevPlugin2 = define({
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
|
-
yield* bus.subscribe(
|
|
62
|
+
yield* bus.subscribe(Event8.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
63
63
|
})
|
|
64
64
|
});
|
|
65
65
|
function environmentNames(provider) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make6(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make6 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service77
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-x56f7h0m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./ripgrep-w5ngm8t2.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service17
|
|
14
|
+
} from "./ripgrep-vykw7zqz.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input11,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin29,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name11 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input11 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin29 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
52
|
+
const permission = yield* Service52;
|
|
53
53
|
const forms = yield* Service77;
|
|
54
|
-
const websearch = yield*
|
|
54
|
+
const websearch = yield* Service17;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name11,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input11,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name11,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name11];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name11, NO_RESULTS2, description5, Input11, Plugin29, exports_websearch2 };
|
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service79
|
|
8
|
+
} from "./ripgrep-f90grvra.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service61
|
|
11
|
+
} from "./ripgrep-xpqxqtfq.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service56
|
|
14
|
+
} from "./ripgrep-she15rnf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service15,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-0ybxp83h.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service52
|
|
22
|
+
} from "./ripgrep-w5ngm8t2.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service14,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-qgky3r4x.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
41
|
+
Plugin: () => Plugin26,
|
|
42
|
+
name: () => name8,
|
|
43
43
|
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name8 = "patch";
|
|
89
|
+
var Input8 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
@@ -105,21 +105,21 @@ var toModelContent5 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin26 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service61;
|
|
112
|
+
const access = yield* Service14;
|
|
113
|
+
const fileMutation = yield* Service15;
|
|
114
|
+
const formatter = yield* Service56;
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const permission = yield* Service52;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input8,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name8, Input8, Applied2, Output5, toModelContent5, Plugin26, exports_patch };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-msvbmbcr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make5,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -99,7 +99,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
99
99
|
return true;
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var make5 = (bus, sessionID) => Effect.gen(function* () {
|
|
103
103
|
const decide = yield* policy2(sessionID);
|
|
104
104
|
const wait = (input) => Effect.gen(function* () {
|
|
105
105
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -116,4 +116,4 @@ var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
116
116
|
return { decide, wait };
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
-
export { isRetryable2, policy2, transient2,
|
|
119
|
+
export { isRetryable2, policy2, transient2, make5, exports_retry };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names4,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names4() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names4, paths2, exports_protected };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./ripgrep-f90grvra.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./ripgrep-xpqxqtfq.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service60
|
|
16
|
+
} from "./ripgrep-3ystes8p.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry4,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-f40ag0j2.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service52
|
|
26
|
+
} from "./ripgrep-w5ngm8t2.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service14
|
|
29
|
+
} from "./ripgrep-qgky3r4x.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
|
+
Plugin: () => Plugin30,
|
|
41
|
+
name: () => name12,
|
|
42
|
+
toModelContent: () => toModelContent6
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name12 = "grep";
|
|
48
|
+
var Input12 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input7 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output8 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin30 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service61;
|
|
90
|
+
const ripgrep = yield* Service60;
|
|
91
|
+
const location = yield* Service79;
|
|
92
|
+
const access = yield* Service14;
|
|
93
|
+
const permission = yield* Service52;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name12,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input12,
|
|
99
|
+
output: Output8,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name12,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin7 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry4.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -144,7 +144,7 @@ var Plugin7 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin7 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name12, Input12, Output8, toModelContent6, Plugin30, exports_grep };
|