@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,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service66,
|
|
10
|
+
node: () => node69
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service66 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service66.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node69 = makeLocationNode({ service: Service66, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service66, node69, exports_hooks };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
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/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node12, exports_discovery };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./repository-cache-j1fzn4b4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./repository-cache-t043jrc7.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-7rwbexbt.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service47;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID11.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make5();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make5, VLLMPlugin2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./repository-cache-7x0c6mmr.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID12.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -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/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info9,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info9 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info13 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info9, exports_provider2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-jd97cc84.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./repository-cache-abeafk4b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service13,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-e3k6knef.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service71
|
|
14
|
+
} from "./repository-cache-g9by7d7e.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service62
|
|
17
|
+
} from "./repository-cache-097j89tx.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service17,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-13zjnhww.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input6,
|
|
34
|
+
Output: () => Output4,
|
|
35
|
+
Plugin: () => Plugin7,
|
|
36
|
+
name: () => name6
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name6 = "edit";
|
|
43
|
+
var Input6 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input11 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output4 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin7 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service17;
|
|
110
|
+
const fileMutation = yield* Service13;
|
|
111
|
+
const environment = yield* Service78;
|
|
112
|
+
const formatter = yield* Service71;
|
|
113
113
|
const location = yield* Service80;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service62;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name6,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input6,
|
|
120
|
+
output: Output4,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin48 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name6, Input6, Output4, Plugin7, exports_edit };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./repository-cache-eqkxs06z.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-32ymn5e1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service41
|
|
12
|
+
} from "./repository-cache-ztnbdf6q.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service57;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-fy93ygep.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID13,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-4vekh9c8.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID13.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-7x0c6mmr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service61,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node64
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -150,7 +150,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
153
|
-
providerID:
|
|
153
|
+
providerID: ID12,
|
|
154
154
|
cause: Schema.Defect()
|
|
155
155
|
}) {
|
|
156
156
|
}
|
|
@@ -158,9 +158,9 @@ function initError(providerID) {
|
|
|
158
158
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service61 extends Context.Service()("@opencode/AISDK") {
|
|
162
162
|
}
|
|
163
|
-
var locationLayer2 = Layer.effect(
|
|
163
|
+
var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
164
164
|
let sdkHooks = [];
|
|
165
165
|
let languageHooks = [];
|
|
166
166
|
const languages = new Map;
|
|
@@ -198,7 +198,7 @@ var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
198
198
|
}
|
|
199
199
|
return event;
|
|
200
200
|
});
|
|
201
|
-
const service =
|
|
201
|
+
const service = Service61.of({
|
|
202
202
|
hook: {
|
|
203
203
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
204
204
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node64 = makeLocationNode({ service: Service61, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2,
|
|
867
|
+
export { InitError2, Service61, locationLayer2, node64, exports_aisdk };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-magykp64.js";
|
|
7
|
+
import {
|
|
8
|
+
Info14
|
|
9
|
+
} from "./repository-cache-pb1eahw5.js";
|
|
7
10
|
import {
|
|
8
11
|
Info12
|
|
9
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-t0fxg8b9.js";
|
|
10
13
|
import {
|
|
11
14
|
Info11
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Info15
|
|
15
|
-
} from "./pty-ratrq7cm.js";
|
|
15
|
+
} from "./repository-cache-ryr25ayn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info13
|
|
18
|
+
} from "./repository-cache-0f9afca0.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
22
|
-
import {
|
|
23
|
-
Info13
|
|
24
|
-
} from "./pty-e6hmchc5.js";
|
|
21
|
+
} from "./repository-cache-2k8khapm.js";
|
|
25
22
|
import {
|
|
26
23
|
Info9
|
|
27
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-qjnxxf51.js";
|
|
25
|
+
import {
|
|
26
|
+
Info8
|
|
27
|
+
} from "./repository-cache-h7gdr3a3.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./repository-cache-g5wjn8h2.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info12, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info13, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info9, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-jd97cc84.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key3,
|
|
7
|
+
make19,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-t550f9t1.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service31,
|
|
19
|
+
node: () => node35
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service31 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service80;
|
|
29
|
-
return
|
|
29
|
+
return Service31.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make19({
|
|
32
|
+
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
53
|
-
key:
|
|
52
|
+
make19({
|
|
53
|
+
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node35 = makeLocationNode({ service: Service31, layer, deps: [Global.node, node84] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service31, node35, exports_builtins };
|