@opencode/core 0.0.0-dev-20297 → 0.0.0-dev-20303
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 +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{vcs-h5vcs21w.js → ripgrep-00bkszwx.js} +23 -23
- package/dist/chunks/{vcs-5gwm7s57.js → ripgrep-0939078r.js} +3 -3
- package/dist/chunks/{vcs-9jzp6rtr.js → ripgrep-0996nyz8.js} +9 -9
- package/dist/chunks/{vcs-kzcxnww5.js → ripgrep-0ahrpcjw.js} +7 -7
- package/dist/chunks/{vcs-ymss648d.js → ripgrep-0b5t2wwf.js} +9 -9
- package/dist/chunks/{vcs-8jxztqqt.js → ripgrep-0f9afca0.js} +5 -5
- package/dist/chunks/{vcs-5k1yf8nh.js → ripgrep-0j9j0cr0.js} +22 -22
- package/dist/chunks/{vcs-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0a1dfz7r.js → ripgrep-18qa6r1n.js} +16 -16
- package/dist/chunks/{vcs-72f4v86y.js → ripgrep-1d3bftpa.js} +11 -11
- package/dist/chunks/{vcs-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-pxpwb23y.js → ripgrep-1jd7dvgb.js} +17 -17
- package/dist/chunks/{vcs-wr6f3qv2.js → ripgrep-1m0xqqrr.js} +14 -14
- package/dist/chunks/{vcs-cf7p89xb.js → ripgrep-1nkg8qc4.js} +12 -12
- package/dist/chunks/{vcs-56gdpj1q.js → ripgrep-1ygqh575.js} +9 -9
- package/dist/chunks/{vcs-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-37sfe3bm.js → ripgrep-2pdg46mn.js} +11 -11
- package/dist/chunks/{vcs-zd5bv8nv.js → ripgrep-2qtr0tge.js} +44 -44
- package/dist/chunks/{vcs-755ktwre.js → ripgrep-2t95j9c0.js} +24 -24
- package/dist/chunks/{vcs-qv52y0kk.js → ripgrep-2x0wkexj.js} +22 -22
- package/dist/chunks/{vcs-18296zga.js → ripgrep-2xqghjp6.js} +3 -3
- package/dist/chunks/ripgrep-31wx1wqg.js +424 -0
- package/dist/chunks/{vcs-rp8jz6x1.js → ripgrep-35agz59w.js} +4 -4
- package/dist/chunks/{vcs-vktfeg91.js → ripgrep-37m9xwpn.js} +24 -24
- package/dist/chunks/ripgrep-38phvaps.js +252 -0
- package/dist/chunks/{vcs-7j156qnj.js → ripgrep-3c4e9bh1.js} +7 -7
- package/dist/chunks/{vcs-83ww5tb3.js → ripgrep-3es9bxre.js} +15 -15
- package/dist/chunks/{vcs-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-yvshgw5k.js → ripgrep-3kkw8qnw.js} +21 -21
- package/dist/chunks/{vcs-983bx4tv.js → ripgrep-3p17jnne.js} +11 -11
- package/dist/chunks/{vcs-ng7678yv.js → ripgrep-3skt28fc.js} +3 -3
- package/dist/chunks/{vcs-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-4e9nfnk1.js → ripgrep-3v1h8cz5.js} +57 -57
- package/dist/chunks/{vcs-3y377wv9.js → ripgrep-3y377wv9.js} +1 -1
- package/dist/chunks/{vcs-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-6erhv98a.js → ripgrep-4438m4a7.js} +18 -18
- package/dist/chunks/{vcs-y8s8f6j8.js → ripgrep-4858gwxg.js} +43 -43
- package/dist/chunks/{vcs-1h0nj16t.js → ripgrep-4gr8y5nf.js} +20 -20
- package/dist/chunks/{vcs-fhcrmec4.js → ripgrep-4k5pyaj2.js} +10 -10
- package/dist/chunks/{vcs-wn21040f.js → ripgrep-4nj6keg1.js} +18 -18
- package/dist/chunks/{vcs-w9h9v0y2.js → ripgrep-4pdcrpe9.js} +13 -13
- package/dist/chunks/{vcs-54ma36ye.js → ripgrep-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-yavzwk2n.js → ripgrep-552s6kfz.js} +15 -15
- package/dist/chunks/{vcs-d9s573fh.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{vcs-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-hkagk5ex.js → ripgrep-5frpvc34.js} +2 -2
- package/dist/chunks/{vcs-j5r7mnag.js → ripgrep-5gxtf2ep.js} +27 -27
- package/dist/chunks/{vcs-q9xmsq5j.js → ripgrep-5hcrxyky.js} +6 -6
- package/dist/chunks/{vcs-e3qxr5gk.js → ripgrep-5qd3pb7m.js} +2 -2
- package/dist/chunks/{vcs-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-6fza0gtm.js → ripgrep-5vqak28j.js} +15 -15
- package/dist/chunks/{vcs-3wgpjb8z.js → ripgrep-632bft3r.js} +19 -19
- package/dist/chunks/{vcs-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{vcs-tj141g8h.js → ripgrep-695yb3ne.js} +19 -19
- package/dist/chunks/{vcs-rt6eccz9.js → ripgrep-6ejtffh2.js} +19 -19
- package/dist/chunks/{vcs-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-xat61z3k.js → ripgrep-6ne0j7pm.js} +11 -11
- package/dist/chunks/{vcs-73tb2d7t.js → ripgrep-73tb2d7t.js} +1 -1
- package/dist/chunks/{vcs-teyc4whj.js → ripgrep-74a0hazz.js} +11 -11
- package/dist/chunks/{vcs-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-2k8khapm.js → ripgrep-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-np4zyaxz.js → ripgrep-7j2mf0b2.js} +8 -8
- package/dist/chunks/{vcs-rkj6e36x.js → ripgrep-7y05g5y6.js} +5 -5
- package/dist/chunks/{vcs-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{vcs-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-k3g1rb3k.js → ripgrep-8djhgsab.js} +22 -22
- package/dist/chunks/{vcs-s8anskx2.js → ripgrep-8epfg41c.js} +8 -8
- package/dist/chunks/{vcs-fwv01ez0.js → ripgrep-8gy77n4q.js} +12 -12
- package/dist/chunks/{vcs-1djhwe97.js → ripgrep-8jsvkn40.js} +31 -31
- package/dist/chunks/{vcs-ndmv45hp.js → ripgrep-8q7cq0y1.js} +3 -3
- package/dist/chunks/{vcs-pxkhtqdc.js → ripgrep-8qxm69fb.js} +19 -19
- package/dist/chunks/{vcs-eef36fdw.js → ripgrep-8vxvqh3p.js} +23 -23
- package/dist/chunks/{vcs-knevfgda.js → ripgrep-8wbxkt1z.js} +4 -4
- package/dist/chunks/{vcs-2gqdr94z.js → ripgrep-92z2dgw1.js} +3 -3
- package/dist/chunks/{vcs-gfvb90ym.js → ripgrep-94ek1h2f.js} +2 -2
- package/dist/chunks/{vcs-3pebang0.js → ripgrep-9gjvwznx.js} +25 -25
- package/dist/chunks/{vcs-k8t255qq.js → ripgrep-9tn9hv36.js} +35 -35
- package/dist/chunks/{vcs-pgwqr8ee.js → ripgrep-9x50181g.js} +12 -12
- package/dist/chunks/ripgrep-9zdhvgqs.js +18 -0
- package/dist/chunks/{vcs-62ezrtah.js → ripgrep-a2tjj438.js} +92 -92
- package/dist/chunks/{vcs-4acqjqp7.js → ripgrep-aa6tf4fy.js} +22 -22
- package/dist/chunks/{vcs-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-x3an4z7c.js → ripgrep-ab4nhn8b.js} +6 -6
- package/dist/chunks/{vcs-3vbw7yca.js → ripgrep-ag1tg3gv.js} +32 -32
- package/dist/chunks/{vcs-p2etx821.js → ripgrep-amjwwp15.js} +22 -22
- package/dist/chunks/{vcs-y5hhwgev.js → ripgrep-ay7z0nzh.js} +13 -13
- package/dist/chunks/{vcs-b8d4rmcw.js → ripgrep-b1k697tw.js} +9 -9
- package/dist/chunks/{vcs-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-keqjy1g6.js → ripgrep-bahgfxtd.js} +26 -26
- package/dist/chunks/{vcs-42kdhqse.js → ripgrep-bea85hdf.js} +3 -3
- package/dist/chunks/{vcs-cq46pgcx.js → ripgrep-bgxcxs0p.js} +5 -5
- package/dist/chunks/{vcs-svaspcxn.js → ripgrep-bhzbay2t.js} +5 -5
- package/dist/chunks/{vcs-fzd0b8n6.js → ripgrep-bm4pzggq.js} +21 -21
- package/dist/chunks/{vcs-724n6vts.js → ripgrep-bs1d3dhn.js} +3 -3
- package/dist/chunks/{vcs-4z58m4b4.js → ripgrep-c35597j6.js} +4 -4
- package/dist/chunks/{vcs-54tcyq79.js → ripgrep-ckecvw8r.js} +2 -2
- package/dist/chunks/{vcs-v4aesa73.js → ripgrep-ckr8yqr6.js} +5 -5
- package/dist/chunks/{vcs-p9kt6re1.js → ripgrep-cx34d9wd.js} +11 -11
- package/dist/chunks/{vcs-56dsz7qa.js → ripgrep-cztphjx7.js} +332 -332
- package/dist/chunks/{vcs-gx21vd1f.js → ripgrep-d21fb1vq.js} +13 -13
- package/dist/chunks/{vcs-f2wfspan.js → ripgrep-d450k981.js} +8 -8
- package/dist/chunks/{vcs-5p6nskts.js → ripgrep-d8s5zaak.js} +18 -18
- package/dist/chunks/{vcs-q54gewa9.js → ripgrep-d9wxm2fe.js} +8 -8
- package/dist/chunks/{vcs-dds4m2b5.js → ripgrep-dc0h2f5m.js} +10 -10
- package/dist/chunks/{vcs-h6dd5nj3.js → ripgrep-deajr4zv.js} +11 -11
- package/dist/chunks/{vcs-cqtvvg9q.js → ripgrep-dj9sq318.js} +5 -5
- package/dist/chunks/{vcs-cwa6csj7.js → ripgrep-djszqvmq.js} +9 -9
- package/dist/chunks/{vcs-3s57j9d0.js → ripgrep-dq3vednk.js} +15 -15
- package/dist/chunks/{vcs-3cvhxgkj.js → ripgrep-dr2s0fjn.js} +12 -12
- package/dist/chunks/{vcs-xfkkasph.js → ripgrep-drwq78ky.js} +4 -4
- package/dist/chunks/{vcs-xna4x1sn.js → ripgrep-dtyy8xh0.js} +18 -18
- package/dist/chunks/{vcs-76zvcd1g.js → ripgrep-dvs6zpk2.js} +39 -39
- package/dist/chunks/{vcs-0876npy8.js → ripgrep-e0rfdckv.js} +13 -13
- package/dist/chunks/{vcs-3h8yw40x.js → ripgrep-e4dzh796.js} +9 -9
- package/dist/chunks/{vcs-zcws0pck.js → ripgrep-e65wgfyf.js} +9 -9
- package/dist/chunks/{vcs-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{vcs-mcjvxj01.js → ripgrep-eefdys5x.js} +4 -4
- package/dist/chunks/{vcs-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-8041njv8.js → ripgrep-eqd5gpxy.js} +42 -42
- package/dist/chunks/{vcs-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-rfd4cgzf.js → ripgrep-f6ejcacf.js} +35 -31
- package/dist/chunks/{vcs-bvkd440q.js → ripgrep-f7xy0jcj.js} +15 -15
- package/dist/chunks/{vcs-wrb545ka.js → ripgrep-fbxnn3zg.js} +41 -41
- package/dist/chunks/{vcs-cw54z5t2.js → ripgrep-febda8v4.js} +15 -15
- package/dist/chunks/{vcs-8nqy64kg.js → ripgrep-ff3zzamp.js} +32 -32
- package/dist/chunks/{vcs-6j71bdrn.js → ripgrep-fj137pk4.js} +4 -4
- package/dist/chunks/{vcs-mdm5j4bj.js → ripgrep-fk34k8b0.js} +84 -84
- package/dist/chunks/{vcs-3556dn8t.js → ripgrep-fp2xarvc.js} +1 -1
- package/dist/chunks/{vcs-0tqkw5bw.js → ripgrep-fq5zwzwv.js} +18 -18
- package/dist/chunks/{vcs-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-6e5bh3xz.js → ripgrep-gmfetzq4.js} +27 -27
- package/dist/chunks/{vcs-yyb7tjpc.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-rr7w9yzr.js → ripgrep-gvrdb957.js} +11 -11
- package/dist/chunks/{vcs-dsazm5eh.js → ripgrep-h2r7bbkd.js} +9 -9
- package/dist/chunks/{vcs-wjrrvf51.js → ripgrep-h3whq8hs.js} +10 -10
- package/dist/chunks/{vcs-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-ejm60891.js → ripgrep-h93zm1px.js} +7 -7
- package/dist/chunks/{vcs-e8qyrgb1.js → ripgrep-hbyhqfhs.js} +5 -5
- package/dist/chunks/{vcs-qtf7ajd6.js → ripgrep-hzxzc04q.js} +24 -24
- package/dist/chunks/{vcs-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-9z431jrj.js → ripgrep-j6rk38x8.js} +9 -9
- package/dist/chunks/{vcs-5v1c364k.js → ripgrep-j726xjcb.js} +28 -28
- package/dist/chunks/{vcs-s4cpw0g8.js → ripgrep-je856w56.js} +11 -11
- package/dist/chunks/{vcs-grbear6k.js → ripgrep-jkfm4w29.js} +28 -28
- package/dist/chunks/{vcs-zffvdhag.js → ripgrep-jpz1sap8.js} +12 -12
- package/dist/chunks/{vcs-0z1gmn2q.js → ripgrep-jr0j7mve.js} +6 -6
- package/dist/chunks/{vcs-6mg6ac8r.js → ripgrep-jtkxxjqx.js} +14 -14
- package/dist/chunks/{vcs-xdk9p2qn.js → ripgrep-jw80jp6b.js} +21 -21
- package/dist/chunks/{vcs-b61wnr05.js → ripgrep-jzq9sbf8.js} +38 -38
- package/dist/chunks/{vcs-4q8m0zqq.js → ripgrep-k06t1zgt.js} +13 -13
- package/dist/chunks/{vcs-gs4tkc79.js → ripgrep-k1qrnqst.js} +8 -8
- package/dist/chunks/{vcs-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{vcs-bxbtj1qd.js → ripgrep-k40x70x4.js} +8 -8
- package/dist/chunks/{vcs-n8c291r7.js → ripgrep-k8e0krnc.js} +9 -9
- package/dist/chunks/{vcs-mwfejemj.js → ripgrep-kb333kjr.js} +9 -9
- package/dist/chunks/{vcs-7zpeh0yx.js → ripgrep-kb6vbnxp.js} +4 -4
- package/dist/chunks/{vcs-1ekk4s7j.js → ripgrep-kcetpk2c.js} +12 -12
- package/dist/chunks/{vcs-ptm59064.js → ripgrep-kmjdna7m.js} +48 -48
- package/dist/chunks/{vcs-mvn2r3z4.js → ripgrep-m2d0j7c0.js} +9 -9
- package/dist/chunks/{vcs-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-v0xjps6b.js → ripgrep-m4v4sst7.js} +31 -31
- package/dist/chunks/{vcs-1v2b2k63.js → ripgrep-m74y7a9x.js} +14 -14
- package/dist/chunks/{vcs-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-c7h0x4yk.js → ripgrep-mjpfq375.js} +21 -21
- package/dist/chunks/{vcs-61zp4wnv.js → ripgrep-mtf32xg9.js} +11 -11
- package/dist/chunks/{vcs-njx86ncx.js → ripgrep-mwyh8wfh.js} +27 -27
- package/dist/chunks/{vcs-ntmafhxh.js → ripgrep-n0gf5ey7.js} +21 -21
- package/dist/chunks/{vcs-86n330eh.js → ripgrep-n1ka8r9d.js} +4 -4
- package/dist/chunks/{vcs-tstnsxca.js → ripgrep-n3fk10xz.js} +25 -25
- package/dist/chunks/{vcs-axj6q4j4.js → ripgrep-n50qm4s2.js} +49 -49
- package/dist/chunks/{vcs-jcs87n6r.js → ripgrep-ngymw408.js} +4 -4
- package/dist/chunks/{vcs-ehn7vv3c.js → ripgrep-nhvjymvq.js} +21 -21
- package/dist/chunks/{vcs-khxyc70q.js → ripgrep-nn5bpfje.js} +9 -9
- package/dist/chunks/{vcs-3y1r2rpt.js → ripgrep-nqfwyc43.js} +8 -8
- package/dist/chunks/{vcs-1esepqbd.js → ripgrep-nsth5a41.js} +37 -37
- package/dist/chunks/{vcs-44txpx69.js → ripgrep-p97ze781.js} +23 -23
- package/dist/chunks/{vcs-8v6pyhej.js → ripgrep-pa8pe2x7.js} +8 -8
- package/dist/chunks/{vcs-5sz650yn.js → ripgrep-pf2cvmpq.js} +73 -73
- package/dist/chunks/{vcs-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-9h4501ja.js → ripgrep-pmg28md7.js} +1 -1
- package/dist/chunks/{vcs-66j8y0n9.js → ripgrep-pnh2hy2c.js} +23 -23
- package/dist/chunks/{vcs-88k66p5t.js → ripgrep-pqcvfzvm.js} +36 -36
- package/dist/chunks/{vcs-erwyzksv.js → ripgrep-pttkx1dj.js} +27 -27
- package/dist/chunks/{vcs-yqnvcheb.js → ripgrep-pvvafe22.js} +10 -10
- package/dist/chunks/ripgrep-pwr21gwd.js +26 -0
- package/dist/chunks/{vcs-dda0p7y7.js → ripgrep-px76j0pk.js} +9 -9
- package/dist/chunks/{vcs-pjz0zcv2.js → ripgrep-pxvtywqb.js} +11 -11
- package/dist/chunks/{vcs-cb6xbnd9.js → ripgrep-q13923st.js} +2 -2
- package/dist/chunks/{vcs-3kbhjp3q.js → ripgrep-q1v5hekz.js} +11 -11
- package/dist/chunks/{vcs-hh4v7266.js → ripgrep-q26n4fcx.js} +14 -14
- package/dist/chunks/{vcs-q2k50tdt.js → ripgrep-q6kv5hce.js} +35 -35
- package/dist/chunks/{vcs-j7y1n5ns.js → ripgrep-q9m9wzt0.js} +19 -19
- package/dist/chunks/{vcs-40e80s20.js → ripgrep-qa3v0gpg.js} +24 -24
- package/dist/chunks/{vcs-44m1ppkf.js → ripgrep-qbv4sgsg.js} +44 -44
- package/dist/chunks/{vcs-28nztbsp.js → ripgrep-qcbzzkxa.js} +32 -32
- package/dist/chunks/{vcs-jh1zbppd.js → ripgrep-qfchpyts.js} +27 -27
- package/dist/chunks/{vcs-n4z35x1w.js → ripgrep-qrgme6ew.js} +9 -9
- package/dist/chunks/{vcs-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-szpqyd6h.js → ripgrep-qwhsc8p7.js} +18 -18
- package/dist/chunks/{vcs-1fw2a5v8.js → ripgrep-qx1x9vga.js} +22 -22
- package/dist/chunks/{vcs-msq4ntpz.js → ripgrep-qzqedjgs.js} +28 -28
- package/dist/chunks/{vcs-wc17nh9t.js → ripgrep-r2rgjgj7.js} +33 -33
- package/dist/chunks/{vcs-ydgy0jv4.js → ripgrep-r7nsrefv.js} +6 -6
- package/dist/chunks/{vcs-ww82v16z.js → ripgrep-r9w59ptg.js} +25 -25
- package/dist/chunks/{vcs-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-ct913see.js → ripgrep-rk6ps10a.js} +5 -5
- package/dist/chunks/{vcs-38adaqc0.js → ripgrep-rkdvqggb.js} +5 -5
- package/dist/chunks/{vcs-py3kkmfq.js → ripgrep-rkprpv83.js} +2 -2
- package/dist/chunks/{vcs-304ndgye.js → ripgrep-rnk4bdv4.js} +21 -21
- package/dist/chunks/{vcs-yr5w62k6.js → ripgrep-rthtq9ap.js} +20 -20
- package/dist/chunks/{vcs-hv3dmpp2.js → ripgrep-s5hrj64x.js} +20 -20
- package/dist/chunks/{vcs-vqfzq50h.js → ripgrep-sd5f6jdk.js} +6 -6
- package/dist/chunks/{vcs-7854zz5a.js → ripgrep-sfpzfcnw.js} +3 -3
- package/dist/chunks/{vcs-s1kdbxwg.js → ripgrep-sj415v3s.js} +10 -10
- package/dist/chunks/{vcs-7rwqf82v.js → ripgrep-sm965ndy.js} +8 -8
- package/dist/chunks/{vcs-3aq2526j.js → ripgrep-srep0201.js} +48 -48
- package/dist/chunks/{vcs-4mtvmndk.js → ripgrep-szsbf3na.js} +4 -4
- package/dist/chunks/{vcs-rhjbct0v.js → ripgrep-t550f9t1.js} +4 -4
- package/dist/chunks/{vcs-70vk70yg.js → ripgrep-t849abxh.js} +5 -5
- package/dist/chunks/{vcs-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-dyrwyt65.js → ripgrep-tdmq7741.js} +38 -38
- package/dist/chunks/{vcs-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-qbqbaz6q.js → ripgrep-tjedn1bk.js} +4 -4
- package/dist/chunks/{vcs-x5es4t48.js → ripgrep-tk70hm4f.js} +33 -33
- package/dist/chunks/{vcs-btsrk6c2.js → ripgrep-ts8814z6.js} +16 -16
- package/dist/chunks/{vcs-py6tvht3.js → ripgrep-ttpyk6f9.js} +9 -9
- package/dist/chunks/{vcs-hn57h045.js → ripgrep-ttqh24zm.js} +4 -4
- package/dist/chunks/{vcs-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-ratrq7cm.js → ripgrep-v5dkyp31.js} +4 -4
- package/dist/chunks/{vcs-f7sbcs1s.js → ripgrep-v5fx191f.js} +26 -26
- package/dist/chunks/{vcs-s9ampnzs.js → ripgrep-v6695139.js} +11 -11
- package/dist/chunks/{vcs-4j9evkcm.js → ripgrep-v89pjvzk.js} +8 -8
- package/dist/chunks/{vcs-vtg51jxy.js → ripgrep-v9htzwy6.js} +33 -33
- package/dist/chunks/{vcs-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-dfe8djrf.js → ripgrep-vncycja5.js} +4 -4
- package/dist/chunks/{vcs-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-was7srj9.js → ripgrep-w1ad28wa.js} +8 -8
- package/dist/chunks/{vcs-84txncab.js → ripgrep-w1eejvng.js} +5 -5
- package/dist/chunks/{vcs-5p9dmvg9.js → ripgrep-w2y23yj1.js} +13 -13
- package/dist/chunks/{vcs-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-8vf9p1vn.js → ripgrep-w8wd44rg.js} +21 -21
- package/dist/chunks/{vcs-psazpmmj.js → ripgrep-wd3x2cqz.js} +2 -2
- package/dist/chunks/{vcs-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-n62nckym.js → ripgrep-whp3wsjn.js} +11 -11
- package/dist/chunks/{vcs-p4q1g30v.js → ripgrep-wj1rks9h.js} +37 -37
- package/dist/chunks/{vcs-c8m1ndyk.js → ripgrep-wpzekwss.js} +6 -6
- package/dist/chunks/{vcs-dfh0xed5.js → ripgrep-ws6q902r.js} +5 -5
- package/dist/chunks/{vcs-bp5zn84r.js → ripgrep-wybk36vp.js} +10 -10
- package/dist/chunks/{vcs-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-bm3qhbmn.js → ripgrep-x591492r.js} +17 -17
- package/dist/chunks/{vcs-9f9b48nn.js → ripgrep-x7xnx0we.js} +20 -20
- package/dist/chunks/{vcs-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
- package/dist/chunks/{vcs-s2ynmxvy.js → ripgrep-xsbrecyh.js} +12 -12
- package/dist/chunks/{vcs-8zh4h089.js → ripgrep-xvp1j2dc.js} +5 -5
- package/dist/chunks/{vcs-rf0rwq9q.js → ripgrep-y1cgxa56.js} +16 -16
- package/dist/chunks/{vcs-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{vcs-7enbc4fp.js → ripgrep-ycg97etn.js} +170 -170
- package/dist/chunks/{vcs-293305v0.js → ripgrep-yhc2xmq5.js} +1 -1
- package/dist/chunks/{vcs-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{vcs-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-s4enseaf.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-231222c6.js → ripgrep-ytbta4pq.js} +4 -4
- package/dist/chunks/{vcs-qz3g8v3b.js → ripgrep-yxj4ckh3.js} +20 -20
- package/dist/chunks/{vcs-wycg3qep.js → ripgrep-yyksnw28.js} +18 -18
- package/dist/chunks/{vcs-bjtzbw4r.js → ripgrep-z07pqspn.js} +3 -3
- package/dist/chunks/{vcs-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-8n9ym7bh.js → ripgrep-z1t4ccqy.js} +8 -8
- package/dist/chunks/{vcs-29x78va6.js → ripgrep-z63w68vq.js} +6 -6
- package/dist/chunks/{vcs-2sv6eqec.js → ripgrep-zbzhtaz8.js} +7 -7
- package/dist/chunks/{vcs-z5g6ermd.js → ripgrep-zd5925e4.js} +10 -10
- package/dist/chunks/{vcs-rq775frq.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-hk4fmd6v.js → ripgrep-zexvq6re.js} +30 -30
- package/dist/chunks/{vcs-hndg17wg.js → ripgrep-zgfpqdce.js} +40 -40
- package/dist/chunks/{vcs-y7a3vg46.js → ripgrep-zmyzpzwz.js} +5 -5
- package/dist/chunks/{vcs-vrq98xzz.js → ripgrep-zn4xb62a.js} +18 -18
- package/dist/chunks/{vcs-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-9k60352s.js → ripgrep-zrc0yy2v.js} +21 -21
- package/dist/chunks/{vcs-n0tq777j.js → ripgrep-zrq8kphx.js} +8 -8
- package/dist/chunks/{vcs-2kzd1k6y.js → ripgrep-zwet3d57.js} +27 -27
- package/dist/chunks/{vcs-cnj8r2zb.js → ripgrep-zxf6vy87.js} +12 -12
- package/dist/chunks/{vcs-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 +81 -81
- 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 +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- 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 +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +92 -92
- 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 +228 -228
- 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 +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +95 -95
- 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 +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 +363 -362
- package/dist/instruction-discovery.js +83 -83
- 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 +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- 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 +74 -74
- 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 +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -334
- 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/chatgpt.js +104 -0
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- 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 +78 -78
- 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 +93 -93
- 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 +79 -79
- 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 +163 -162
- 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 +352 -351
- 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 +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +5 -5
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +114 -114
- 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/types/plugin/provider/chatgpt.d.ts +33 -0
- 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 +3 -3
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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 +98 -98
- package/package.json +9 -8
- package/dist/chunks/vcs-5bzc4ph3.js +0 -26
- package/dist/chunks/vcs-619r8v3y.js +0 -18
- package/dist/chunks/vcs-ryxm5mwn.js +0 -252
- /package/dist/chunks/{vcs-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./ripgrep-aa6tf4fy.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make7
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make7 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service45;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make7, LoadError2, exports_module };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Service80
|
|
9
|
-
} from "./vcs-hh4v7266.js";
|
|
6
|
+
} from "./ripgrep-922hggd3.js";
|
|
10
7
|
import {
|
|
11
8
|
Service78
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-q26n4fcx.js";
|
|
10
|
+
import {
|
|
11
|
+
Service73
|
|
12
|
+
} from "./ripgrep-qa3v0gpg.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service72
|
|
16
|
+
} from "./ripgrep-jtkxxjqx.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry4,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-j726xjcb.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service58
|
|
26
|
+
} from "./ripgrep-n50qm4s2.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service17
|
|
29
|
+
} from "./ripgrep-qwhsc8p7.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin40,
|
|
41
|
+
name: () => name6,
|
|
42
|
+
toModelContent: () => toModelContent3
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name6 = "grep";
|
|
48
|
+
var Input6 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input10 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output4 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent3 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin40 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service73;
|
|
90
|
+
const ripgrep = yield* Service72;
|
|
91
|
+
const location = yield* Service78;
|
|
92
|
+
const access = yield* Service17;
|
|
93
|
+
const permission = yield* Service58;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name6,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input6,
|
|
99
|
+
output: Output4,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name6,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin30 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry4.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -144,7 +144,7 @@ var Plugin30 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent3(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin30 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name6, Input6, Output4, toModelContent3, Plugin40, exports_grep };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./ripgrep-n50qm4s2.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input11,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin47,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name11 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input11 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input11.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin47 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service58;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name11,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input11,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin21 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name11,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name11, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input11, Plugin47, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service6,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node8
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service6 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node8 = makeLocationNode({
|
|
19
|
+
service: Service6,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service6, node8, bound2, exports_instance2 };
|
|
@@ -1,124 +1,124 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-2xqghjp6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./ripgrep-kcetpk2c.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-j6rk38x8.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-z07pqspn.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-n1ka8r9d.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-c35597j6.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-1d3bftpa.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service59,
|
|
33
|
+
node62
|
|
34
|
+
} from "./ripgrep-m74y7a9x.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service15,
|
|
37
|
+
node17
|
|
38
|
+
} from "./ripgrep-pqcvfzvm.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service32,
|
|
44
|
+
node35
|
|
45
|
+
} from "./ripgrep-cx34d9wd.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./ripgrep-tk70hm4f.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make8
|
|
51
|
+
} from "./ripgrep-xvp1j2dc.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./ripgrep-t849abxh.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Service9,
|
|
57
|
+
node11,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./ripgrep-8jsvkn40.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service26,
|
|
62
|
+
node30
|
|
63
|
+
} from "./ripgrep-fk34k8b0.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./ripgrep-9gjvwznx.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service3,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node4
|
|
73
|
+
} from "./ripgrep-mwyh8wfh.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service53
|
|
77
|
+
} from "./ripgrep-ttqh24zm.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node51
|
|
80
|
+
} from "./ripgrep-r2rgjgj7.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
82
|
+
node53
|
|
83
|
+
} from "./ripgrep-dr2s0fjn.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
86
|
make3
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./ripgrep-695yb3ne.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
Service30
|
|
90
|
+
} from "./ripgrep-9zdhvgqs.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
92
|
+
node21
|
|
93
|
+
} from "./ripgrep-amjwwp15.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./ripgrep-y44na4kk.js";
|
|
97
97
|
import {
|
|
98
98
|
__export
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
100
100
|
|
|
101
101
|
// src/session/runner/llm.ts
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node3
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
109
109
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const bus = yield*
|
|
114
|
-
const lifecycle = yield*
|
|
115
|
-
const store = yield*
|
|
116
|
-
const context = yield*
|
|
117
|
-
const modelTransport = yield*
|
|
112
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
113
|
+
const bus = yield* Service80;
|
|
114
|
+
const lifecycle = yield* Service15;
|
|
115
|
+
const store = yield* Service59;
|
|
116
|
+
const context = yield* Service26;
|
|
117
|
+
const modelTransport = yield* Service32;
|
|
118
118
|
const db = (yield* Service84).db;
|
|
119
|
-
const compaction = yield*
|
|
120
|
-
const plugins = yield*
|
|
121
|
-
const title = yield*
|
|
119
|
+
const compaction = yield* Service9;
|
|
120
|
+
const plugins = yield* Service30;
|
|
121
|
+
const title = yield* Service3;
|
|
122
122
|
const steps = yield* make3;
|
|
123
123
|
const titles = yield* FiberMap.make();
|
|
124
124
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make8(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
});
|
|
359
|
-
return
|
|
359
|
+
return Service53.of({ drain });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
362
|
-
service:
|
|
361
|
+
var node3 = makeLocationNode({
|
|
362
|
+
service: Service53,
|
|
363
363
|
layer,
|
|
364
364
|
deps: [
|
|
365
|
-
|
|
366
|
-
|
|
365
|
+
node84,
|
|
366
|
+
node17,
|
|
367
367
|
llmClient2,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
368
|
+
node30,
|
|
369
|
+
node35,
|
|
370
|
+
node62,
|
|
371
|
+
node11,
|
|
372
|
+
node21,
|
|
373
|
+
node4,
|
|
374
|
+
node51,
|
|
375
|
+
node53,
|
|
376
376
|
node88
|
|
377
377
|
]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export {
|
|
380
|
+
export { node3, exports_llm };
|