@opencode/core 0.0.0-dev-20224 → 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/{rpc-jrrazstp.js → ripgrep-02jfzr1n.js} +9 -9
- package/dist/chunks/{rpc-bvcdv2ee.js → ripgrep-06zjq4kk.js} +15 -15
- package/dist/chunks/{rpc-wcxa5cm4.js → ripgrep-09r6bem7.js} +17 -17
- package/dist/chunks/{rpc-nanx9z7d.js → ripgrep-0antrmc1.js} +10 -10
- package/dist/chunks/{rpc-bnf6pzzw.js → ripgrep-0ebnstrp.js} +30 -30
- package/dist/chunks/{rpc-4r37mwpa.js → ripgrep-0fvk3drk.js} +20 -20
- package/dist/chunks/{rpc-tkgh5sbc.js → ripgrep-0j4spdcs.js} +11 -11
- package/dist/chunks/{rpc-sbdrsm1d.js → ripgrep-0ks27nrh.js} +51 -51
- package/dist/chunks/{rpc-wqmhqt44.js → ripgrep-0nxbz9g5.js} +36 -36
- package/dist/chunks/{rpc-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{rpc-705e2ap1.js → ripgrep-0ryd0fps.js} +5 -5
- package/dist/chunks/{rpc-y1qqcj8h.js → ripgrep-0t9wd588.js} +8 -8
- package/dist/chunks/{rpc-29btxg4b.js → ripgrep-0yp90j0g.js} +4 -4
- package/dist/chunks/{rpc-b7wazbtb.js → ripgrep-118kj19k.js} +17 -17
- package/dist/chunks/{rpc-kdr2y7sc.js → ripgrep-11skqav9.js} +85 -85
- package/dist/chunks/{rpc-tpw6cwsb.js → ripgrep-1ajx6rf5.js} +8 -8
- package/dist/chunks/{rpc-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{rpc-j62efq2m.js → ripgrep-1j2r6vf4.js} +7 -7
- package/dist/chunks/{rpc-fb1hjgew.js → ripgrep-1qxqsx3z.js} +3 -3
- package/dist/chunks/{rpc-1ck09sm2.js → ripgrep-1w79vp60.js} +28 -28
- package/dist/chunks/{rpc-n2srvep7.js → ripgrep-1y283654.js} +4 -4
- package/dist/chunks/{rpc-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{rpc-55bft698.js → ripgrep-28nksq6y.js} +10 -10
- package/dist/chunks/{rpc-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{rpc-a45xf03t.js → ripgrep-2z7bsgcd.js} +25 -25
- package/dist/chunks/{rpc-avr3epf8.js → ripgrep-35atjjte.js} +18 -18
- package/dist/chunks/{rpc-tgpsmcaa.js → ripgrep-3849nkrv.js} +14 -14
- package/dist/chunks/{rpc-6anwy9fs.js → ripgrep-3b1q5j1v.js} +6 -6
- package/dist/chunks/{rpc-0ng3qkf0.js → ripgrep-3f3jy9nt.js} +23 -23
- package/dist/chunks/{rpc-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/ripgrep-3g47k8bj.js +26 -0
- package/dist/chunks/{rpc-vtt0yr3x.js → ripgrep-3h6g4yxf.js} +14 -14
- package/dist/chunks/{rpc-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-wk6jwtqz.js → ripgrep-3mr58zvy.js} +5 -5
- package/dist/chunks/{rpc-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{rpc-8kj5sqfp.js → ripgrep-3tvqrhj3.js} +11 -11
- package/dist/chunks/{rpc-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{rpc-zc7sp5v7.js → ripgrep-3v0zm7c6.js} +16 -16
- package/dist/chunks/{rpc-tn0aqsam.js → ripgrep-3w0fmcng.js} +5 -5
- package/dist/chunks/{rpc-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{rpc-d7a37h98.js → ripgrep-422mtr2z.js} +5 -5
- package/dist/chunks/{rpc-8b9pfjqy.js → ripgrep-4400tn2z.js} +28 -28
- package/dist/chunks/{rpc-4eq8w0dz.js → ripgrep-44pdqs77.js} +4 -4
- package/dist/chunks/{rpc-vrqsv3fa.js → ripgrep-47txkgwg.js} +23 -23
- package/dist/chunks/{rpc-sdcd8j0d.js → ripgrep-48qwr564.js} +30 -30
- package/dist/chunks/{rpc-y98ks474.js → ripgrep-4k61gtt7.js} +31 -31
- package/dist/chunks/{rpc-46hzd864.js → ripgrep-4pvhcca7.js} +7 -7
- package/dist/chunks/{rpc-h3zq03vb.js → ripgrep-4vmfrt63.js} +9 -9
- package/dist/chunks/{rpc-ckecvw8r.js → ripgrep-54tcyq79.js} +2 -2
- package/dist/chunks/{rpc-33w4ejhs.js → ripgrep-56gdpj1q.js} +6 -6
- package/dist/chunks/{rpc-2w6fc0zt.js → ripgrep-57ez7d0k.js} +7 -7
- package/dist/chunks/{rpc-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{rpc-pn1y9y4g.js → ripgrep-5e76c55v.js} +28 -28
- package/dist/chunks/{rpc-9ze1bqdw.js → ripgrep-5jt9y05x.js} +37 -37
- package/dist/chunks/{rpc-nkbj3xh8.js → ripgrep-5pt14vhf.js} +14 -14
- package/dist/chunks/{rpc-e3qxr5gk.js → ripgrep-5qd3pb7m.js} +2 -2
- package/dist/chunks/{rpc-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{rpc-xv5nxp49.js → ripgrep-5wbzy8nn.js} +10 -10
- package/dist/chunks/{rpc-jc854ahh.js → ripgrep-5ztw1556.js} +9 -9
- package/dist/chunks/{rpc-2k8khapm.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{rpc-911xaqx0.js → ripgrep-65asva9x.js} +24 -24
- package/dist/chunks/{rpc-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{rpc-db54agdm.js → ripgrep-68y7phbn.js} +12 -12
- package/dist/chunks/{rpc-ye8cnd5y.js → ripgrep-6b77vcbw.js} +10 -10
- package/dist/chunks/{rpc-61hbrkhq.js → ripgrep-6egqwrjf.js} +14 -14
- package/dist/chunks/{rpc-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{rpc-cm42m14b.js → ripgrep-6x4rvyv1.js} +18 -18
- package/dist/chunks/{rpc-ks4s575r.js → ripgrep-70f0pfem.js} +12 -12
- package/dist/chunks/{rpc-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-eafppxg9.js → ripgrep-7cj56fr8.js} +18 -18
- package/dist/chunks/{rpc-60ztnerv.js → ripgrep-7j1nyp11.js} +14 -14
- package/dist/chunks/ripgrep-7kmmr6nj.js +252 -0
- package/dist/chunks/{rpc-xvp1j2dc.js → ripgrep-7pr2hkwv.js} +5 -5
- package/dist/chunks/{rpc-kerhshr9.js → ripgrep-7xyrrtj6.js} +5 -5
- package/dist/chunks/{rpc-73tb2d7t.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{rpc-g6ypk20d.js → ripgrep-7znnsvj9.js} +17 -17
- package/dist/chunks/{rpc-yf6pqagp.js → ripgrep-82ynta9e.js} +26 -26
- package/dist/chunks/{rpc-17tgjc63.js → ripgrep-83a3b7v7.js} +20 -20
- package/dist/chunks/{rpc-59xqp4q6.js → ripgrep-84925a50.js} +15 -15
- package/dist/chunks/{rpc-2402vzrj.js → ripgrep-84txncab.js} +2 -2
- package/dist/chunks/{rpc-8dkrvbda.js → ripgrep-890ccxt6.js} +10 -10
- package/dist/chunks/{rpc-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{rpc-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{rpc-1ze3xm91.js → ripgrep-8djh5arb.js} +8 -8
- package/dist/chunks/{rpc-9qth1mer.js → ripgrep-8zf437sr.js} +15 -15
- package/dist/chunks/{rpc-t2qevr0q.js → ripgrep-8zj9r478.js} +8 -8
- package/dist/chunks/{rpc-p4axxag3.js → ripgrep-90ar7f1h.js} +3 -3
- package/dist/chunks/{rpc-82xkvmsx.js → ripgrep-930djq8z.js} +13 -13
- package/dist/chunks/{rpc-dj50hwt2.js → ripgrep-99sz5wqb.js} +16 -16
- package/dist/chunks/{rpc-1tkq8rwe.js → ripgrep-9jy5zj8y.js} +16 -16
- package/dist/chunks/{rpc-v7ttk1k5.js → ripgrep-9rz3pcwr.js} +3 -3
- package/dist/chunks/{rpc-5qtbtk4r.js → ripgrep-9satsa0x.js} +18 -18
- package/dist/chunks/{rpc-xdk4v0b3.js → ripgrep-a2w83xt4.js} +28 -28
- package/dist/chunks/{rpc-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{rpc-3ynfmtcj.js → ripgrep-abt26qbx.js} +20 -20
- package/dist/chunks/{rpc-k87jrsyw.js → ripgrep-agkcfxfp.js} +6 -6
- package/dist/chunks/{rpc-p3zdvk1j.js → ripgrep-ajetnjhk.js} +42 -42
- package/dist/chunks/{rpc-wqc6684y.js → ripgrep-ak8wweg5.js} +2 -2
- package/dist/chunks/{rpc-hjx66919.js → ripgrep-at9pxffm.js} +18 -18
- package/dist/chunks/{rpc-vdptz04f.js → ripgrep-ay0dkb9c.js} +6 -6
- package/dist/chunks/{rpc-ataya66t.js → ripgrep-b31k3rgg.js} +9 -9
- package/dist/chunks/{rpc-3d9q0z9h.js → ripgrep-b563cd88.js} +24 -24
- package/dist/chunks/{rpc-dzmxyd7h.js → ripgrep-b5rg9k2a.js} +4 -4
- package/dist/chunks/{rpc-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{rpc-d1khqved.js → ripgrep-bgxcxs0p.js} +5 -5
- package/dist/chunks/{rpc-z07pqspn.js → ripgrep-bjtzbw4r.js} +3 -3
- package/dist/chunks/{rpc-aj2hwc8g.js → ripgrep-bmc4xpke.js} +24 -24
- package/dist/chunks/{rpc-07x1x1ts.js → ripgrep-bmxgdxm8.js} +18 -18
- package/dist/chunks/{rpc-r0ng0yj5.js → ripgrep-bq2bgfnr.js} +29 -29
- package/dist/chunks/{rpc-s2d6nvja.js → ripgrep-by02v520.js} +15 -15
- package/dist/chunks/{rpc-0y1sr1c9.js → ripgrep-by9ynfjg.js} +11 -11
- package/dist/chunks/{rpc-2aecba3t.js → ripgrep-c1w9r3v6.js} +17 -17
- package/dist/chunks/{rpc-5dkn69vz.js → ripgrep-c35597j6.js} +4 -4
- package/dist/chunks/{rpc-5eb3a1ca.js → ripgrep-c4qkmtec.js} +12 -12
- package/dist/chunks/{rpc-emm42b62.js → ripgrep-c5csqyae.js} +8 -8
- package/dist/chunks/{rpc-01r2c5m8.js → ripgrep-c871hbrt.js} +20 -20
- package/dist/chunks/{rpc-axmvebxj.js → ripgrep-cavr175a.js} +21 -21
- package/dist/chunks/{rpc-m9bnbapx.js → ripgrep-cd5qxzby.js} +31 -31
- package/dist/chunks/{rpc-saqncsjt.js → ripgrep-cp62wjev.js} +18 -18
- package/dist/chunks/{rpc-sra9araw.js → ripgrep-cr07tj7n.js} +5 -5
- package/dist/chunks/{rpc-cwa6csj7.js → ripgrep-cwa6csj7.js} +2 -2
- package/dist/chunks/{rpc-kyvhk9gp.js → ripgrep-cy08etkj.js} +43 -43
- package/dist/chunks/{rpc-j2q5esyv.js → ripgrep-czf913v6.js} +15 -15
- package/dist/chunks/{rpc-a2ew8a62.js → ripgrep-d216944b.js} +7 -7
- package/dist/chunks/{rpc-2swe609t.js → ripgrep-d7qrjzdq.js} +27 -27
- package/dist/chunks/{rpc-kqaf077y.js → ripgrep-dftdgzwf.js} +37 -37
- package/dist/chunks/{rpc-t7n9q6bq.js → ripgrep-dhmh7aw6.js} +4 -4
- package/dist/chunks/{rpc-xkntkrq7.js → ripgrep-dmqcgk4z.js} +5 -5
- package/dist/chunks/{rpc-33w90mgy.js → ripgrep-dpeqjypf.js} +4 -4
- package/dist/chunks/{rpc-dpkg50ah.js → ripgrep-dpkg50ah.js} +1 -1
- package/dist/chunks/{rpc-xfkkasph.js → ripgrep-drwq78ky.js} +4 -4
- package/dist/chunks/{rpc-bdf29vvx.js → ripgrep-ds8dekzs.js} +25 -25
- package/dist/chunks/ripgrep-dxj72tfx.js +18 -0
- package/dist/chunks/{rpc-wwy42dnk.js → ripgrep-e3x42eyx.js} +4 -4
- package/dist/chunks/{rpc-djhjy4ry.js → ripgrep-e73e9hqb.js} +27 -27
- package/dist/chunks/{rpc-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{rpc-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{rpc-kq76ymd0.js → ripgrep-efbjszw7.js} +5 -5
- package/dist/chunks/{rpc-1kb4nj88.js → ripgrep-egybd8b7.js} +3 -3
- package/dist/chunks/{rpc-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{rpc-61t48z3p.js → ripgrep-ey1ph643.js} +5 -5
- package/dist/chunks/{rpc-4fp42h4f.js → ripgrep-f3gec5hw.js} +6 -6
- package/dist/chunks/{rpc-7fw6dmmr.js → ripgrep-fcwgv8gv.js} +21 -21
- package/dist/chunks/{rpc-5rb2f846.js → ripgrep-fj7pyrjd.js} +29 -29
- package/dist/chunks/{rpc-h5w29vws.js → ripgrep-fp2xarvc.js} +1 -1
- package/dist/chunks/{rpc-k6yq57aq.js → ripgrep-fqka1xvk.js} +3 -3
- package/dist/chunks/{rpc-vn4gjnxr.js → ripgrep-ftdfymg3.js} +10 -10
- package/dist/chunks/{rpc-6r7xjz6b.js → ripgrep-g6eythae.js} +61 -61
- package/dist/chunks/{rpc-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{rpc-6y58km9h.js → ripgrep-gdesffbr.js} +12 -12
- package/dist/chunks/{rpc-94ek1h2f.js → ripgrep-gfvb90ym.js} +2 -2
- package/dist/chunks/{rpc-s6x4fzhm.js → ripgrep-gq3f66va.js} +2 -2
- package/dist/chunks/{rpc-eaf7bn6e.js → ripgrep-gra0vtax.js} +11 -11
- package/dist/chunks/{rpc-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{rpc-rexb5wtd.js → ripgrep-h5bh3ng3.js} +19 -19
- package/dist/chunks/{rpc-4dgbcxzg.js → ripgrep-h6r3nrb9.js} +4 -4
- package/dist/chunks/{rpc-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{rpc-b0x6hx13.js → ripgrep-h9vcqc78.js} +11 -11
- package/dist/chunks/{rpc-jb9mn43j.js → ripgrep-hbgnhwv0.js} +22 -22
- package/dist/chunks/{rpc-5xx5bm18.js → ripgrep-hccrd3vs.js} +32 -32
- package/dist/chunks/{rpc-wd2dgpck.js → ripgrep-hf37sfna.js} +33 -33
- package/dist/chunks/{rpc-5th2s8aw.js → ripgrep-hncg30kp.js} +24 -24
- package/dist/chunks/{rpc-d43tgzm4.js → ripgrep-hrc132h6.js} +9 -9
- package/dist/chunks/{rpc-rdpxprv5.js → ripgrep-hsfvbcm9.js} +8 -8
- package/dist/chunks/{rpc-7dn7wph4.js → ripgrep-hxfzz81b.js} +17 -17
- package/dist/chunks/{rpc-9dgzngwy.js → ripgrep-j31cqb59.js} +1 -1
- package/dist/chunks/{rpc-0qd78r7p.js → ripgrep-j49kr4wg.js} +23 -23
- package/dist/chunks/{rpc-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{rpc-bydnjh3t.js → ripgrep-j58c5xyq.js} +9 -9
- package/dist/chunks/{rpc-r98e92ep.js → ripgrep-j83byb14.js} +4 -4
- package/dist/chunks/{rpc-ywxndyv1.js → ripgrep-j8m1p4p1.js} +4 -4
- package/dist/chunks/{rpc-knmp623e.js → ripgrep-jb20k743.js} +9 -9
- package/dist/chunks/{rpc-dkw4e9f1.js → ripgrep-jh1t293c.js} +20 -20
- package/dist/chunks/{rpc-r3wr5xg7.js → ripgrep-jny2x7hk.js} +45 -45
- package/dist/chunks/{rpc-f2a55b9w.js → ripgrep-jrrknm56.js} +13 -13
- package/dist/chunks/{rpc-s7pfdvj0.js → ripgrep-jw4cy8r0.js} +49 -49
- package/dist/chunks/{rpc-g3bs2z4s.js → ripgrep-k1qrnqst.js} +8 -8
- package/dist/chunks/{rpc-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{rpc-887sth5f.js → ripgrep-k4za7ts1.js} +11 -11
- package/dist/chunks/{rpc-t7x8bg7z.js → ripgrep-kfm9rn2s.js} +18 -18
- package/dist/chunks/{rpc-n15rqfwk.js → ripgrep-kgxnw31j.js} +11 -11
- package/dist/chunks/{rpc-9yff3t6h.js → ripgrep-kkkads8k.js} +15 -15
- package/dist/chunks/{rpc-ft1g15zq.js → ripgrep-kvmq8xfb.js} +10 -10
- package/dist/chunks/{rpc-q657g4g7.js → ripgrep-kyav30yg.js} +11 -11
- package/dist/chunks/{rpc-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{rpc-1874525a.js → ripgrep-m52a8tfn.js} +37 -37
- package/dist/chunks/{rpc-g7schdde.js → ripgrep-m5nx04ee.js} +12 -12
- package/dist/chunks/{rpc-zsaha2d7.js → ripgrep-m7b8vgv2.js} +20 -20
- package/dist/chunks/{rpc-1ggtwts1.js → ripgrep-m9k4p762.js} +48 -48
- package/dist/chunks/{rpc-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-p57dvf2n.js → ripgrep-marnn1hp.js} +9 -9
- package/dist/chunks/{rpc-9esz73wg.js → ripgrep-mdvcq96a.js} +1 -1
- package/dist/chunks/{rpc-qf39nrvn.js → ripgrep-mebw3mav.js} +84 -84
- package/dist/chunks/{rpc-mvzp9w89.js → ripgrep-mjyv029k.js} +8 -8
- package/dist/chunks/{rpc-0546m1r6.js → ripgrep-mqbk7dpn.js} +9 -9
- package/dist/chunks/{rpc-mvksx64m.js → ripgrep-mzywpf3p.js} +4 -4
- package/dist/chunks/{rpc-wjd1eqsf.js → ripgrep-n3tj2r8q.js} +15 -15
- package/dist/chunks/{rpc-t8k67vys.js → ripgrep-ncpeyn96.js} +48 -48
- package/dist/chunks/{rpc-sdz95h4g.js → ripgrep-nd8hshm2.js} +24 -24
- package/dist/chunks/{rpc-wyg44cg0.js → ripgrep-nefgvkw2.js} +11 -11
- package/dist/chunks/{rpc-dftt7jbf.js → ripgrep-ntf1kdt7.js} +7 -7
- package/dist/chunks/{rpc-33ed7edk.js → ripgrep-nztkb09y.js} +3 -3
- package/dist/chunks/{rpc-tw9eefyr.js → ripgrep-p0n61q8f.js} +3 -3
- package/dist/chunks/{rpc-r0zct088.js → ripgrep-p0tyvh4g.js} +11 -11
- package/dist/chunks/{rpc-8zw2zqhe.js → ripgrep-p22k9wg5.js} +34 -34
- package/dist/chunks/{rpc-tk9ve4rs.js → ripgrep-p8n1apjv.js} +26 -26
- package/dist/chunks/{rpc-bvg5gydp.js → ripgrep-pehm6tfq.js} +176 -176
- package/dist/chunks/{rpc-dy25nfy6.js → ripgrep-pfzqt8w6.js} +9 -9
- package/dist/chunks/{rpc-641ncxkp.js → ripgrep-pjfmr211.js} +24 -24
- package/dist/chunks/{rpc-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{rpc-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-wd3x2cqz.js → ripgrep-psazpmmj.js} +2 -2
- package/dist/chunks/{rpc-er7m35t7.js → ripgrep-q22sh36z.js} +36 -36
- package/dist/chunks/{rpc-d4z5zpac.js → ripgrep-qhtcadmq.js} +27 -27
- package/dist/chunks/{rpc-9gp4vace.js → ripgrep-qjs6n2vb.js} +13 -13
- package/dist/chunks/{rpc-k97nvw3s.js → ripgrep-qksvzkeq.js} +40 -40
- package/dist/chunks/{rpc-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{rpc-e7a3whya.js → ripgrep-qvm8wxam.js} +17 -17
- package/dist/chunks/{rpc-tvks49a3.js → ripgrep-qwgw6s1s.js} +330 -330
- package/dist/chunks/{rpc-w30pqdw0.js → ripgrep-qyjfak0f.js} +37 -37
- package/dist/chunks/{rpc-40p0tn2p.js → ripgrep-qzqk0by0.js} +13 -13
- package/dist/chunks/{rpc-qyj3y2ty.js → ripgrep-r3p02j26.js} +12 -12
- package/dist/chunks/{rpc-dmdp0vd0.js → ripgrep-r4nkyxgj.js} +5 -5
- package/dist/chunks/{rpc-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{rpc-py3kkmfq.js → ripgrep-rkprpv83.js} +2 -2
- package/dist/chunks/{rpc-dpahde6h.js → ripgrep-rtathh62.js} +8 -8
- package/dist/chunks/{rpc-2rdwn31h.js → ripgrep-rxqb97gr.js} +31 -31
- package/dist/chunks/{rpc-9wyv5qrm.js → ripgrep-rzhjeyb2.js} +33 -33
- package/dist/chunks/{rpc-291mp9vb.js → ripgrep-s12cwej7.js} +10 -10
- package/dist/chunks/{rpc-r993e5vv.js → ripgrep-s239yvev.js} +20 -20
- package/dist/chunks/{rpc-7bftgs18.js → ripgrep-s3vkv9ay.js} +4 -4
- package/dist/chunks/{rpc-30846h32.js → ripgrep-s5met55r.js} +7 -7
- package/dist/chunks/{rpc-gv66z500.js → ripgrep-s63ncq3n.js} +44 -44
- package/dist/chunks/{rpc-17b9jkx1.js → ripgrep-s7kjtx58.js} +30 -30
- package/dist/chunks/{rpc-rhjbct0v.js → ripgrep-s8d7rejh.js} +4 -4
- package/dist/chunks/{rpc-bw25a4j5.js → ripgrep-saxh7epz.js} +5 -5
- package/dist/chunks/{rpc-wzdtzazs.js → ripgrep-sdjhnzhs.js} +5 -5
- package/dist/chunks/{rpc-dvjgjqby.js → ripgrep-sv8vja0m.js} +13 -13
- package/dist/chunks/{rpc-ad6wcgn6.js → ripgrep-syaa2c6w.js} +44 -44
- package/dist/chunks/{rpc-vv97ra8n.js → ripgrep-t590yz96.js} +11 -11
- package/dist/chunks/{rpc-smcmav20.js → ripgrep-t8nr5fwz.js} +23 -23
- package/dist/chunks/{rpc-w4axh9wz.js → ripgrep-t9ym9qvh.js} +8 -8
- package/dist/chunks/{rpc-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{rpc-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{rpc-7w3y3331.js → ripgrep-tehpmbzs.js} +20 -20
- package/dist/chunks/{rpc-q67f7nmy.js → ripgrep-tpebh6ag.js} +11 -11
- package/dist/chunks/{rpc-dfqbq8r5.js → ripgrep-tvfehy0g.js} +20 -20
- package/dist/chunks/{rpc-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{rpc-p14jyq32.js → ripgrep-tyw4mndc.js} +19 -19
- package/dist/chunks/{rpc-3p0c6km7.js → ripgrep-v3r4yrhg.js} +7 -7
- package/dist/chunks/{rpc-rmh2g5sz.js → ripgrep-v6ef7kgk.js} +5 -5
- package/dist/chunks/{rpc-vvccsdf3.js → ripgrep-v8jfbz3g.js} +6 -6
- package/dist/chunks/{rpc-w9g9cqgp.js → ripgrep-v8rep1gr.js} +6 -6
- package/dist/chunks/{rpc-v9cmtvna.js → ripgrep-v8w4r62m.js} +29 -29
- package/dist/chunks/{rpc-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{rpc-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{rpc-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{rpc-e6a68qvh.js → ripgrep-w18xh17a.js} +4 -4
- package/dist/chunks/{rpc-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-5ysbk3t6.js → ripgrep-w499dnd0.js} +10 -10
- package/dist/chunks/{rpc-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-w3rf13e0.js → ripgrep-wqjhyw9m.js} +24 -24
- package/dist/chunks/{rpc-2qm5zhy8.js → ripgrep-x1158p12.js} +11 -11
- package/dist/chunks/{rpc-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{rpc-j693j56p.js → ripgrep-xb3sekxh.js} +7 -7
- package/dist/chunks/{rpc-0j8fgfmj.js → ripgrep-xdt98d5a.js} +36 -36
- package/dist/chunks/{rpc-bz7wthpw.js → ripgrep-xf258je3.js} +13 -13
- package/dist/chunks/{rpc-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{rpc-1s473r1k.js → ripgrep-y2qsw3tz.js} +23 -23
- package/dist/chunks/{rpc-fzj6yzt3.js → ripgrep-y9d0ewq8.js} +8 -8
- package/dist/chunks/{rpc-fxkepnf0.js → ripgrep-yk5x40hx.js} +16 -16
- package/dist/chunks/{rpc-1acjjqhc.js → ripgrep-yp2x3t23.js} +4 -4
- package/dist/chunks/{rpc-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{rpc-s4enseaf.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{rpc-pnv527nz.js → ripgrep-ywkfy99j.js} +9 -9
- package/dist/chunks/{rpc-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{rpc-fgx6hsxk.js → ripgrep-z2receq4.js} +9 -9
- package/dist/chunks/{rpc-29x78va6.js → ripgrep-z63w68vq.js} +6 -6
- package/dist/chunks/{rpc-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{rpc-e7tvatn9.js → ripgrep-zes72mvx.js} +11 -11
- package/dist/chunks/{rpc-v4sm4c0k.js → ripgrep-zf8wr47y.js} +3 -3
- package/dist/chunks/{rpc-zzr03zs4.js → ripgrep-zqcthdv3.js} +15 -15
- package/dist/chunks/{rpc-19c28r63.js → ripgrep-zr0mv0xb.js} +18 -18
- package/dist/chunks/{rpc-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{rpc-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 +123 -123
- 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 +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- 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 +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- 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 +106 -106
- package/dist/mcp/instructions.js +126 -126
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- 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 +84 -84
- 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 +3 -3
- 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 +348 -348
- 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 +4 -4
- 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 +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- 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 +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- 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 +79 -79
- 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 +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +94 -94
- 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 +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +118 -118
- 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 +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +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 +77 -77
- package/dist/workspace/driver.js +7 -7
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/rpc-9zdhvgqs.js +0 -18
- package/dist/chunks/rpc-qa7zfvr9.js +0 -26
- package/dist/chunks/rpc-tj97xa7g.js +0 -252
- /package/dist/chunks/{rpc-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{rpc-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{rpc-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-egybd8b7.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-dpeqjypf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service82,
|
|
14
|
+
node86
|
|
15
|
+
} from "./ripgrep-68y7phbn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
19
|
Info34,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./ripgrep-psazpmmj.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-gfvb90ym.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
40
|
Info: () => Info33,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service81,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node85,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
61
|
var Info33 = Info34;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,9 +95,9 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service82;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
102
|
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID17.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
170
170
|
if (!row)
|
|
171
171
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event21.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID17.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID17.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID17.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID17.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service81.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node85 = makeGlobalNode({
|
|
288
|
+
service: Service81,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [node87, node88, FSUtil.node,
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-dpeqjypf.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-h6r3nrb9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./ripgrep-5e76c55v.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./ripgrep-ds8dekzs.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service75
|
|
16
|
+
} from "./ripgrep-48qwr564.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-70f0pfem.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service75;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-dpeqjypf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service71,
|
|
7
|
+
node75
|
|
8
|
+
} from "./ripgrep-0antrmc1.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID5,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service40,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node43
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event7 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID5 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID5,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service40 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service71;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service40.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node43 = makeLocationNode({
|
|
188
|
+
service: Service40,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node75]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service40, node43, exports_websearch3, Event7 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./ripgrep-65asva9x.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: () => make10
|
|
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 make10 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service36;
|
|
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 { make10, LoadError2, exports_module };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-egybd8b7.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-dpeqjypf.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-tpebh6ag.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service55,
|
|
21
|
+
node58
|
|
22
|
+
} from "./ripgrep-5pt14vhf.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service20,
|
|
25
|
+
node23
|
|
26
|
+
} from "./ripgrep-mebw3mav.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
@@ -61,8 +61,8 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
61
61
|
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service20;
|
|
65
|
+
const store = yield* Service55;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -150,7 +150,7 @@ Recent conversation:
|
|
|
150
150
|
var node3 = makeLocationNode({
|
|
151
151
|
service: Service2,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [node87, llmClient2,
|
|
153
|
+
deps: [node87, llmClient2, node23, node58, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
156
|
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
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/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service4,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service4 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service4.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node6 = makeGlobalNode({ service: Service4, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service4, node6, exports_discovery };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-5wbzy8nn.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin40,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin40 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin16 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin16 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint6, Plugin40, exports_tinyfish };
|