@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,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-m5gw4h36.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-jd97cc84.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service65,
|
|
12
|
+
node68
|
|
13
|
+
} from "./repository-cache-ea3ghczx.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./repository-cache-32ymn5e1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service63,
|
|
19
|
+
node66
|
|
20
|
+
} from "./repository-cache-cn13n8vv.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service64,
|
|
26
|
+
node67
|
|
27
|
+
} from "./repository-cache-36z7zph9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service66,
|
|
30
|
+
node69
|
|
31
|
+
} from "./repository-cache-qby9dwvd.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event14,
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service62,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node65
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event14 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request2 = Permission.Request;
|
|
78
|
+
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID9.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID7,
|
|
86
|
+
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service62 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
132
|
const location = yield* Service80;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service65;
|
|
134
|
+
const sessions = yield* Service63;
|
|
135
|
+
const saved = yield* Service64;
|
|
136
|
+
const hooks = yield* Service66;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID7.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID7.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service62.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node65 = makeLocationNode({
|
|
303
|
+
service: Service62,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87, node84,
|
|
305
|
+
deps: [node87, node84, node68, node66, node67, node69]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service62, node65, exports_permission2, Rule3, Ruleset2, Event14 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-j1fzn4b4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./repository-cache-t043jrc7.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-7rwbexbt.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service47;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID11.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make6();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make6, OllamaPlugin2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info13,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./repository-cache-t043jrc7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service53
|
|
7
|
+
} from "./repository-cache-08cc3crx.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin47
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin47 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service47;
|
|
27
|
+
const output = yield* Service53;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin8 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin47, exports_tool_output };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-7x0c6mmr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info25,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-j1fzn4b4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID11.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info25.make({
|
|
98
|
+
...Info25.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured10,
|
|
11
|
+
layer: () => layer21,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node56,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node56 = configured10();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer21, configured10, node56, exports_app };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-afed7ext.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-w1eejvng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service69,
|
|
16
|
+
node72
|
|
17
|
+
} from "./repository-cache-p5hvz7y2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service54,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node58,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service54 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service69;
|
|
110
|
+
return Service54.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node58 = makeGlobalNode({
|
|
171
|
+
service: Service54,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node72]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service54, isError2, validateBranch2, node58, exports_repository_cache };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-0thxwbsq.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin18,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin18 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin24 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin24 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint4, Plugin18, exports_parallel };
|