@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-0y46xc02.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node66
|
|
12
|
+
} from "./ripgrep-chxat7qs.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info24,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service62,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured10,
|
|
30
|
+
node: () => node65
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID11 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info24 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID11,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info10 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID11,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service62 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service62,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node87,
|
|
64
|
+
deps: [node87, node66]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service83).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info24({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service62.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID11.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node65 = configured10();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID11, Info24, NotFound3, CreateConflict2, Service62, configured10, node65, exports_workspace };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./ripgrep-f90grvra.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service14
|
|
9
|
+
} from "./ripgrep-qgky3r4x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./ripgrep-40qcz11w.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service5
|
|
27
|
+
} from "./ripgrep-pt7t6ddq.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input6,
|
|
36
|
+
Plugin: () => Plugin24,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name6,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name6 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input6 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin24 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service5;
|
|
62
|
+
const access = yield* Service14;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name6,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input6,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin13 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent4 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name6, Input6, Plugin24, toModelContent4, exports_read };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-7jfq7jze.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin34,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin34 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin38 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin38 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin34, exports_firecrawl };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make14(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-7jfq7jze.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
11
|
Plugin: () => Plugin35,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -51,7 +51,7 @@ var Plugin35 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin35 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin35, exports_tavily };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-3ey620wm.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./ripgrep-f90grvra.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID13,
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
mergeHeaders2,
|
|
18
18
|
Service74,
|
|
19
19
|
node78,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Event17
|
|
21
|
+
} from "./ripgrep-pb5p9z4r.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/model.ts
|
|
27
27
|
var exports_model2 = {};
|
|
@@ -29,24 +29,24 @@ __export(exports_model2, {
|
|
|
29
29
|
Capabilities: () => Capabilities2,
|
|
30
30
|
Compatibility: () => Compatibility2,
|
|
31
31
|
Cost: () => Cost2,
|
|
32
|
-
Event: () =>
|
|
32
|
+
Event: () => Event16,
|
|
33
33
|
Family: () => Family2,
|
|
34
34
|
ID: () => ID12,
|
|
35
35
|
Info: () => Info26,
|
|
36
36
|
Model: () => exports_model2,
|
|
37
37
|
ReasoningField: () => ReasoningField2,
|
|
38
38
|
Ref: () => Ref2,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service72,
|
|
40
40
|
VariantID: () => VariantID2,
|
|
41
41
|
compatibility: () => compatibility2,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node76,
|
|
43
43
|
parse: () => parse5
|
|
44
44
|
});
|
|
45
45
|
import { Model } from "@opencode/schema/model";
|
|
46
46
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
47
47
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
48
48
|
import { freeze } from "immer";
|
|
49
|
-
import { Event as
|
|
49
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
50
50
|
var ID12 = Model.ID;
|
|
51
51
|
var VariantID2 = Model.VariantID;
|
|
52
52
|
var Family2 = Model.Family;
|
|
@@ -57,12 +57,12 @@ var Cost2 = Model.Cost;
|
|
|
57
57
|
var Ref2 = Model.Ref;
|
|
58
58
|
var Info26 = Model.Info;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service72 extends Context.Service()("@opencode/Model") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
62
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
63
63
|
const providers = yield* Service74;
|
|
64
64
|
const bus = yield* Service82;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
let input;
|
|
67
67
|
const state = create3({
|
|
68
68
|
name: "model",
|
|
@@ -198,8 +198,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
198
198
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
199
199
|
});
|
|
200
200
|
});
|
|
201
|
-
yield* bus.subscribe(
|
|
202
|
-
return
|
|
201
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
202
|
+
return Service72.of({
|
|
203
203
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
204
204
|
reload,
|
|
205
205
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
218
218
|
})
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
|
-
var
|
|
221
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [node78, node86, node83] });
|
|
222
222
|
function compatibility2(input) {
|
|
223
223
|
if (typeof input === "string")
|
|
224
224
|
return { reasoningField: input };
|
|
@@ -234,4 +234,4 @@ function parse5(input) {
|
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26,
|
|
237
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service72, node76, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-0y46xc02.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-3ey620wm.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-mfhfdr54.js";
|
|
21
21
|
import {
|
|
22
22
|
load5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-vb00q1v9.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-fch79rh9.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-aayfhc5z.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./ripgrep-msvbmbcr.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./ripgrep-897mca6w.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./ripgrep-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./ripgrep-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service7,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer6,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node9,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service7 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer6 = Layer.effect(
|
|
301
|
+
var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service82;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service83).db;
|
|
@@ -607,7 +607,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
607
607
|
}
|
|
608
608
|
}));
|
|
609
609
|
});
|
|
610
|
-
return
|
|
610
|
+
return Service7.of({
|
|
611
611
|
transform: state.transform,
|
|
612
612
|
reload: state.reload,
|
|
613
613
|
enabled: () => state.get().auto,
|
|
@@ -616,10 +616,10 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
616
616
|
compactManual
|
|
617
617
|
});
|
|
618
618
|
}));
|
|
619
|
-
var
|
|
620
|
-
service:
|
|
619
|
+
var node9 = makeLocationNode({
|
|
620
|
+
service: Service7,
|
|
621
621
|
layer: layer6,
|
|
622
622
|
deps: [node86, node87, llmClient2]
|
|
623
623
|
});
|
|
624
624
|
|
|
625
|
-
export {
|
|
625
|
+
export { Service7, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node9, exports_compaction2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service35
|
|
4
|
+
} from "./ripgrep-056sf8v6.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin46,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service35;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin44 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin46, exports_warming };
|