@opencode/core 0.0.0-dev-20196 → 0.0.0-dev-20198
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-mutation-a1dcbnh1.js → plugin-00d3at1w.js} +18 -18
- package/dist/chunks/{file-mutation-57ez7d0k.js → plugin-0ke265bw.js} +5 -5
- package/dist/chunks/{file-mutation-06avesrm.js → plugin-0n1qath5.js} +10 -10
- package/dist/chunks/{file-mutation-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-jfyc1maa.js → plugin-0psky2j0.js} +12 -12
- package/dist/chunks/{file-mutation-madt145n.js → plugin-0wn9mnpm.js} +17 -17
- package/dist/chunks/{file-mutation-nzdeb66t.js → plugin-0x2xcgb3.js} +9 -9
- package/dist/chunks/{file-mutation-36wh3zdf.js → plugin-135paw2g.js} +6 -6
- package/dist/chunks/{file-mutation-49exe669.js → plugin-150yg2gd.js} +5 -5
- package/dist/chunks/{file-mutation-jsx6v7sj.js → plugin-181txgxj.js} +11 -11
- package/dist/chunks/{file-mutation-v434jxdj.js → plugin-1awxr458.js} +22 -22
- package/dist/chunks/{file-mutation-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-annjwsdj.js → plugin-1v6becv7.js} +28 -28
- package/dist/chunks/{file-mutation-0dr0g8g1.js → plugin-1vr0zdnx.js} +6 -6
- package/dist/chunks/{file-mutation-21r38tys.js → plugin-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-vq1w5bxf.js → plugin-22kkypfe.js} +23 -23
- package/dist/chunks/{file-mutation-bfn9xngp.js → plugin-26vscet6.js} +18 -18
- package/dist/chunks/{file-mutation-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-b0rtdght.js → plugin-2dbps0zs.js} +11 -11
- package/dist/chunks/{file-mutation-r4m9e03x.js → plugin-2fa7naq1.js} +4 -4
- package/dist/chunks/{file-mutation-rqnjnaqb.js → plugin-2k36c91y.js} +4 -4
- package/dist/chunks/{file-mutation-q2y76nmn.js → plugin-2tgkj9n8.js} +12 -12
- package/dist/chunks/{file-mutation-mfqp6xfm.js → plugin-33w4ejhs.js} +9 -9
- package/dist/chunks/{file-mutation-q241hggs.js → plugin-365y11ma.js} +28 -28
- package/dist/chunks/{file-mutation-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-fgpb6470.js → plugin-3ke2cp34.js} +13 -13
- package/dist/chunks/{file-mutation-w5sez581.js → plugin-3n6fx8re.js} +8 -8
- package/dist/chunks/{file-mutation-cbbagb43.js → plugin-3q4t4yhh.js} +11 -11
- package/dist/chunks/{file-mutation-n92w27pw.js → plugin-3r2wmwvh.js} +10 -10
- package/dist/chunks/{file-mutation-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-45bn2qe8.js → plugin-3w17p3hf.js} +22 -22
- package/dist/chunks/{file-mutation-ec9ctddj.js → plugin-3xdrjpac.js} +3 -3
- package/dist/chunks/{file-mutation-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-0q60sf5x.js → plugin-465j21sy.js} +11 -11
- package/dist/chunks/{file-mutation-8ygpbkv1.js → plugin-46ez3shz.js} +13 -13
- package/dist/chunks/{file-mutation-kwqt7trd.js → plugin-47s33pss.js} +7 -7
- package/dist/chunks/{file-mutation-jazhghcp.js → plugin-48gteezh.js} +15 -15
- package/dist/chunks/{file-mutation-fyrmabcy.js → plugin-4de5fkr9.js} +8 -8
- package/dist/chunks/{file-mutation-jj5netzx.js → plugin-4dqr3qzq.js} +9 -9
- package/dist/chunks/{file-mutation-7tbm9b7t.js → plugin-4qpxv6wr.js} +3 -3
- package/dist/chunks/{file-mutation-0tkcb012.js → plugin-4s9621k1.js} +27 -27
- package/dist/chunks/{file-mutation-ckecvw8r.js → plugin-54tcyq79.js} +2 -2
- package/dist/chunks/{file-mutation-dy8qwv32.js → plugin-5631ja65.js} +25 -25
- package/dist/chunks/{file-mutation-5daktx2q.js → plugin-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-m8xex9m9.js → plugin-5mazm5hr.js} +4 -4
- package/dist/chunks/{file-mutation-pcxghkgz.js → plugin-5qwkxp89.js} +4 -4
- package/dist/chunks/{file-mutation-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-aztrj7be.js → plugin-5yd4b64d.js} +15 -15
- package/dist/chunks/{file-mutation-669tq793.js → plugin-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-w8ferkse.js → plugin-6702r7ke.js} +10 -10
- package/dist/chunks/{file-mutation-mrj8mwf0.js → plugin-6f8py4c6.js} +28 -28
- package/dist/chunks/{file-mutation-2402vzrj.js → plugin-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-mutation-tknscx6b.js → plugin-6k3ez0z1.js} +20 -20
- package/dist/chunks/{file-mutation-6msgmcgs.js → plugin-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-exq2ffnr.js → plugin-70xrzfeb.js} +13 -13
- package/dist/chunks/{file-mutation-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-ez89fygf.js → plugin-7bqd3h08.js} +32 -32
- package/dist/chunks/{file-mutation-qgn6gcr1.js → plugin-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-mutation-nn2w30r8.js → plugin-7kx9m9jq.js} +23 -23
- package/dist/chunks/{file-mutation-bmb3ej5t.js → plugin-7rbdxjnj.js} +4 -4
- package/dist/chunks/{file-mutation-pdn3apj7.js → plugin-7rnj7wqq.js} +14 -14
- package/dist/chunks/{file-mutation-kc6k5esa.js → plugin-7szedt86.js} +23 -23
- package/dist/chunks/{file-mutation-h22dswsw.js → plugin-7v2bqa7d.js} +14 -14
- package/dist/chunks/{file-mutation-jshgtcbt.js → plugin-814kmemw.js} +13 -13
- package/dist/chunks/{file-mutation-q5ne48hz.js → plugin-82wy67mx.js} +13 -13
- package/dist/chunks/{file-mutation-jk58jcy1.js → plugin-84vx8zxj.js} +19 -19
- package/dist/chunks/{file-mutation-80rcay5r.js → plugin-88we24x6.js} +8 -8
- package/dist/chunks/{file-mutation-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-n5anf3fb.js → plugin-8m7n61g9.js} +12 -12
- package/dist/chunks/{file-mutation-908kwkj3.js → plugin-8p70309a.js} +12 -12
- package/dist/chunks/{file-mutation-sbwvsvgv.js → plugin-8tg9364h.js} +17 -17
- package/dist/chunks/{file-mutation-3ag7ttm0.js → plugin-8vptany5.js} +15 -15
- package/dist/chunks/{file-mutation-nzyhnfxz.js → plugin-8z00fdkb.js} +4 -4
- package/dist/chunks/{file-mutation-93ygb5af.js → plugin-909p1r3q.js} +6 -6
- package/dist/chunks/{file-mutation-rq2znn32.js → plugin-90wed0f6.js} +26 -26
- package/dist/chunks/{file-mutation-j64p557d.js → plugin-97tk06h4.js} +12 -12
- package/dist/chunks/{file-mutation-h2j90xdb.js → plugin-9gs81rcm.js} +10 -10
- package/dist/chunks/{file-mutation-fwg4bfmy.js → plugin-9tcf48vb.js} +3 -3
- package/dist/chunks/{file-mutation-00x9hzck.js → plugin-9w8h1dp2.js} +8 -8
- package/dist/chunks/{file-mutation-fj17yqcr.js → plugin-9znj1xea.js} +1 -1
- package/dist/chunks/{file-mutation-was05px2.js → plugin-a3aksj2e.js} +28 -28
- package/dist/chunks/{file-mutation-r4jmx1pn.js → plugin-a6tpy895.js} +21 -21
- package/dist/chunks/{file-mutation-p6wxjpka.js → plugin-a81kfqvn.js} +4 -4
- package/dist/chunks/{file-mutation-aaet6srn.js → plugin-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-tmkkbmay.js → plugin-adb60020.js} +20 -20
- package/dist/chunks/{file-mutation-8443s99e.js → plugin-afzym0c1.js} +17 -17
- package/dist/chunks/{file-mutation-6m5gwycq.js → plugin-am9g8zmc.js} +9 -9
- package/dist/chunks/{file-mutation-7q8hkdsk.js → plugin-amg81mr5.js} +15 -15
- package/dist/chunks/{file-mutation-tcwxap8g.js → plugin-amk2g0b2.js} +26 -26
- package/dist/chunks/{file-mutation-b0g280va.js → plugin-b5ng3mar.js} +20 -20
- package/dist/chunks/{file-mutation-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-fss11zrv.js → plugin-bgmry1c8.js} +35 -35
- package/dist/chunks/{file-mutation-arws8trd.js → plugin-bhf7pen4.js} +4 -4
- package/dist/chunks/{file-mutation-z07pqspn.js → plugin-bjtzbw4r.js} +3 -3
- package/dist/chunks/{file-mutation-va5qff5x.js → plugin-bscb95cy.js} +4 -4
- package/dist/chunks/{file-mutation-vfjhn2wd.js → plugin-btbmdjwj.js} +4 -4
- package/dist/chunks/{file-mutation-6by7ejxe.js → plugin-bwkfhyr0.js} +20 -20
- package/dist/chunks/plugin-by5v678g.js +18 -0
- package/dist/chunks/{file-mutation-z6ze4cqf.js → plugin-bzx6e9pd.js} +8 -8
- package/dist/chunks/{file-mutation-607q5haz.js → plugin-c488s98d.js} +12 -12
- package/dist/chunks/{file-mutation-jxg9h7h6.js → plugin-c5gzkv3d.js} +54 -54
- package/dist/chunks/{file-mutation-qr8csav2.js → plugin-c78bbtc9.js} +5 -5
- package/dist/chunks/{file-mutation-hbj37746.js → plugin-c7t2jc66.js} +20 -20
- package/dist/chunks/{file-mutation-gzwr95fx.js → plugin-c8nmdwf6.js} +6 -6
- package/dist/chunks/{file-mutation-magykp64.js → plugin-cavr175a.js} +4 -4
- package/dist/chunks/{file-mutation-0jjvght6.js → plugin-cmhz4ywj.js} +10 -10
- package/dist/chunks/{file-mutation-mepdzt2d.js → plugin-cnt49j60.js} +11 -11
- package/dist/chunks/{file-mutation-jarn1zxe.js → plugin-cnvcdvk7.js} +6 -6
- package/dist/chunks/{file-mutation-hkfg6fzm.js → plugin-cr07tj7n.js} +5 -5
- package/dist/chunks/{file-mutation-n24gc8vs.js → plugin-crpn3041.js} +11 -11
- package/dist/chunks/{file-mutation-cwa6csj7.js → plugin-cwa6csj7.js} +2 -2
- package/dist/chunks/{file-mutation-9r9g3gnb.js → plugin-d2r7anev.js} +17 -17
- package/dist/chunks/{file-mutation-x9v2s4mt.js → plugin-d5rr1m9q.js} +43 -43
- package/dist/chunks/{file-mutation-kzc3h1h3.js → plugin-dbmc5gjs.js} +4 -4
- package/dist/chunks/{file-mutation-qcdf9a5m.js → plugin-dhm4srrs.js} +1 -1
- package/dist/chunks/{file-mutation-pz7cr76j.js → plugin-dk8jrwhg.js} +36 -36
- package/dist/chunks/{file-mutation-39thqb0z.js → plugin-dm7vvyya.js} +77 -77
- package/dist/chunks/{file-mutation-57b9ws8p.js → plugin-drwq78ky.js} +5 -5
- package/dist/chunks/{file-mutation-dw698h1a.js → plugin-dv8nta62.js} +24 -24
- package/dist/chunks/{file-mutation-2ka3r0xm.js → plugin-dx3kejg3.js} +21 -21
- package/dist/chunks/{file-mutation-zcnbza31.js → plugin-e09s77kp.js} +33 -33
- package/dist/chunks/{file-mutation-eaj1djv9.js → plugin-eaj1djv9.js} +1 -1
- package/dist/chunks/{file-mutation-ecfe7b91.js → plugin-ecfe7b91.js} +2 -2
- package/dist/chunks/plugin-edebp1ht.js +252 -0
- package/dist/chunks/{file-mutation-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-63vbqmwh.js → plugin-emgpx2h1.js} +2 -2
- package/dist/chunks/{file-mutation-sznyev98.js → plugin-engkm2d6.js} +5 -5
- package/dist/chunks/{file-mutation-73tb2d7t.js → plugin-eq1pz5kg.js} +3 -3
- package/dist/chunks/{file-mutation-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-1acjjqhc.js → plugin-f2n192rq.js} +4 -4
- package/dist/chunks/{file-mutation-mh153f1p.js → plugin-fbgc5stj.js} +11 -11
- package/dist/chunks/{file-mutation-n37c4crj.js → plugin-fdms3n6w.js} +9 -9
- package/dist/chunks/{file-mutation-j0b1x3jn.js → plugin-fty4trjx.js} +12 -12
- package/dist/chunks/{file-mutation-tpw6cwsb.js → plugin-g0445xdp.js} +8 -8
- package/dist/chunks/{file-mutation-t6vsspdg.js → plugin-g8d3gcyj.js} +4 -4
- package/dist/chunks/{file-mutation-pb1eahw5.js → plugin-g8jasmdt.js} +8 -8
- package/dist/chunks/{file-mutation-g4nge062.js → plugin-g9k8c9fb.js} +13 -13
- package/dist/chunks/{file-mutation-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-1vcc0tqx.js → plugin-gdqz7bvt.js} +9 -9
- package/dist/chunks/{file-mutation-94ek1h2f.js → plugin-gfvb90ym.js} +2 -2
- package/dist/chunks/{file-mutation-hekxc47r.js → plugin-gg3hnhsj.js} +1 -1
- package/dist/chunks/{file-mutation-eyansxxn.js → plugin-ghtqmzx5.js} +20 -20
- package/dist/chunks/{file-mutation-1pc8b49c.js → plugin-gjw33yaz.js} +10 -10
- package/dist/chunks/{file-mutation-gv6a8nnw.js → plugin-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-ba1mv5p0.js → plugin-gvf9v2c0.js} +3 -3
- package/dist/chunks/{file-mutation-xwm6bryg.js → plugin-h11s7pqt.js} +4 -4
- package/dist/chunks/{file-mutation-bhp9zwz7.js → plugin-h3jjvdef.js} +27 -27
- package/dist/chunks/{file-mutation-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-bw4jwp7x.js → plugin-hmz0wy72.js} +9 -9
- package/dist/chunks/{file-mutation-e6hmchc5.js → plugin-hnr5yq9h.js} +5 -5
- package/dist/chunks/{file-mutation-wf80fvfx.js → plugin-hqhd4wnf.js} +22 -22
- package/dist/chunks/{file-mutation-33z6kxja.js → plugin-hr6n5wvr.js} +36 -36
- package/dist/chunks/{file-mutation-skv4x9jf.js → plugin-hznc8n11.js} +16 -16
- package/dist/chunks/{file-mutation-n7y60bnp.js → plugin-j3xmv9k3.js} +24 -24
- package/dist/chunks/{file-mutation-p4etetpf.js → plugin-j53dbz6b.js} +29 -29
- package/dist/chunks/{file-mutation-j56e64zr.js → plugin-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-jvy91fcn.js → plugin-j5k70gxj.js} +24 -24
- package/dist/chunks/{file-mutation-j2978cmg.js → plugin-j6wx89t1.js} +36 -36
- package/dist/chunks/{file-mutation-91m9hd8f.js → plugin-j7wq2tw5.js} +2 -2
- package/dist/chunks/{file-mutation-bjgnzx8v.js → plugin-jjejcnfv.js} +8 -8
- package/dist/chunks/{file-mutation-dv5spdm5.js → plugin-js9c7n9a.js} +22 -22
- package/dist/chunks/{file-mutation-v0mz33x9.js → plugin-jv26kyrx.js} +69 -69
- package/dist/chunks/{file-mutation-eq1jxjww.js → plugin-jx5n61fp.js} +48 -48
- package/dist/chunks/{file-mutation-2wdjbrvw.js → plugin-jzjdh01g.js} +22 -22
- package/dist/chunks/{file-mutation-yrgme7j0.js → plugin-jzqva1wk.js} +10 -10
- package/dist/chunks/{file-mutation-k1qrnqst.js → plugin-k1qrnqst.js} +1 -1
- package/dist/chunks/{file-mutation-yksbe7bm.js → plugin-k5165mak.js} +2 -2
- package/dist/chunks/{file-mutation-chbxjcn8.js → plugin-kb0g0tvj.js} +9 -9
- package/dist/chunks/{file-mutation-mkwktbjz.js → plugin-kc24w74q.js} +20 -20
- package/dist/chunks/{file-mutation-5q075wzn.js → plugin-kd5aekfz.js} +8 -8
- package/dist/chunks/{file-mutation-3hmc9p2p.js → plugin-krkzq7r3.js} +51 -51
- package/dist/chunks/{file-mutation-0k08rxc6.js → plugin-ksd9d9c2.js} +31 -31
- package/dist/chunks/{file-mutation-m7h4c5p1.js → plugin-kwbg84br.js} +26 -26
- package/dist/chunks/{file-mutation-xdcdg5gg.js → plugin-kwf1bz3p.js} +11 -11
- package/dist/chunks/{file-mutation-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-55gwq3qn.js → plugin-mbdwwctk.js} +42 -42
- package/dist/chunks/{file-mutation-bw35qwa5.js → plugin-mjsdfrqq.js} +1 -1
- package/dist/chunks/{file-mutation-7hrh0yhw.js → plugin-mw3cb245.js} +3 -3
- package/dist/chunks/{file-mutation-4d8ebea5.js → plugin-myp334fg.js} +13 -13
- package/dist/chunks/{file-mutation-feek47bh.js → plugin-mzjf7cd6.js} +24 -24
- package/dist/chunks/{file-mutation-vwmcz341.js → plugin-n4632865.js} +33 -33
- package/dist/chunks/{file-mutation-qcc5r1n1.js → plugin-n9sp10wr.js} +30 -30
- package/dist/chunks/{file-mutation-56798xf4.js → plugin-nb93grzr.js} +14 -14
- package/dist/chunks/{file-mutation-mdw2h4tg.js → plugin-ngczm8d5.js} +3 -3
- package/dist/chunks/{file-mutation-37ccqw5v.js → plugin-nmz8gp0b.js} +6 -6
- package/dist/chunks/{file-mutation-b2g6p7zb.js → plugin-nn1qzx0d.js} +9 -9
- package/dist/chunks/{file-mutation-fhs97t90.js → plugin-nscznvay.js} +9 -9
- package/dist/chunks/{file-mutation-82mxp87a.js → plugin-nt1t7xjc.js} +41 -41
- package/dist/chunks/{file-mutation-k3c624dm.js → plugin-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-mutation-q752a12t.js → plugin-p7kwad1h.js} +17 -17
- package/dist/chunks/{file-mutation-vbr7z2an.js → plugin-pa1zn9qq.js} +7 -7
- package/dist/chunks/{file-mutation-2tn83n21.js → plugin-pbj1twy5.js} +15 -15
- package/dist/chunks/{file-mutation-qvcq4vww.js → plugin-pf6j7trv.js} +24 -24
- package/dist/chunks/{file-mutation-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-wd3x2cqz.js → plugin-psazpmmj.js} +2 -2
- package/dist/chunks/{file-mutation-7he179h5.js → plugin-pt1f48nk.js} +5 -5
- package/dist/chunks/{file-mutation-hjtdmxqs.js → plugin-q01vncef.js} +4 -4
- package/dist/chunks/{file-mutation-n3hytwrq.js → plugin-q8hay3rb.js} +10 -10
- package/dist/chunks/plugin-q9fz6bmv.js +26 -0
- package/dist/chunks/{file-mutation-0pkr918c.js → plugin-qfp12t6j.js} +36 -36
- package/dist/chunks/{file-mutation-31ndy29r.js → plugin-qq1ahj4r.js} +28 -28
- package/dist/chunks/{file-mutation-qm67wygm.js → plugin-qqmkqge3.js} +6 -6
- package/dist/chunks/{file-mutation-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-sm965ndy.js → plugin-qvb3nf84.js} +8 -8
- package/dist/chunks/{file-mutation-xptjm771.js → plugin-r0g1befd.js} +9 -9
- package/dist/chunks/{file-mutation-nqnxh7mc.js → plugin-r33ff4dw.js} +4 -4
- package/dist/chunks/{file-mutation-bqdk09cg.js → plugin-r7sqkavj.js} +38 -38
- package/dist/chunks/{file-mutation-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-whrzd189.js → plugin-rfb0xkgm.js} +16 -16
- package/dist/chunks/{file-mutation-bvb037bs.js → plugin-rh154m9b.js} +5 -5
- package/dist/chunks/{file-mutation-zwy3hb2f.js → plugin-rhnmg28j.js} +15 -15
- package/dist/chunks/{file-mutation-1p07q0wb.js → plugin-rkprpv83.js} +4 -4
- package/dist/chunks/{file-mutation-n08rr4pq.js → plugin-rzp1atk9.js} +18 -18
- package/dist/chunks/{file-mutation-v0j3551j.js → plugin-s26macgz.js} +26 -26
- package/dist/chunks/{file-mutation-ka6f9z9r.js → plugin-s8baed6t.js} +1 -1
- package/dist/chunks/{file-mutation-7ncrrmyf.js → plugin-sgvepfk3.js} +11 -11
- package/dist/chunks/{file-mutation-166kng33.js → plugin-sk5hrgtc.js} +8 -8
- package/dist/chunks/{file-mutation-5rd0r6f7.js → plugin-sqxehe1r.js} +1 -1
- package/dist/chunks/{file-mutation-sx1n432n.js → plugin-sx1n432n.js} +1 -1
- package/dist/chunks/{file-mutation-px76j0pk.js → plugin-sy29epdy.js} +9 -9
- package/dist/chunks/{file-mutation-5vth3xyp.js → plugin-t465fnvh.js} +43 -43
- package/dist/chunks/{file-mutation-hzxg5djm.js → plugin-t7xzdxck.js} +16 -16
- package/dist/chunks/{file-mutation-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-mksgfzgs.js → plugin-tgmwm58t.js} +8 -8
- package/dist/chunks/{file-mutation-k18pbb1y.js → plugin-tn37k3m9.js} +8 -8
- package/dist/chunks/{file-mutation-q9mp86yc.js → plugin-trpcsafk.js} +11 -11
- package/dist/chunks/{file-mutation-tvtrv512.js → plugin-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-mqwgf0bk.js → plugin-v16xhacn.js} +15 -15
- package/dist/chunks/{file-mutation-n61sj0zv.js → plugin-v20d0tgc.js} +18 -18
- package/dist/chunks/{file-mutation-xv48q100.js → plugin-va3gjm6r.js} +26 -26
- package/dist/chunks/{file-mutation-0bt5rkyv.js → plugin-vc318h8v.js} +9 -9
- package/dist/chunks/{file-mutation-6qdk3m7n.js → plugin-vc96fsty.js} +17 -17
- package/dist/chunks/{file-mutation-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-w1hpm58k.js → plugin-vmdd0m2d.js} +41 -41
- package/dist/chunks/{file-mutation-xdyqf2ep.js → plugin-vsrk2gnt.js} +27 -27
- package/dist/chunks/{file-mutation-4ywmn05m.js → plugin-vvsa8xns.js} +5 -5
- package/dist/chunks/{file-mutation-fsmjrpwr.js → plugin-vzatwn00.js} +6 -6
- package/dist/chunks/{file-mutation-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-7mzanbhg.js → plugin-w5mhcnk6.js} +32 -32
- package/dist/chunks/{file-mutation-7629jcb2.js → plugin-w9kjr0s9.js} +9 -9
- package/dist/chunks/{file-mutation-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-cekhgrsm.js → plugin-wtheh379.js} +87 -87
- package/dist/chunks/{file-mutation-w16ewm88.js → plugin-wxnjdw57.js} +32 -32
- package/dist/chunks/{file-mutation-4k2fjpjr.js → plugin-wxtwjjmk.js} +26 -26
- package/dist/chunks/{file-mutation-x1ezjp6w.js → plugin-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-m1hk3fbq.js → plugin-xd7x77jt.js} +8 -8
- package/dist/chunks/{file-mutation-w579p95t.js → plugin-xdyent50.js} +15 -15
- package/dist/chunks/{file-mutation-b07rpg7m.js → plugin-xg9t41r3.js} +2 -2
- package/dist/chunks/{file-mutation-jk776ydv.js → plugin-xj900wqc.js} +6 -6
- package/dist/chunks/{file-mutation-xkntkrq7.js → plugin-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-mutation-6y9tzzzt.js → plugin-xxsztry3.js} +8 -8
- package/dist/chunks/{file-mutation-d48vtfkp.js → plugin-xya6rnzh.js} +10 -10
- package/dist/chunks/{file-mutation-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-9ecw5ke1.js → plugin-y58smqnx.js} +17 -17
- package/dist/chunks/{file-mutation-jsb3pxss.js → plugin-y6kccm89.js} +8 -8
- package/dist/chunks/{file-mutation-61w5k2bk.js → plugin-y6tr3f1c.js} +3 -3
- package/dist/chunks/{file-mutation-dpkg50ah.js → plugin-y71avatq.js} +4 -4
- package/dist/chunks/{file-mutation-5zpn8qhf.js → plugin-yb8jxxt7.js} +125 -125
- package/dist/chunks/{file-mutation-gz2b78z0.js → plugin-yde77qe8.js} +14 -14
- package/dist/chunks/{file-mutation-na5yh9md.js → plugin-yh6b85yb.js} +16 -16
- package/dist/chunks/{file-mutation-b9frkjp9.js → plugin-ykkxkfdk.js} +1 -1
- package/dist/chunks/{file-mutation-xatxs8ze.js → plugin-yn8w9rk4.js} +4 -4
- package/dist/chunks/{file-mutation-yrhqyw5v.js → plugin-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-4pe60rv6.js → plugin-yrvpf7rs.js} +26 -26
- package/dist/chunks/{file-mutation-yrznvahk.js → plugin-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-x5pftk9r.js → plugin-yscn6m8x.js} +317 -317
- package/dist/chunks/{file-mutation-wmnz76n2.js → plugin-ysphgs6j.js} +14 -14
- package/dist/chunks/{file-mutation-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-z63w68vq.js → plugin-z63w68vq.js} +2 -2
- package/dist/chunks/{file-mutation-zeh9ct20.js → plugin-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-m7qqma2k.js → plugin-zh26k158.js} +14 -14
- package/dist/chunks/{file-mutation-c4y5a9cq.js → plugin-zm1nwptd.js} +6 -6
- package/dist/chunks/{file-mutation-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-yt06qecn.js → plugin-zrcqcakk.js} +33 -33
- package/dist/chunks/{file-mutation-f73rjn58.js → plugin-zvt5dnpc.js} +4 -4
- package/dist/chunks/{file-mutation-zxq2ej10.js → plugin-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 +83 -83
- 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 +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +362 -362
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- 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-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +124 -124
- 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 +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- 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 +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +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 +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +221 -221
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- 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 +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- 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 +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- 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 +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +110 -110
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- 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 +119 -119
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- 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 +12 -12
- 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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- 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 +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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/file-mutation-qhp8asra.js +0 -252
- package/dist/chunks/file-mutation-rap9a73h.js +0 -18
- package/dist/chunks/file-mutation-wjf1m7fj.js +0 -26
- /package/dist/chunks/{file-mutation-0mesazry.js → plugin-0mesazry.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5qd3pb7m.js → plugin-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → plugin-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → plugin-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-2fa7naq1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service36,
|
|
7
7
|
node39
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-j6wx89t1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service68,
|
|
11
|
+
node70
|
|
12
|
+
} from "./plugin-krkzq7r3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service48,
|
|
15
|
+
node50
|
|
16
|
+
} from "./plugin-hqhd4wnf.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service30,
|
|
26
|
+
layer: () => layer13,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node34
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service30 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
40
|
+
var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
41
41
|
const mcp = yield* Service36;
|
|
42
|
-
const tools = yield*
|
|
42
|
+
const tools = yield* Service48;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service68;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service30.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node34 = makeLocationNode({
|
|
124
|
+
service: Service30,
|
|
125
|
+
layer: layer13,
|
|
126
|
+
deps: [node50, node39, node87, node70]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service30, layer13, node34, exports_mcp3 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./plugin-kc24w74q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make6
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make6 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service53;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make6, LoadError2, exports_module };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./plugin-kc24w74q.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service82
|
|
13
|
+
} from "./plugin-adb60020.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service79
|
|
16
|
+
} from "./plugin-ysphgs6j.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin35
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin35 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service82;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service79;
|
|
42
|
+
const watcher = yield* Service53;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin35, exports_instruction };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-j7wq2tw5.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-yn8w9rk4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make9,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -100,7 +100,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
100
100
|
return true;
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
104
104
|
const decide = yield* policy2(sessionID);
|
|
105
105
|
const wait = (input) => Effect.gen(function* () {
|
|
106
106
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -117,4 +117,4 @@ var make4 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
117
117
|
return { decide, wait };
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
-
export { isRetryable2, policy2, transient2,
|
|
120
|
+
export { isRetryable2, policy2, transient2, make9, exports_retry };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID6,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-vsrk2gnt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service52
|
|
7
|
+
} from "./plugin-d5rr1m9q.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-c8nmdwf6.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service52;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -125,7 +125,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make4();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make4, LMStudioPlugin2 };
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions5 = {};
|
|
18
18
|
__export(exports_instructions5, {
|
|
19
19
|
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
20
|
+
make: () => make13,
|
|
21
|
+
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render2(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render2(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render3(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key4.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make13 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
116
|
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render2,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render2, update3, make13, exports_instructions5 };
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID7,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-90wed0f6.js";
|
|
6
6
|
import {
|
|
7
7
|
ID6,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info18
|
|
11
|
+
} from "./plugin-vsrk2gnt.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -118,8 +118,8 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info18.make({
|
|
122
|
+
...Info18.default(ID7.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
124
|
modelID: ID6.make(remote.id),
|
|
125
125
|
providerID: ID7.githubCopilot,
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-33w4ejhs.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin19,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin19 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin26 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin19, exports_exa };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID7
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-90wed0f6.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-c8nmdwf6.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make22,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make22 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make22, exports_keyed_mutex };
|