@opencode/core 0.0.0-dev-20241 → 0.0.0-dev-20248
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{pty-gqpj6er6.js → repository-cache-058qq49r.js} +27 -27
- package/dist/chunks/{pty-z4x8vcyx.js → repository-cache-078rgkvc.js} +18 -18
- package/dist/chunks/{pty-9sbw2ymd.js → repository-cache-07vj3bh8.js} +23 -23
- package/dist/chunks/{pty-7k5pzz91.js → repository-cache-08cc3crx.js} +12 -12
- package/dist/chunks/{pty-6f3gsd2m.js → repository-cache-097j89tx.js} +52 -52
- package/dist/chunks/{pty-5zzhnchw.js → repository-cache-0988adk2.js} +10 -10
- package/dist/chunks/{pty-af04s6ss.js → repository-cache-0f9afca0.js} +5 -5
- package/dist/chunks/{pty-m563m38r.js → repository-cache-0nqfdzfg.js} +11 -11
- package/dist/chunks/{pty-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-nvsf456q.js → repository-cache-0qm7vwzr.js} +23 -23
- package/dist/chunks/{pty-1q4zsn8w.js → repository-cache-0thxwbsq.js} +11 -11
- package/dist/chunks/{pty-yfj51pwm.js → repository-cache-0vvxryhs.js} +20 -20
- package/dist/chunks/{pty-2k2q6fw8.js → repository-cache-0xpxvgpn.js} +9 -9
- package/dist/chunks/{pty-sqa4x5n4.js → repository-cache-11jdz1a5.js} +8 -8
- package/dist/chunks/{pty-ngad3z0g.js → repository-cache-13zjnhww.js} +15 -15
- package/dist/chunks/{pty-3dek0r7g.js → repository-cache-19jrchnq.js} +16 -16
- package/dist/chunks/{pty-f2n192rq.js → repository-cache-1acjjqhc.js} +4 -4
- package/dist/chunks/{pty-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-y84esdn3.js → repository-cache-1e3wa6g2.js} +3 -3
- package/dist/chunks/{pty-nc3tx9jz.js → repository-cache-1jrf61rm.js} +8 -8
- package/dist/chunks/{pty-e6btmr3s.js → repository-cache-1qksrx13.js} +171 -171
- package/dist/chunks/{pty-yckhfgep.js → repository-cache-1v8zdmks.js} +31 -31
- package/dist/chunks/{pty-21r38tys.js → repository-cache-21r38tys.js} +1 -1
- package/dist/chunks/{pty-vx1akz9y.js → repository-cache-23hratnr.js} +17 -17
- package/dist/chunks/{pty-rr5w79wt.js → repository-cache-292dnxcy.js} +11 -11
- package/dist/chunks/{pty-g7ev7cxw.js → repository-cache-29kpjvxb.js} +14 -14
- package/dist/chunks/{pty-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-zk8c4w5t.js → repository-cache-2cmv458r.js} +5 -5
- package/dist/chunks/{pty-v7h219eh.js → repository-cache-2fem29gc.js} +25 -25
- package/dist/chunks/{pty-2k8khapm.js → repository-cache-2k8khapm.js} +1 -1
- package/dist/chunks/{pty-em4dwj0d.js → repository-cache-2q54vq3t.js} +11 -11
- package/dist/chunks/{pty-3s3yvxep.js → repository-cache-32ymn5e1.js} +6 -6
- package/dist/chunks/{pty-mfqp6xfm.js → repository-cache-33w4ejhs.js} +9 -9
- package/dist/chunks/{pty-m2fxrq1x.js → repository-cache-36z7zph9.js} +17 -17
- package/dist/chunks/{pty-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-sf6t82jx.js → repository-cache-3k4dry0a.js} +26 -26
- package/dist/chunks/{pty-0c3h0e6z.js → repository-cache-3sdjj4an.js} +16 -16
- package/dist/chunks/{pty-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-0bfcnrg1.js → repository-cache-427t97hr.js} +1 -1
- package/dist/chunks/{pty-natfc3ay.js → repository-cache-4a2epabq.js} +4 -4
- package/dist/chunks/{pty-44h5tttr.js → repository-cache-4dgbcxzg.js} +4 -4
- package/dist/chunks/{pty-9r13wbwg.js → repository-cache-4e1ama98.js} +3 -3
- package/dist/chunks/{pty-61n243wx.js → repository-cache-4jaemszs.js} +1 -1
- package/dist/chunks/{pty-24wggvhe.js → repository-cache-4jemq3kp.js} +16 -16
- package/dist/chunks/{pty-5qkxfyep.js → repository-cache-4jv7e9dq.js} +9 -9
- package/dist/chunks/{pty-45wxwjsv.js → repository-cache-4t3er74t.js} +39 -39
- package/dist/chunks/{pty-2x3f6yxr.js → repository-cache-4t56bhmg.js} +12 -12
- package/dist/chunks/{pty-afh0ypz9.js → repository-cache-4vekh9c8.js} +29 -29
- package/dist/chunks/repository-cache-51rgksg0.js +507 -0
- package/dist/chunks/{pty-57ez7d0k.js → repository-cache-57ez7d0k.js} +2 -2
- package/dist/chunks/{pty-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-a3zfxb3h.js → repository-cache-5nh1jpgd.js} +26 -26
- package/dist/chunks/{pty-9sayw2ch.js → repository-cache-5nsxsham.js} +5 -5
- package/dist/chunks/{pty-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-b81v50pn.js → repository-cache-5x0bqqwq.js} +5 -5
- package/dist/chunks/{pty-669tq793.js → repository-cache-669tq793.js} +1 -1
- package/dist/chunks/{pty-ab9238g2.js → repository-cache-6anwy9fs.js} +6 -6
- package/dist/chunks/{pty-6msgmcgs.js → repository-cache-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-6rm5yzkt.js → repository-cache-6rm5yzkt.js} +1 -1
- package/dist/chunks/{pty-zd8qt3bk.js → repository-cache-6vjypkf7.js} +24 -24
- package/dist/chunks/{pty-1bbkgx8g.js → repository-cache-73tb2d7t.js} +3 -3
- package/dist/chunks/{pty-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-92873q6k.js → repository-cache-7c5r8mwm.js} +23 -23
- package/dist/chunks/{pty-32zdxkvs.js → repository-cache-7jr3mcnt.js} +33 -33
- package/dist/chunks/{pty-petzbryk.js → repository-cache-7rwbexbt.js} +6 -6
- package/dist/chunks/{pty-hbznj76v.js → repository-cache-7w99qc9d.js} +3 -3
- package/dist/chunks/{pty-3zar4bb6.js → repository-cache-7x0c6mmr.js} +29 -29
- package/dist/chunks/{pty-4s7et4sz.js → repository-cache-81vvr7wj.js} +68 -68
- package/dist/chunks/{pty-rq80fhnt.js → repository-cache-87f3zbh4.js} +11 -11
- package/dist/chunks/{pty-nw2v4mce.js → repository-cache-88bzbqnm.js} +13 -13
- package/dist/chunks/{pty-zrb5rc4f.js → repository-cache-88rp6a5n.js} +27 -27
- package/dist/chunks/{pty-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-xa84kt07.js → repository-cache-8mzhkqz2.js} +25 -25
- package/dist/chunks/{pty-30krspkn.js → repository-cache-8qvzptz7.js} +4 -4
- package/dist/chunks/{pty-b10jyf86.js → repository-cache-91aa3a25.js} +16 -16
- package/dist/chunks/{pty-tjznwxx0.js → repository-cache-91nb1jqk.js} +37 -37
- package/dist/chunks/{pty-94ek1h2f.js → repository-cache-94ek1h2f.js} +2 -2
- package/dist/chunks/{pty-73hkkxz0.js → repository-cache-9609hank.js} +4 -4
- package/dist/chunks/{pty-zdewfq3n.js → repository-cache-9brpyp0y.js} +5 -5
- package/dist/chunks/{pty-v4yy06kz.js → repository-cache-9hy0f780.js} +48 -48
- package/dist/chunks/repository-cache-9s8z1thm.js +26 -0
- package/dist/chunks/repository-cache-9sh4wc5j.js +18 -0
- package/dist/chunks/{pty-wkmn09sz.js → repository-cache-9t1gynrw.js} +32 -32
- package/dist/chunks/{pty-jam4tn4y.js → repository-cache-9y7gjzcp.js} +9 -9
- package/dist/chunks/{pty-6n4wvebq.js → repository-cache-a4ns85mx.js} +20 -20
- package/dist/chunks/{pty-hqwm4sk8.js → repository-cache-a910jp2g.js} +15 -15
- package/dist/chunks/{pty-evxzpz7n.js → repository-cache-aa27w7jm.js} +11 -11
- package/dist/chunks/{pty-arey8x0d.js → repository-cache-aabh3rnp.js} +9 -9
- package/dist/chunks/{pty-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-bmwcq5x5.js → repository-cache-abeafk4b.js} +21 -21
- package/dist/chunks/{pty-vy4zg7qh.js → repository-cache-afed7ext.js} +5 -5
- package/dist/chunks/{pty-3jhgxqxx.js → repository-cache-affanax3.js} +26 -26
- package/dist/chunks/{pty-gk5v5xhs.js → repository-cache-aj81xsja.js} +24 -24
- package/dist/chunks/{pty-nf1sbg18.js → repository-cache-asmhed6t.js} +8 -8
- package/dist/chunks/{pty-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-16hsz39w.js → repository-cache-b7xasgp7.js} +32 -32
- package/dist/chunks/{pty-78kppgjr.js → repository-cache-b8286ec0.js} +8 -8
- package/dist/chunks/{pty-nyw6c0bv.js → repository-cache-bkyxyg8h.js} +26 -26
- package/dist/chunks/{pty-ykp63ekt.js → repository-cache-bqedhbkq.js} +4 -4
- package/dist/chunks/{pty-es2axc3h.js → repository-cache-bqrz9ag7.js} +26 -26
- package/dist/chunks/{pty-btx594cc.js → repository-cache-bvpkk3q2.js} +3 -3
- package/dist/chunks/{pty-jfkvjta7.js → repository-cache-bw43118n.js} +29 -29
- package/dist/chunks/{pty-3r1sf261.js → repository-cache-by47bvwa.js} +13 -13
- package/dist/chunks/{pty-1t09j7vg.js → repository-cache-bzgzbtys.js} +10 -10
- package/dist/chunks/{pty-31bxas0a.js → repository-cache-c1y3bnfr.js} +25 -25
- package/dist/chunks/{pty-c2egcwd5.js → repository-cache-c5yp82fd.js} +20 -20
- package/dist/chunks/{pty-6fjgv3tx.js → repository-cache-c8fx5zam.js} +7 -7
- package/dist/chunks/{pty-pqcp81t9.js → repository-cache-c9xaha6y.js} +15 -15
- package/dist/chunks/{pty-bfh6ya47.js → repository-cache-cafc3hsg.js} +22 -22
- package/dist/chunks/{pty-a1rbvmj7.js → repository-cache-cd4qqjqw.js} +33 -33
- package/dist/chunks/{pty-ckecvw8r.js → repository-cache-ckecvw8r.js} +2 -2
- package/dist/chunks/{pty-fm4n3eyq.js → repository-cache-cn13n8vv.js} +14 -14
- package/dist/chunks/{pty-79qaa2kf.js → repository-cache-cwa6csj7.js} +9 -9
- package/dist/chunks/{pty-yrq2792c.js → repository-cache-cwvtaad0.js} +3 -3
- package/dist/chunks/{pty-140xbb54.js → repository-cache-db9rkawd.js} +44 -44
- package/dist/chunks/{pty-cp4trhpy.js → repository-cache-dgfhv2ra.js} +13 -13
- package/dist/chunks/{pty-4jg0yvch.js → repository-cache-dn7htzk3.js} +20 -20
- package/dist/chunks/{pty-zq6stcrg.js → repository-cache-dpahde6h.js} +8 -8
- package/dist/chunks/{pty-15y67vk6.js → repository-cache-dqw8sfxx.js} +2 -2
- package/dist/chunks/{pty-8g2qdxs9.js → repository-cache-ds2pk4bj.js} +30 -30
- package/dist/chunks/{pty-9hqygntd.js → repository-cache-dtnqh7xf.js} +27 -22
- package/dist/chunks/{pty-g0445xdp.js → repository-cache-dv1qgsyq.js} +8 -8
- package/dist/chunks/{pty-bf10k29y.js → repository-cache-dzk760wa.js} +3 -3
- package/dist/chunks/{pty-tz4n1mmd.js → repository-cache-e2hjzebn.js} +4 -4
- package/dist/chunks/{pty-rqzzs8tq.js → repository-cache-e3k6knef.js} +13 -13
- package/dist/chunks/{pty-eveqn7cq.js → repository-cache-e6zyer8f.js} +17 -17
- package/dist/chunks/{pty-9jdec6an.js → repository-cache-ea3ghczx.js} +21 -21
- package/dist/chunks/{pty-ecfe7b91.js → repository-cache-ecfe7b91.js} +2 -2
- package/dist/chunks/{pty-pakcngh0.js → repository-cache-eeaf82dq.js} +7 -7
- package/dist/chunks/{pty-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-p7a39gy5.js → repository-cache-eqkxs06z.js} +6 -6
- package/dist/chunks/{pty-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-dy3v49r2.js → repository-cache-ev9gp3cm.js} +11 -11
- package/dist/chunks/{pty-bnpy9ev6.js → repository-cache-eyj2vfft.js} +17 -17
- package/dist/chunks/{pty-h00myp85.js → repository-cache-f01042q8.js} +49 -49
- package/dist/chunks/{pty-gs4tkc79.js → repository-cache-f7rj482f.js} +8 -8
- package/dist/chunks/{pty-3wa2an9q.js → repository-cache-f8akmggk.js} +28 -28
- package/dist/chunks/{pty-3p17msm4.js → repository-cache-fj1n3k37.js} +9 -9
- package/dist/chunks/{pty-7r0mserh.js → repository-cache-fnyn8exm.js} +21 -21
- package/dist/chunks/{pty-6h8axav6.js → repository-cache-ftyydgn8.js} +9 -9
- package/dist/chunks/{pty-78jvmpng.js → repository-cache-fy93ygep.js} +30 -30
- package/dist/chunks/{pty-g5agzp2h.js → repository-cache-g5agzp2h.js} +2 -2
- package/dist/chunks/{pty-rceabfjb.js → repository-cache-g5wjn8h2.js} +4 -4
- package/dist/chunks/{pty-y2yz6ws7.js → repository-cache-g9by7d7e.js} +14 -14
- package/dist/chunks/{pty-dke02a2q.js → repository-cache-g9tjzdrf.js} +22 -22
- package/dist/chunks/{pty-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-wkq7w2hk.js → repository-cache-gqf2e7w5.js} +22 -22
- package/dist/chunks/{pty-gv6a8nnw.js → repository-cache-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-d99kb9jw.js → repository-cache-h4xmhyrc.js} +15 -15
- package/dist/chunks/{pty-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-01vst05w.js → repository-cache-h7gdr3a3.js} +42 -42
- package/dist/chunks/{pty-6b6tf05m.js → repository-cache-ht7262xq.js} +14 -14
- package/dist/chunks/{pty-7y5p1sr1.js → repository-cache-hz6g7x4z.js} +8 -8
- package/dist/chunks/{pty-a3he3nyv.js → repository-cache-j1fzn4b4.js} +29 -29
- package/dist/chunks/{pty-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-1wpnfrkj.js → repository-cache-j6k053yf.js} +4 -4
- package/dist/chunks/{pty-p87y7hpb.js → repository-cache-jd97cc84.js} +2 -2
- package/dist/chunks/{pty-j62n369y.js → repository-cache-jg9znx1t.js} +5 -5
- package/dist/chunks/{pty-49exe669.js → repository-cache-k8hpw67k.js} +5 -5
- package/dist/chunks/{pty-xpzjeq3a.js → repository-cache-kayzqgev.js} +20 -20
- package/dist/chunks/{pty-kpgsxh3c.js → repository-cache-kbckyd8w.js} +13 -13
- package/dist/chunks/{pty-sd182w7n.js → repository-cache-kf2m36k8.js} +24 -24
- package/dist/chunks/{pty-zdcx8jr2.js → repository-cache-kjz0qpx3.js} +8 -8
- package/dist/chunks/{pty-3meec69r.js → repository-cache-kn0wphkh.js} +17 -17
- package/dist/chunks/{pty-haszz9qj.js → repository-cache-kpcpgk5c.js} +82 -82
- package/dist/chunks/{pty-r4ezxwjb.js → repository-cache-m1yw9ks4.js} +10 -10
- package/dist/chunks/{pty-qwmtame2.js → repository-cache-m1zaf8q8.js} +11 -11
- package/dist/chunks/{pty-m3fdjcah.js → repository-cache-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-b7qnbf45.js → repository-cache-m5gw4h36.js} +4 -4
- package/dist/chunks/{pty-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-f3ngv102.js → repository-cache-magykp64.js} +4 -4
- package/dist/chunks/{pty-rqdx9gb6.js → repository-cache-mfzsbzca.js} +16 -16
- package/dist/chunks/{pty-7qcv56qz.js → repository-cache-mgmaefw5.js} +6 -6
- package/dist/chunks/{pty-48vtn20n.js → repository-cache-mtqw2cwj.js} +10 -10
- package/dist/chunks/{pty-wq4mmp7m.js → repository-cache-n1ka8r9d.js} +4 -4
- package/dist/chunks/{pty-rp4sv622.js → repository-cache-nng2ktcm.js} +2 -2
- package/dist/chunks/{pty-pkfctg7d.js → repository-cache-npc9mpth.js} +44 -44
- package/dist/chunks/{pty-29j3yxrv.js → repository-cache-nsbfzarf.js} +27 -27
- package/dist/chunks/{pty-k3c624dm.js → repository-cache-nzks3jc8.js} +3 -3
- package/dist/chunks/{pty-399vjpvh.js → repository-cache-p5hvz7y2.js} +10 -10
- package/dist/chunks/{pty-hdthj1pw.js → repository-cache-pb1eahw5.js} +8 -8
- package/dist/chunks/{pty-dqczjf24.js → repository-cache-pe82yt1p.js} +3 -3
- package/dist/chunks/{pty-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-3nqrbqk0.js → repository-cache-pkaxfq83.js} +35 -35
- package/dist/chunks/{pty-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{pty-3dqaahn9.js → repository-cache-pkqjp23s.js} +4 -4
- package/dist/chunks/{pty-81y2sag2.js → repository-cache-pnef2ahb.js} +25 -25
- package/dist/chunks/{pty-dnmtb8jk.js → repository-cache-prak7c72.js} +31 -31
- package/dist/chunks/{pty-e7bpba2x.js → repository-cache-pxm4np1h.js} +15 -15
- package/dist/chunks/{pty-6pc27hjz.js → repository-cache-py3kkmfq.js} +6 -6
- package/dist/chunks/{pty-vt27zn5n.js → repository-cache-q3tmtmkh.js} +11 -11
- package/dist/chunks/{pty-tx9w5tca.js → repository-cache-qby9dwvd.js} +8 -8
- package/dist/chunks/{pty-rhafb4aa.js → repository-cache-qg0jgkcp.js} +9 -9
- package/dist/chunks/{pty-agwtjn7h.js → repository-cache-qg8cy7et.js} +10 -10
- package/dist/chunks/{pty-zdq65h6r.js → repository-cache-qjd41qs4.js} +3 -3
- package/dist/chunks/{pty-e6hmchc5.js → repository-cache-qjnxxf51.js} +5 -5
- package/dist/chunks/{pty-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-vb7xznyv.js → repository-cache-qwggzqz9.js} +30 -30
- package/dist/chunks/{pty-hybxtsjq.js → repository-cache-r21ez3wq.js} +9 -9
- package/dist/chunks/{pty-7fp69wc6.js → repository-cache-r2gywbkr.js} +5 -5
- package/dist/chunks/{pty-jc00fynt.js → repository-cache-r5h1gx5m.js} +11 -11
- package/dist/chunks/{pty-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-mmd2gt62.js → repository-cache-repe8m51.js} +23 -23
- package/dist/chunks/{pty-qpaq7ft3.js → repository-cache-rrytxcw3.js} +16 -16
- package/dist/chunks/{pty-ratrq7cm.js → repository-cache-ryr25ayn.js} +4 -4
- package/dist/chunks/{pty-0zfem7mk.js → repository-cache-s0xttw3k.js} +18 -18
- package/dist/chunks/{pty-6r5c1vje.js → repository-cache-se8vzq67.js} +20 -20
- package/dist/chunks/{pty-0gefkeg7.js → repository-cache-sjr0pt8x.js} +11 -11
- package/dist/chunks/{pty-rsr04b2n.js → repository-cache-sqghgrkn.js} +10 -10
- package/dist/chunks/{pty-fbk8frwm.js → repository-cache-ss901cdy.js} +3 -3
- package/dist/chunks/{pty-807f613b.js → repository-cache-ssz3s5wm.js} +40 -40
- package/dist/chunks/{pty-dfe8djrf.js → repository-cache-sx1n432n.js} +4 -4
- package/dist/chunks/{pty-s30fyz93.js → repository-cache-syf57q56.js} +4 -4
- package/dist/chunks/{pty-ka2whr6h.js → repository-cache-t043jrc7.js} +40 -40
- package/dist/chunks/{pty-dj9sq318.js → repository-cache-t0fxg8b9.js} +5 -5
- package/dist/chunks/{pty-eaj1djv9.js → repository-cache-t550f9t1.js} +8 -8
- package/dist/chunks/{pty-h958fs6f.js → repository-cache-t7ag8xg6.js} +12 -12
- package/dist/chunks/{pty-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tcezcvh9.js → repository-cache-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{pty-4k009h74.js → repository-cache-th00ytsn.js} +24 -24
- package/dist/chunks/{pty-bvam09wt.js → repository-cache-tjm97nt9.js} +20 -20
- package/dist/chunks/{pty-tvtrv512.js → repository-cache-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-htjsxrd7.js → repository-cache-v6f0g2q9.js} +13 -13
- package/dist/chunks/{pty-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-h24wanpd.js → repository-cache-vfm2ry0n.js} +18 -18
- package/dist/chunks/{pty-mfjdmrp8.js → repository-cache-vrxara3k.js} +45 -45
- package/dist/chunks/{pty-a0vpxxed.js → repository-cache-vstzsebn.js} +5 -5
- package/dist/chunks/{pty-vzcthcp8.js → repository-cache-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-84txncab.js → repository-cache-w1eejvng.js} +5 -5
- package/dist/chunks/{pty-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-9j0dwt0n.js → repository-cache-w9cye5bh.js} +5 -5
- package/dist/chunks/{pty-wd3x2cqz.js → repository-cache-wd3x2cqz.js} +2 -2
- package/dist/chunks/{pty-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{pty-wkcsbyg1.js → repository-cache-wfv2770d.js} +23 -23
- package/dist/chunks/{pty-1xjcf8r7.js → repository-cache-wjqrnc96.js} +15 -15
- package/dist/chunks/{pty-6hjx5zpb.js → repository-cache-wk5z6jzv.js} +9 -9
- package/dist/chunks/{pty-jk65v3xz.js → repository-cache-wm6eqmjh.js} +3 -3
- package/dist/chunks/{pty-464e7j92.js → repository-cache-wtp2v689.js} +33 -33
- package/dist/chunks/{pty-ch9ek5wv.js → repository-cache-wtvz5zte.js} +18 -18
- package/dist/chunks/{pty-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-xpdm92c9.js → repository-cache-x3jaej8z.js} +11 -11
- package/dist/chunks/{pty-6pd7t5p9.js → repository-cache-x8mth232.js} +11 -11
- package/dist/chunks/{pty-j0ct8xdg.js → repository-cache-x9wftsq0.js} +5 -5
- package/dist/chunks/{pty-c7f1t297.js → repository-cache-xczp8xr7.js} +22 -22
- package/dist/chunks/repository-cache-xdc9t4mb.js +252 -0
- package/dist/chunks/{pty-drwq78ky.js → repository-cache-xfkkasph.js} +4 -4
- package/dist/chunks/{pty-dmqcgk4z.js → repository-cache-xkntkrq7.js} +5 -5
- package/dist/chunks/{pty-kvj59xr5.js → repository-cache-xqspxtf3.js} +1 -1
- package/dist/chunks/{pty-h98gf4gh.js → repository-cache-xrrx02dm.js} +37 -37
- package/dist/chunks/{pty-1rh4yqvv.js → repository-cache-y16p1w2y.js} +9 -9
- package/dist/chunks/{pty-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-y71avatq.js → repository-cache-y71avatq.js} +1 -1
- package/dist/chunks/{pty-ef8z397z.js → repository-cache-y9v1kb8k.js} +18 -18
- package/dist/chunks/{pty-q752a5kc.js → repository-cache-yb7k7myq.js} +6 -6
- package/dist/chunks/{pty-pt3xaqgj.js → repository-cache-ydgy0jv4.js} +8 -8
- package/dist/chunks/{pty-1n9x896q.js → repository-cache-ym34xzwb.js} +6 -6
- package/dist/chunks/{pty-yrhqyw5v.js → repository-cache-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-yrznvahk.js → repository-cache-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-mxbk4svv.js → repository-cache-yt1agsr0.js} +81 -81
- package/dist/chunks/{pty-s7c8pqjf.js → repository-cache-yw0b1808.js} +5 -5
- package/dist/chunks/{pty-50a34wry.js → repository-cache-yx1pxd6d.js} +11 -11
- package/dist/chunks/{pty-77qrrhbk.js → repository-cache-yyqd12fs.js} +7 -7
- package/dist/chunks/{pty-z07pqspn.js → repository-cache-z07pqspn.js} +3 -3
- package/dist/chunks/{pty-y6mhz57t.js → repository-cache-z0aj456m.js} +4 -4
- package/dist/chunks/{pty-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-mvz1jaak.js → repository-cache-z45tr6e4.js} +22 -22
- package/dist/chunks/{pty-ts860kc8.js → repository-cache-z5crsmww.js} +13 -13
- package/dist/chunks/{pty-z63w68vq.js → repository-cache-z63w68vq.js} +2 -2
- package/dist/chunks/{pty-c86zcgcw.js → repository-cache-z9r8pcs3.js} +14 -14
- package/dist/chunks/{pty-k2s68ryd.js → repository-cache-za7gw4wk.js} +6 -6
- package/dist/chunks/{pty-24171fwy.js → repository-cache-zd55pfdc.js} +34 -34
- package/dist/chunks/{pty-zeh9ct20.js → repository-cache-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-4pkc64bv.js → repository-cache-zp0a9bvk.js} +12 -12
- package/dist/chunks/{pty-p8y8cyr8.js → repository-cache-zp37bve8.js} +20 -20
- package/dist/chunks/{pty-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-te1pvy5w.js → repository-cache-zsdgyv36.js} +34 -34
- package/dist/chunks/{pty-990hcqnx.js → repository-cache-ztnbdf6q.js} +24 -24
- package/dist/chunks/{pty-vmyhsb96.js → repository-cache-zvq7xtcr.js} +23 -23
- package/dist/chunks/{pty-zxq2ej10.js → repository-cache-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 +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +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 +85 -85
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- 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 +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- 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 +113 -113
- 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 +5 -5
- 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 +1 -1
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +94 -94
- 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 +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +84 -84
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- 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 +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 +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 +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +126 -126
- 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 +87 -87
- 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 +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- 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 +13 -13
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- 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 +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- 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 +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 +2 -2
- 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 +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/pty-9zdhvgqs.js +0 -18
- package/dist/chunks/pty-f3b7p96q.js +0 -252
- package/dist/chunks/pty-j9x84jzd.js +0 -26
- package/dist/chunks/pty-k31j77h5.js +0 -507
- /package/dist/chunks/{pty-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-34c7v6d4.js → repository-cache-34c7v6d4.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → repository-cache-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → repository-cache-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service67,
|
|
3
|
+
node70,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-ftyydgn8.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service57,
|
|
8
|
+
node60
|
|
9
|
+
} from "./repository-cache-eqkxs06z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service20
|
|
12
|
+
} from "./repository-cache-058qq49r.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-xdc9t4mb.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service67, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service20);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node60.replace(Layer.succeed(Service57, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node70.replace(Layer.succeed(Service67, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-7x0c6mmr.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service47
|
|
8
|
+
} from "./repository-cache-t043jrc7.js";
|
|
9
9
|
import {
|
|
10
10
|
resolve4
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-pe82yt1p.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin42
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin42 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service47;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin42, exports_provider };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./repository-cache-z45tr6e4.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-jd97cc84.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./repository-cache-t043jrc7.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./repository-cache-ztnbdf6q.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./repository-cache-qg0jgkcp.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-yb7k7myq.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin38
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin38 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service47;
|
|
43
|
+
const discovery = yield* Service10;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service48;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin15 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin15 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source3.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin15 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source3.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin15 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source3.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin15 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin38, exports_skill3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service50,
|
|
3
|
+
node53
|
|
4
|
+
} from "./repository-cache-f8akmggk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service37,
|
|
20
|
+
node: () => node40
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service37 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service50;
|
|
64
|
+
return Service37.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make19({
|
|
72
|
+
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [node53] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service37, node40, exports_instructions5 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-ea3ghczx.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-097j89tx.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin23
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin23 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin30 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID9.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin30 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID9.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin30 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin23, exports_agent };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-0thxwbsq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-m5gw4h36.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./repository-cache-fy93ygep.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-4vekh9c8.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-4dgbcxzg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service70
|
|
20
|
+
} from "./repository-cache-f7rj482f.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID12,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-cache-7x0c6mmr.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
ID4,
|
|
28
|
+
Input13,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-2fem29gc.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var methodID = MethodID2.make("device");
|
|
|
43
43
|
var RemoteResponse = Schema.Struct({
|
|
44
44
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
45
45
|
websearch: Schema.Struct({
|
|
46
|
-
providerID:
|
|
46
|
+
providerID: ID4
|
|
47
47
|
}).pipe(Schema.optional),
|
|
48
48
|
mcp: Schema.Struct({
|
|
49
49
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -71,7 +71,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
71
71
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
72
72
|
function oauth(http) {
|
|
73
73
|
return {
|
|
74
|
-
integrationID:
|
|
74
|
+
integrationID: ID13.make("opencode"),
|
|
75
75
|
method: {
|
|
76
76
|
id: methodID,
|
|
77
77
|
type: "oauth",
|
|
@@ -128,7 +128,7 @@ var OpencodePlugin2 = define({
|
|
|
128
128
|
const bus = yield* Service83;
|
|
129
129
|
const client = yield* HttpClient.HttpClient;
|
|
130
130
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
131
|
-
const managed = yield*
|
|
131
|
+
const managed = yield* Service70;
|
|
132
132
|
const loading = Semaphore.makeUnsafe(1);
|
|
133
133
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
134
134
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -162,7 +162,7 @@ var OpencodePlugin2 = define({
|
|
|
162
162
|
providers.update(providerID, (provider) => {
|
|
163
163
|
if (source && source.provider !== provider)
|
|
164
164
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
165
|
-
provider.integrationID =
|
|
165
|
+
provider.integrationID = ID13.make("opencode");
|
|
166
166
|
if (item.canonical !== undefined)
|
|
167
167
|
provider.canonical = item.canonical;
|
|
168
168
|
if (item.name !== undefined)
|
|
@@ -232,7 +232,7 @@ var OpencodePlugin2 = define({
|
|
|
232
232
|
sourceConnection: snapshot.connection
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
const item = providers.get(
|
|
235
|
+
const item = providers.get(ID12.opencode);
|
|
236
236
|
if (!item)
|
|
237
237
|
return;
|
|
238
238
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -244,7 +244,7 @@ var OpencodePlugin2 = define({
|
|
|
244
244
|
});
|
|
245
245
|
});
|
|
246
246
|
yield* ctx.model.transform((models) => {
|
|
247
|
-
const item = models.provider.get(
|
|
247
|
+
const item = models.provider.get(ID12.opencode);
|
|
248
248
|
if (!item)
|
|
249
249
|
return;
|
|
250
250
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -278,7 +278,7 @@ var OpencodePlugin2 = define({
|
|
|
278
278
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
279
279
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
280
280
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
281
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
281
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
282
282
|
query: input.query,
|
|
283
283
|
providerID: descriptor.providerID
|
|
284
284
|
}));
|
|
@@ -314,7 +314,7 @@ var OpencodePlugin2 = define({
|
|
|
314
314
|
});
|
|
315
315
|
});
|
|
316
316
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
317
|
-
yield* bus.subscribe(
|
|
317
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
318
318
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
319
319
|
})
|
|
320
320
|
});
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-jd97cc84.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service78
|
|
12
|
+
} from "./repository-cache-abeafk4b.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service77
|
|
16
|
+
} from "./repository-cache-y9v1kb8k.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-07vj3bh8.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service62
|
|
26
|
+
} from "./repository-cache-097j89tx.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service17
|
|
29
|
+
} from "./repository-cache-13zjnhww.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-cache-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: () => Input8,
|
|
39
|
+
Output: () => Output5,
|
|
40
|
+
Plugin: () => Plugin9,
|
|
41
|
+
name: () => name8,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
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 name8 = "grep";
|
|
48
|
+
var Input8 = 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 Input6 = 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 Output5 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin9 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service78;
|
|
90
|
+
const ripgrep = yield* Service77;
|
|
91
91
|
const location = yield* Service80;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service17;
|
|
93
|
+
const permission = yield* Service62;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name8,
|
|
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: Input8,
|
|
99
|
+
output: Output5,
|
|
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: name8,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin42 = {
|
|
|
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: toModelContent4(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 Plugin42 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name8, Input8, Output5, toModelContent4, Plugin9, exports_grep };
|