@opencode/core 0.0.0-dev-20225 → 0.0.0-dev-20229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{integration-hraga64b.js → ripgrep-02jfzr1n.js} +9 -9
- package/dist/chunks/{integration-6a1k0919.js → ripgrep-06zjq4kk.js} +11 -11
- package/dist/chunks/{integration-gd69gam6.js → ripgrep-09r6bem7.js} +17 -17
- package/dist/chunks/{integration-fdg6dk35.js → ripgrep-0antrmc1.js} +10 -10
- package/dist/chunks/{integration-8qfaf98e.js → ripgrep-0ebnstrp.js} +27 -27
- package/dist/chunks/{integration-gpyq5wxf.js → ripgrep-0fvk3drk.js} +8 -8
- package/dist/chunks/{integration-8792ynvx.js → ripgrep-0j4spdcs.js} +4 -4
- package/dist/chunks/{integration-smvcjnft.js → ripgrep-0ks27nrh.js} +38 -38
- package/dist/chunks/{integration-z7p94bkx.js → ripgrep-0nxbz9g5.js} +28 -28
- package/dist/chunks/{integration-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-qdbakdjh.js → ripgrep-0ryd0fps.js} +5 -5
- package/dist/chunks/{integration-y1qqcj8h.js → ripgrep-0t9wd588.js} +8 -8
- package/dist/chunks/{integration-6n0qrh8h.js → ripgrep-0yp90j0g.js} +6 -6
- package/dist/chunks/{integration-vn9428k7.js → ripgrep-118kj19k.js} +7 -7
- package/dist/chunks/{integration-n6t5rd58.js → ripgrep-11skqav9.js} +77 -77
- package/dist/chunks/{integration-5xtgfte3.js → ripgrep-1ajx6rf5.js} +8 -8
- package/dist/chunks/{integration-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{integration-tdf9379j.js → ripgrep-1j2r6vf4.js} +7 -7
- package/dist/chunks/{integration-zbcasdk5.js → ripgrep-1qxqsx3z.js} +1 -1
- package/dist/chunks/{integration-g65rygdb.js → ripgrep-1w79vp60.js} +31 -31
- package/dist/chunks/{integration-vbfgae2j.js → ripgrep-1y283654.js} +4 -4
- package/dist/chunks/{integration-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{integration-q9pdf724.js → ripgrep-28nksq6y.js} +8 -8
- package/dist/chunks/{integration-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-z3v1wmam.js → ripgrep-2z7bsgcd.js} +29 -29
- package/dist/chunks/{integration-z29p4v5f.js → ripgrep-35atjjte.js} +27 -27
- package/dist/chunks/{integration-7b2mcdh0.js → ripgrep-3849nkrv.js} +12 -12
- package/dist/chunks/{integration-2d57kztd.js → ripgrep-3b1q5j1v.js} +6 -6
- package/dist/chunks/{integration-tgd5gd8z.js → ripgrep-3f3jy9nt.js} +26 -26
- package/dist/chunks/{integration-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/ripgrep-3g47k8bj.js +26 -0
- package/dist/chunks/{integration-jgqjabpd.js → ripgrep-3h6g4yxf.js} +14 -14
- package/dist/chunks/{integration-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-2byw5zm9.js → ripgrep-3mr58zvy.js} +3 -3
- package/dist/chunks/{integration-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3ejc9np2.js → ripgrep-3tvqrhj3.js} +9 -9
- package/dist/chunks/{integration-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-cybjyhj8.js → ripgrep-3v0zm7c6.js} +13 -13
- package/dist/chunks/{integration-z3pw5915.js → ripgrep-3w0fmcng.js} +5 -5
- package/dist/chunks/{integration-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{integration-spar1ava.js → ripgrep-422mtr2z.js} +3 -3
- package/dist/chunks/{integration-s4qpaza9.js → ripgrep-4400tn2z.js} +30 -30
- package/dist/chunks/{integration-xxndcd6m.js → ripgrep-44pdqs77.js} +4 -4
- package/dist/chunks/{integration-xeb0zfag.js → ripgrep-47txkgwg.js} +21 -21
- package/dist/chunks/{integration-neke8y15.js → ripgrep-48qwr564.js} +6 -6
- package/dist/chunks/{integration-p60p17fm.js → ripgrep-4k61gtt7.js} +15 -15
- package/dist/chunks/{integration-fvn4hzkp.js → ripgrep-4pvhcca7.js} +13 -13
- package/dist/chunks/{integration-g84vzkh9.js → ripgrep-4vmfrt63.js} +9 -9
- package/dist/chunks/{integration-ckecvw8r.js → ripgrep-54tcyq79.js} +2 -2
- package/dist/chunks/{integration-1ygqh575.js → ripgrep-56gdpj1q.js} +9 -9
- package/dist/chunks/{integration-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{integration-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-yqyzzxwd.js → ripgrep-5e76c55v.js} +5 -5
- package/dist/chunks/{integration-z0nvg8z8.js → ripgrep-5jt9y05x.js} +43 -43
- package/dist/chunks/{integration-wxgrhan6.js → ripgrep-5pt14vhf.js} +16 -16
- package/dist/chunks/{integration-e3qxr5gk.js → ripgrep-5qd3pb7m.js} +2 -2
- package/dist/chunks/{integration-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{integration-p487xezt.js → ripgrep-5wbzy8nn.js} +8 -8
- package/dist/chunks/{integration-tsf0tchq.js → ripgrep-5ztw1556.js} +7 -7
- package/dist/chunks/{integration-fcrkznn8.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{integration-nx97ad9f.js → ripgrep-65asva9x.js} +24 -24
- package/dist/chunks/{integration-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{integration-vy4zg7qh.js → ripgrep-68y7phbn.js} +5 -5
- package/dist/chunks/{integration-s3r9kgb0.js → ripgrep-6b77vcbw.js} +8 -8
- package/dist/chunks/{integration-peqamsx4.js → ripgrep-6egqwrjf.js} +2 -2
- package/dist/chunks/{integration-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{integration-xsc51daq.js → ripgrep-6x4rvyv1.js} +20 -20
- package/dist/chunks/{integration-0n74wb1y.js → ripgrep-70f0pfem.js} +14 -14
- package/dist/chunks/{integration-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-hngqn4yp.js → ripgrep-7cj56fr8.js} +15 -15
- package/dist/chunks/{integration-ypy2wr3e.js → ripgrep-7j1nyp11.js} +11 -11
- package/dist/chunks/ripgrep-7kmmr6nj.js +252 -0
- package/dist/chunks/{integration-xvp1j2dc.js → ripgrep-7pr2hkwv.js} +5 -5
- package/dist/chunks/{integration-207ajt2h.js → ripgrep-7xyrrtj6.js} +5 -5
- package/dist/chunks/{integration-mhkvc446.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{integration-004typk3.js → ripgrep-7znnsvj9.js} +15 -15
- package/dist/chunks/{integration-em2td48j.js → ripgrep-82ynta9e.js} +28 -28
- package/dist/chunks/{integration-6zs6vn7z.js → ripgrep-83a3b7v7.js} +20 -20
- package/dist/chunks/{integration-yrcasac4.js → ripgrep-84925a50.js} +13 -13
- package/dist/chunks/{integration-2402vzrj.js → ripgrep-84txncab.js} +2 -2
- package/dist/chunks/{integration-batqd7zg.js → ripgrep-890ccxt6.js} +10 -10
- package/dist/chunks/{integration-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{integration-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{integration-tyyk4h9e.js → ripgrep-8djh5arb.js} +8 -8
- package/dist/chunks/{integration-53enx8t7.js → ripgrep-8zf437sr.js} +9 -9
- package/dist/chunks/{integration-3750waw3.js → ripgrep-8zj9r478.js} +8 -8
- package/dist/chunks/{integration-kx90v2pa.js → ripgrep-90ar7f1h.js} +6 -6
- package/dist/chunks/{integration-zn11c7wh.js → ripgrep-930djq8z.js} +20 -20
- package/dist/chunks/{integration-efjp555c.js → ripgrep-99sz5wqb.js} +6 -6
- package/dist/chunks/{integration-r6rdvm1e.js → ripgrep-9jy5zj8y.js} +14 -14
- package/dist/chunks/{integration-7pjqbtph.js → ripgrep-9rz3pcwr.js} +3 -3
- package/dist/chunks/{integration-5ygx4xgr.js → ripgrep-9satsa0x.js} +22 -22
- package/dist/chunks/{integration-vngc4nsz.js → ripgrep-a2w83xt4.js} +26 -26
- package/dist/chunks/{integration-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-b9c4cs5t.js → ripgrep-abt26qbx.js} +20 -20
- package/dist/chunks/{integration-ze76zm0t.js → ripgrep-agkcfxfp.js} +6 -6
- package/dist/chunks/{integration-eh9hc8zz.js → ripgrep-ajetnjhk.js} +45 -45
- package/dist/chunks/{integration-042q83f5.js → ripgrep-ak8wweg5.js} +2 -2
- package/dist/chunks/{integration-469k0zve.js → ripgrep-at9pxffm.js} +17 -17
- package/dist/chunks/{integration-pkxfpd18.js → ripgrep-ay0dkb9c.js} +6 -6
- package/dist/chunks/{integration-292g12x5.js → ripgrep-b31k3rgg.js} +9 -9
- package/dist/chunks/{integration-b62cz6t4.js → ripgrep-b563cd88.js} +21 -21
- package/dist/chunks/{integration-k4ktkddb.js → ripgrep-b5rg9k2a.js} +4 -4
- package/dist/chunks/{integration-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-92a4ap4w.js → ripgrep-bgxcxs0p.js} +5 -5
- package/dist/chunks/{integration-z07pqspn.js → ripgrep-bjtzbw4r.js} +3 -3
- package/dist/chunks/{integration-4vvrcdg3.js → ripgrep-bmc4xpke.js} +24 -24
- package/dist/chunks/{integration-th878m9f.js → ripgrep-bmxgdxm8.js} +14 -14
- package/dist/chunks/{integration-bsg90znx.js → ripgrep-bq2bgfnr.js} +30 -30
- package/dist/chunks/{integration-jmws5egn.js → ripgrep-by02v520.js} +15 -15
- package/dist/chunks/{integration-qkfxsw11.js → ripgrep-by9ynfjg.js} +11 -11
- package/dist/chunks/{integration-cgsrrj7q.js → ripgrep-c1w9r3v6.js} +20 -20
- package/dist/chunks/{integration-5dkn69vz.js → ripgrep-c35597j6.js} +4 -4
- package/dist/chunks/{integration-gnnqe2b8.js → ripgrep-c4qkmtec.js} +12 -12
- package/dist/chunks/{integration-pwjk7cxg.js → ripgrep-c5csqyae.js} +10 -10
- package/dist/chunks/{integration-4x10yshe.js → ripgrep-c871hbrt.js} +2 -2
- package/dist/chunks/{integration-t51qk8jz.js → ripgrep-cavr175a.js} +21 -21
- package/dist/chunks/{integration-0ev7dtb1.js → ripgrep-cd5qxzby.js} +31 -31
- package/dist/chunks/{integration-ar3p4ab9.js → ripgrep-cp62wjev.js} +17 -17
- package/dist/chunks/{integration-ead3g9p8.js → ripgrep-cr07tj7n.js} +5 -5
- package/dist/chunks/{integration-c765mh8b.js → ripgrep-cwa6csj7.js} +9 -9
- package/dist/chunks/{integration-w04afbgk.js → ripgrep-cy08etkj.js} +43 -43
- package/dist/chunks/{integration-ksbehr0q.js → ripgrep-czf913v6.js} +7 -7
- package/dist/chunks/{integration-19vf66h0.js → ripgrep-d216944b.js} +7 -7
- package/dist/chunks/{integration-eqap4rx8.js → ripgrep-d7qrjzdq.js} +25 -25
- package/dist/chunks/{integration-r3ndzc0r.js → ripgrep-dftdgzwf.js} +32 -32
- package/dist/chunks/{integration-kne8f3cn.js → ripgrep-dhmh7aw6.js} +4 -4
- package/dist/chunks/{integration-xkntkrq7.js → ripgrep-dmqcgk4z.js} +5 -5
- package/dist/chunks/{integration-b4eksnnw.js → ripgrep-dpeqjypf.js} +4 -4
- package/dist/chunks/{integration-y71avatq.js → ripgrep-dpkg50ah.js} +4 -4
- package/dist/chunks/{integration-drwq78ky.js → ripgrep-drwq78ky.js} +1 -1
- package/dist/chunks/{integration-7bpa53t8.js → ripgrep-ds8dekzs.js} +5 -5
- package/dist/chunks/ripgrep-dxj72tfx.js +18 -0
- package/dist/chunks/{integration-vca532yr.js → ripgrep-e3x42eyx.js} +4 -4
- package/dist/chunks/{integration-f5dss5et.js → ripgrep-e73e9hqb.js} +25 -25
- package/dist/chunks/{integration-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{integration-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{integration-7vgytrt0.js → ripgrep-efbjszw7.js} +1 -1
- package/dist/chunks/{integration-z0ctvamz.js → ripgrep-egybd8b7.js} +3 -3
- package/dist/chunks/{integration-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{integration-q7kyp8as.js → ripgrep-ey1ph643.js} +5 -5
- package/dist/chunks/{integration-wcn0fz8d.js → ripgrep-f3gec5hw.js} +4 -4
- package/dist/chunks/{integration-wtvcrsd8.js → ripgrep-fcwgv8gv.js} +16 -16
- package/dist/chunks/{integration-ng1b0yq9.js → ripgrep-fj7pyrjd.js} +24 -24
- package/dist/chunks/{integration-h5w29vws.js → ripgrep-fp2xarvc.js} +1 -1
- package/dist/chunks/{integration-qsee9sfb.js → ripgrep-fqka1xvk.js} +2 -2
- package/dist/chunks/{integration-pjkxjfx2.js → ripgrep-ftdfymg3.js} +8 -8
- package/dist/chunks/{integration-d23shgks.js → ripgrep-g6eythae.js} +68 -68
- package/dist/chunks/{integration-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-fsyzgk7x.js → ripgrep-gdesffbr.js} +12 -12
- package/dist/chunks/{integration-94ek1h2f.js → ripgrep-gfvb90ym.js} +2 -2
- package/dist/chunks/{integration-9vqd3vkv.js → ripgrep-gq3f66va.js} +2 -2
- package/dist/chunks/{integration-44z42ma4.js → ripgrep-gra0vtax.js} +11 -11
- package/dist/chunks/{integration-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{integration-pnv9r6hx.js → ripgrep-h5bh3ng3.js} +16 -16
- package/dist/chunks/{integration-h6r3nrb9.js → ripgrep-h6r3nrb9.js} +1 -1
- package/dist/chunks/{integration-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-8zx20dyq.js → ripgrep-h9vcqc78.js} +11 -11
- package/dist/chunks/{integration-nd83aj77.js → ripgrep-hbgnhwv0.js} +20 -20
- package/dist/chunks/{integration-qqqvzwqh.js → ripgrep-hccrd3vs.js} +27 -27
- package/dist/chunks/{integration-5jy636ta.js → ripgrep-hf37sfna.js} +35 -35
- package/dist/chunks/{integration-f52q629a.js → ripgrep-hncg30kp.js} +24 -24
- package/dist/chunks/{integration-m363q372.js → ripgrep-hrc132h6.js} +9 -9
- package/dist/chunks/{integration-8tj7vgpd.js → ripgrep-hsfvbcm9.js} +8 -8
- package/dist/chunks/{integration-qd9dnqf4.js → ripgrep-hxfzz81b.js} +17 -17
- package/dist/chunks/{integration-349kdzws.js → ripgrep-j31cqb59.js} +1 -1
- package/dist/chunks/{integration-rq2m7emw.js → ripgrep-j49kr4wg.js} +8 -8
- package/dist/chunks/{integration-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{integration-h71w788e.js → ripgrep-j58c5xyq.js} +9 -9
- package/dist/chunks/{integration-ve4pfa0n.js → ripgrep-j83byb14.js} +4 -4
- package/dist/chunks/{integration-44ak30pa.js → ripgrep-j8m1p4p1.js} +4 -4
- package/dist/chunks/{integration-x6xhyask.js → ripgrep-jb20k743.js} +9 -9
- package/dist/chunks/{integration-brzn9fcq.js → ripgrep-jh1t293c.js} +16 -16
- package/dist/chunks/{integration-aymydttc.js → ripgrep-jny2x7hk.js} +39 -39
- package/dist/chunks/{integration-d1q6pa1n.js → ripgrep-jrrknm56.js} +11 -11
- package/dist/chunks/{integration-ywgf9kw8.js → ripgrep-jw4cy8r0.js} +44 -44
- package/dist/chunks/{integration-k1qrnqst.js → ripgrep-k1qrnqst.js} +1 -1
- package/dist/chunks/{integration-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{integration-eytnbrp4.js → ripgrep-k4za7ts1.js} +11 -11
- package/dist/chunks/{integration-a79p9ndc.js → ripgrep-kfm9rn2s.js} +18 -18
- package/dist/chunks/{integration-eftvw2ps.js → ripgrep-kgxnw31j.js} +11 -11
- package/dist/chunks/{integration-5ktyyr5j.js → ripgrep-kkkads8k.js} +15 -15
- package/dist/chunks/{integration-h4y13pdc.js → ripgrep-kvmq8xfb.js} +8 -8
- package/dist/chunks/{integration-brt6w24q.js → ripgrep-kyav30yg.js} +11 -11
- package/dist/chunks/{integration-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{integration-k025p0a5.js → ripgrep-m52a8tfn.js} +32 -32
- package/dist/chunks/{integration-61qx32bh.js → ripgrep-m5nx04ee.js} +16 -16
- package/dist/chunks/{integration-vf0eqkj2.js → ripgrep-m7b8vgv2.js} +20 -20
- package/dist/chunks/{integration-p8wkjeq7.js → ripgrep-m9k4p762.js} +28 -28
- package/dist/chunks/{integration-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-mjncxbbh.js → ripgrep-marnn1hp.js} +9 -9
- package/dist/chunks/{integration-sfvw0e4z.js → ripgrep-mdvcq96a.js} +1 -1
- package/dist/chunks/{integration-b7c98d9s.js → ripgrep-mebw3mav.js} +82 -82
- package/dist/chunks/{integration-arndb05z.js → ripgrep-mjyv029k.js} +6 -6
- package/dist/chunks/{integration-c12z2gkm.js → ripgrep-mqbk7dpn.js} +9 -9
- package/dist/chunks/{integration-tazp3vs0.js → ripgrep-mzywpf3p.js} +4 -4
- package/dist/chunks/{integration-2zdq1wst.js → ripgrep-n3tj2r8q.js} +15 -15
- package/dist/chunks/{integration-r7z1v9sc.js → ripgrep-ncpeyn96.js} +48 -48
- package/dist/chunks/{integration-kg8ppk7y.js → ripgrep-nd8hshm2.js} +22 -22
- package/dist/chunks/{integration-z0jt56da.js → ripgrep-nefgvkw2.js} +14 -14
- package/dist/chunks/{integration-nntp1bnc.js → ripgrep-ntf1kdt7.js} +9 -9
- package/dist/chunks/{integration-gtn4q1hd.js → ripgrep-nztkb09y.js} +1 -1
- package/dist/chunks/{integration-1133rj1a.js → ripgrep-p0n61q8f.js} +5 -5
- package/dist/chunks/{integration-c96f0p9h.js → ripgrep-p0tyvh4g.js} +8 -8
- package/dist/chunks/{integration-18mrd0nm.js → ripgrep-p22k9wg5.js} +29 -29
- package/dist/chunks/{integration-8prqbkrr.js → ripgrep-p8n1apjv.js} +26 -26
- package/dist/chunks/{integration-qw2w7wcy.js → ripgrep-pehm6tfq.js} +116 -116
- package/dist/chunks/{integration-cjaadver.js → ripgrep-pfzqt8w6.js} +14 -14
- package/dist/chunks/{integration-a8h3ya78.js → ripgrep-pjfmr211.js} +24 -24
- package/dist/chunks/{integration-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{integration-wd3x2cqz.js → ripgrep-psazpmmj.js} +2 -2
- package/dist/chunks/{integration-s3qt08pm.js → ripgrep-q22sh36z.js} +39 -39
- package/dist/chunks/{integration-qna7jv5t.js → ripgrep-qhtcadmq.js} +24 -24
- package/dist/chunks/{integration-gkj9ws5j.js → ripgrep-qjs6n2vb.js} +13 -13
- package/dist/chunks/{integration-02smqcyz.js → ripgrep-qksvzkeq.js} +32 -32
- package/dist/chunks/{integration-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-kg5xa2m1.js → ripgrep-qvm8wxam.js} +17 -17
- package/dist/chunks/{integration-8ag37byx.js → ripgrep-qwgw6s1s.js} +306 -306
- package/dist/chunks/{integration-ed4gpyej.js → ripgrep-qyjfak0f.js} +30 -30
- package/dist/chunks/{integration-3gf7c1d2.js → ripgrep-qzqk0by0.js} +13 -13
- package/dist/chunks/{integration-x51xa4nv.js → ripgrep-r3p02j26.js} +10 -10
- package/dist/chunks/{integration-ay4zw6ra.js → ripgrep-r4nkyxgj.js} +3 -3
- package/dist/chunks/{integration-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{integration-rkprpv83.js → ripgrep-rkprpv83.js} +2 -2
- package/dist/chunks/{integration-05xfxpq7.js → ripgrep-rtathh62.js} +8 -8
- package/dist/chunks/{integration-1zswqe2z.js → ripgrep-rxqb97gr.js} +27 -27
- package/dist/chunks/{integration-yrzvsqy9.js → ripgrep-rzhjeyb2.js} +24 -24
- package/dist/chunks/{integration-eef5v9kb.js → ripgrep-s12cwej7.js} +10 -10
- package/dist/chunks/{integration-642dtp8t.js → ripgrep-s239yvev.js} +10 -10
- package/dist/chunks/{integration-fjqrscp2.js → ripgrep-s3vkv9ay.js} +4 -4
- package/dist/chunks/{integration-s5met55r.js → ripgrep-s5met55r.js} +1 -1
- package/dist/chunks/{integration-8c0465q4.js → ripgrep-s63ncq3n.js} +38 -38
- package/dist/chunks/{integration-x1mydaj6.js → ripgrep-s7kjtx58.js} +12 -12
- package/dist/chunks/{integration-0gdmqesm.js → ripgrep-s8d7rejh.js} +4 -4
- package/dist/chunks/{integration-0drx5c5b.js → ripgrep-saxh7epz.js} +2 -2
- package/dist/chunks/{integration-xxgswz1d.js → ripgrep-sdjhnzhs.js} +1 -1
- package/dist/chunks/{integration-r1sknhmy.js → ripgrep-sv8vja0m.js} +13 -13
- package/dist/chunks/{integration-mj77e68t.js → ripgrep-syaa2c6w.js} +22 -22
- package/dist/chunks/{integration-h7h63fbb.js → ripgrep-t590yz96.js} +11 -11
- package/dist/chunks/{integration-52f00fj4.js → ripgrep-t8nr5fwz.js} +22 -22
- package/dist/chunks/{integration-fdzkgkhq.js → ripgrep-t9ym9qvh.js} +6 -6
- package/dist/chunks/{integration-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{integration-bbtv9q89.js → ripgrep-tehpmbzs.js} +15 -15
- package/dist/chunks/{integration-yjxq1cx9.js → ripgrep-tpebh6ag.js} +11 -11
- package/dist/chunks/{integration-7p31dfjq.js → ripgrep-tvfehy0g.js} +23 -23
- package/dist/chunks/{integration-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{integration-qcmtyx1r.js → ripgrep-tyw4mndc.js} +16 -16
- package/dist/chunks/{integration-kd7zsave.js → ripgrep-v3r4yrhg.js} +7 -7
- package/dist/chunks/{integration-n2703j95.js → ripgrep-v6ef7kgk.js} +5 -5
- package/dist/chunks/{integration-ff0htmxq.js → ripgrep-v8jfbz3g.js} +6 -6
- package/dist/chunks/{integration-hent0hyy.js → ripgrep-v8rep1gr.js} +6 -6
- package/dist/chunks/{integration-kv8xqnbh.js → ripgrep-v8w4r62m.js} +29 -29
- package/dist/chunks/{integration-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{integration-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{integration-vvw48j1x.js → ripgrep-w18xh17a.js} +4 -4
- package/dist/chunks/{integration-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-10a8w0j5.js → ripgrep-w499dnd0.js} +8 -8
- package/dist/chunks/{integration-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{integration-agwv8r96.js → ripgrep-wqjhyw9m.js} +24 -24
- package/dist/chunks/{integration-tsz724y6.js → ripgrep-x1158p12.js} +11 -11
- package/dist/chunks/{integration-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-myc7jfq9.js → ripgrep-xb3sekxh.js} +7 -7
- package/dist/chunks/{integration-kb2n1thj.js → ripgrep-xdt98d5a.js} +8 -8
- package/dist/chunks/{integration-j1vkejd2.js → ripgrep-xf258je3.js} +10 -10
- package/dist/chunks/{integration-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-zfkp35rd.js → ripgrep-y2qsw3tz.js} +23 -23
- package/dist/chunks/{integration-2731mek4.js → ripgrep-y9d0ewq8.js} +8 -8
- package/dist/chunks/{integration-3226bc3m.js → ripgrep-yk5x40hx.js} +24 -24
- package/dist/chunks/{integration-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{integration-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{integration-s4enseaf.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{integration-qg0jgkcp.js → ripgrep-ywkfy99j.js} +9 -9
- package/dist/chunks/{integration-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-322arqmz.js → ripgrep-z2receq4.js} +9 -9
- package/dist/chunks/{integration-29x78va6.js → ripgrep-z63w68vq.js} +6 -6
- package/dist/chunks/{integration-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{integration-pe6jzat4.js → ripgrep-zes72mvx.js} +11 -11
- package/dist/chunks/{integration-xk24rg93.js → ripgrep-zf8wr47y.js} +1 -1
- package/dist/chunks/{integration-vmjjseha.js → ripgrep-zqcthdv3.js} +13 -13
- package/dist/chunks/{integration-1w874yqv.js → ripgrep-zr0mv0xb.js} +15 -15
- package/dist/chunks/{integration-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +76 -76
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +94 -94
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/integration-9sh4wc5j.js +0 -18
- package/dist/chunks/integration-ma1g4pz3.js +0 -252
- package/dist/chunks/integration-tb4yf0h0.js +0 -26
- /package/dist/chunks/{integration-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{integration-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-68y7phbn.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-6egqwrjf.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service42,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node45,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service42 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node45 = makeLocationNode({
|
|
144
|
+
service: Service42,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service70, Service70.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID6, Error2, Service42, node45, noopLayer2, exports_snapshot2 };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin34
|
|
3
|
+
} from "./ripgrep-rtathh62.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin35
|
|
6
|
+
} from "./ripgrep-jb20k743.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin37
|
|
9
|
+
} from "./ripgrep-4vmfrt63.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin36
|
|
12
|
+
} from "./ripgrep-8zj9r478.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin40
|
|
15
|
+
} from "./ripgrep-z2receq4.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin34,
|
|
20
|
+
Plugin35,
|
|
21
|
+
Plugin37,
|
|
22
|
+
Plugin36,
|
|
23
|
+
Plugin40
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
+
make: () => make12,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -43,7 +43,7 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update2(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
49
|
${render2(current)}`;
|
|
@@ -111,18 +111,18 @@ ${render2(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make12 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
121
|
initial: render2,
|
|
122
|
-
changed:
|
|
122
|
+
changed: update2,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2,
|
|
128
|
+
export { render2, update2, make12, exports_instructions3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-48qwr564.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-f3gec5hw.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-48qwr564.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service74,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node78
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -158,9 +158,9 @@ function initError(providerID) {
|
|
|
158
158
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service74 extends Context.Service()("@opencode/AISDK") {
|
|
162
162
|
}
|
|
163
|
-
var locationLayer2 = Layer.effect(
|
|
163
|
+
var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
|
|
164
164
|
let sdkHooks = [];
|
|
165
165
|
let languageHooks = [];
|
|
166
166
|
const languages = new Map;
|
|
@@ -198,7 +198,7 @@ var locationLayer2 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
198
198
|
}
|
|
199
199
|
return event;
|
|
200
200
|
});
|
|
201
|
-
const service =
|
|
201
|
+
const service = Service74.of({
|
|
202
202
|
hook: {
|
|
203
203
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
204
204
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node78 = makeLocationNode({ service: Service74, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2,
|
|
867
|
+
export { InitError2, Service74, locationLayer2, node78, exports_aisdk };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-6egqwrjf.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-s8d7rejh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service30,
|
|
19
|
+
node: () => node34
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service80;
|
|
29
|
-
return
|
|
29
|
+
return Service30.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make21({
|
|
32
32
|
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
52
|
+
make21({
|
|
53
53
|
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node34 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node84] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service30, node34, exports_builtins };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info15
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info15 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info15, exports_attachment };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-5e76c55v.js";
|
|
4
4
|
import {
|
|
5
5
|
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-ds8dekzs.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-egybd8b7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-dpeqjypf.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
16
|
estimate2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-h6vf3j39.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionEvent2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-ec1grn59.js";
|
|
21
21
|
import {
|
|
22
22
|
provenance2,
|
|
23
23
|
compatible2,
|
|
24
24
|
isCheckpoint2,
|
|
25
25
|
encode2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-c35597j6.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
load5
|
|
29
|
+
} from "./ripgrep-tpebh6ag.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-fp2xarvc.js";
|
|
33
33
|
import {
|
|
34
34
|
baseTranscript2,
|
|
35
35
|
unsupportedParts2,
|
|
36
36
|
boundImages2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service25,
|
|
38
|
+
node28
|
|
39
|
+
} from "./ripgrep-rxqb97gr.js";
|
|
40
40
|
import {
|
|
41
41
|
isRetryable2,
|
|
42
42
|
policy2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./ripgrep-7pr2hkwv.js";
|
|
44
44
|
import {
|
|
45
45
|
toSessionError2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./ripgrep-ey1ph643.js";
|
|
47
47
|
import {
|
|
48
48
|
calculateCost2,
|
|
49
49
|
record2,
|
|
50
50
|
add2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./ripgrep-tdstcens.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/compaction.ts
|
|
57
57
|
var exports_compaction2 = {};
|
|
58
58
|
__export(exports_compaction2, {
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service7,
|
|
60
60
|
SessionCompaction: () => exports_compaction2,
|
|
61
61
|
buildPrompt: () => buildPrompt2,
|
|
62
62
|
estimateContext: () => estimateContext2,
|
|
63
63
|
estimatePrompt: () => estimatePrompt2,
|
|
64
|
-
layer: () =>
|
|
65
|
-
node: () =>
|
|
64
|
+
layer: () => layer6,
|
|
65
|
+
node: () => node9,
|
|
66
66
|
recentUserMessages: () => recentUserMessages2
|
|
67
67
|
});
|
|
68
68
|
import {
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
} from "@opencode/ai";
|
|
79
79
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
80
80
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
81
|
-
class
|
|
81
|
+
class Service7 extends Context.Service()("@opencode/SessionCompaction") {
|
|
82
82
|
}
|
|
83
83
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
84
84
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -157,11 +157,11 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
157
157
|
};
|
|
158
158
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
159
159
|
var LEGACY_HEADING = "## Additional Context";
|
|
160
|
-
var
|
|
160
|
+
var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const llm = yield* LLMClient.Service;
|
|
163
163
|
const db = (yield* Service84).db;
|
|
164
|
-
const requests = yield*
|
|
164
|
+
const requests = yield* Service25;
|
|
165
165
|
const state = create3({
|
|
166
166
|
name: "session-compaction",
|
|
167
167
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -249,7 +249,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
249
249
|
const send = (request) => {
|
|
250
250
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
251
251
|
return Effect.gen(function* () {
|
|
252
|
-
const history = yield*
|
|
252
|
+
const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
|
|
253
253
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
254
254
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
255
255
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -452,16 +452,16 @@ ${text}`;
|
|
|
452
452
|
}, { metadata: outcome.metadata });
|
|
453
453
|
return { status: "completed" };
|
|
454
454
|
});
|
|
455
|
-
return
|
|
455
|
+
return Service7.of({
|
|
456
456
|
transform: state.transform,
|
|
457
457
|
reload: state.reload,
|
|
458
458
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
459
459
|
});
|
|
460
460
|
}));
|
|
461
|
-
var
|
|
462
|
-
service:
|
|
463
|
-
layer:
|
|
464
|
-
deps: [node87, node88, llmClient2,
|
|
461
|
+
var node9 = makeLocationNode({
|
|
462
|
+
service: Service7,
|
|
463
|
+
layer: layer6,
|
|
464
|
+
deps: [node87, node88, llmClient2, node28]
|
|
465
465
|
});
|
|
466
466
|
var previousCompaction = (messages) => {
|
|
467
467
|
const [first] = messages;
|
|
@@ -666,4 +666,4 @@ var estimateMedia = (mime) => {
|
|
|
666
666
|
return 0;
|
|
667
667
|
};
|
|
668
668
|
|
|
669
|
-
export {
|
|
669
|
+
export { Service7, buildPrompt2, layer6, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin29,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin29 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin39 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin29, exports_opencode };
|