@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-4dgbcxzg.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
|
+
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service73
|
|
20
|
+
} from "./repository-cache-7x0c6mmr.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID11
|
|
23
|
+
} from "./repository-cache-j1fzn4b4.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./repository-cache-g9tjzdrf.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-0thxwbsq.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./repository-cache-ea3ghczx.js";
|
|
34
34
|
|
|
35
35
|
// src/plugin/provider/github-copilot.ts
|
|
36
36
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
62
62
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
63
63
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
64
64
|
var oauth = (app) => ({
|
|
65
|
-
integrationID:
|
|
65
|
+
integrationID: ID13.make("github-copilot"),
|
|
66
66
|
method: {
|
|
67
67
|
id: methodID,
|
|
68
68
|
type: "oauth",
|
|
@@ -160,7 +160,7 @@ var oauth = (app) => ({
|
|
|
160
160
|
var GithubCopilotPlugin2 = define({
|
|
161
161
|
id: "opencode.provider.github.copilot",
|
|
162
162
|
effect: Effect.fn(function* (ctx) {
|
|
163
|
-
const providers = yield*
|
|
163
|
+
const providers = yield* Service73;
|
|
164
164
|
const bus = yield* Service83;
|
|
165
165
|
const loading = Semaphore.makeUnsafe(1);
|
|
166
166
|
const loaded = {};
|
|
@@ -177,9 +177,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
179
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
180
|
-
const provider = yield* providers.get(
|
|
180
|
+
const provider = yield* providers.get(ID12.githubCopilot);
|
|
181
181
|
const remote = yield* Effect.tryPromise({
|
|
182
|
-
try: () =>
|
|
182
|
+
try: () => load2(url, {
|
|
183
183
|
...provider?.headers,
|
|
184
184
|
Authorization: `Bearer ${credential.refresh}`,
|
|
185
185
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -199,13 +199,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
199
199
|
editor.method.update(oauth(ctx.app));
|
|
200
200
|
});
|
|
201
201
|
yield* ctx.provider.transform((evt) => {
|
|
202
|
-
const item = evt.get(
|
|
202
|
+
const item = evt.get(ID12.githubCopilot);
|
|
203
203
|
if (!item)
|
|
204
204
|
return;
|
|
205
205
|
if (loaded.models) {
|
|
206
206
|
evt.add({
|
|
207
207
|
info: item.provider,
|
|
208
|
-
models: Array.from(
|
|
208
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
209
209
|
sourceConnection: loaded.connection
|
|
210
210
|
});
|
|
211
211
|
return;
|
|
@@ -219,17 +219,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
yield* ctx.model.transform((models) => {
|
|
222
|
-
if (models.get(
|
|
223
|
-
models.update(
|
|
222
|
+
if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
|
|
223
|
+
models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
224
224
|
model.enabled = false;
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
});
|
|
228
228
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
229
|
-
yield* bus.subscribe(
|
|
229
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
230
230
|
yield* refresh().pipe(Effect.forkScoped);
|
|
231
231
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
232
|
-
if (evt.model.providerID !==
|
|
232
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
233
233
|
return;
|
|
234
234
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
235
235
|
return;
|
|
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
238
238
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
239
239
|
}));
|
|
240
240
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
244
244
|
return;
|
|
@@ -248,13 +248,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
248
248
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
249
249
|
if (interaction !== "conversation-agent")
|
|
250
250
|
evt.headers["x-initiator"] = "agent";
|
|
251
|
-
}), { providerID:
|
|
251
|
+
}), { providerID: ID12.githubCopilot });
|
|
252
252
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
256
256
|
return;
|
|
257
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
257
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
258
258
|
return;
|
|
259
259
|
}));
|
|
260
260
|
if (agent?.data.model)
|
|
@@ -265,9 +265,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
265
265
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
266
266
|
return;
|
|
267
267
|
}));
|
|
268
|
-
}), { providerID:
|
|
268
|
+
}), { providerID: ID12.githubCopilot });
|
|
269
269
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
270
|
-
if (evt.model.providerID !==
|
|
270
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
271
271
|
return;
|
|
272
272
|
const token = evt.request.headers.get("x-api-key");
|
|
273
273
|
if (!token)
|
|
@@ -275,9 +275,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
275
275
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
276
276
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
277
277
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
278
|
-
}), { providerID:
|
|
278
|
+
}), { providerID: ID12.githubCopilot });
|
|
279
279
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
280
|
-
if (evt.model.providerID !==
|
|
280
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
281
281
|
return;
|
|
282
282
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
283
283
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-jd97cc84.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-91aa3a25.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-m5gw4h36.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service76,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node79,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info30 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service76 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service76, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service76.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node79 = makeLocationNode({ service: Service76, layer: layer25, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer25, node79, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,65 +1,65 @@
|
|
|
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
|
-
|
|
10
|
+
Service46,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node49
|
|
13
|
+
} from "./repository-cache-s0xttw3k.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput2,
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info2,
|
|
29
|
+
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service14,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node16
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info2 = Pty.Info;
|
|
44
|
+
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service14 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service83;
|
|
61
61
|
const location = yield* Service80;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service46;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service14.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node16 = makeLocationNode({
|
|
273
|
+
service: Service14,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node87, node84,
|
|
275
|
+
deps: [node87, node84, node49]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
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
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID12
|
|
17
|
+
} from "./repository-cache-7x0c6mmr.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-j1fzn4b4.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID12.make("digitalocean");
|
|
31
|
+
var integrationID = ID13.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID11.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-xfkkasph.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-m5gw4h36.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-jd97cc84.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service21,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node24
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service21 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
44
|
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service21.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node24 = makeLocationNode({ service: Service21, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service21, node24, exports_rpc, define2 };
|