@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./plugin-amk2g0b2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./plugin-krkzq7r3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service61;
|
|
57
|
+
const permission = yield* Service68;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-cavr175a.js";
|
|
7
|
+
import {
|
|
8
|
+
Info12
|
|
9
|
+
} from "./plugin-g8jasmdt.js";
|
|
7
10
|
import {
|
|
8
11
|
Info14
|
|
9
|
-
} from "./
|
|
12
|
+
} from "./plugin-c78bbtc9.js";
|
|
10
13
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./plugin-g8d3gcyj.js";
|
|
13
16
|
import {
|
|
14
17
|
Info9
|
|
15
|
-
} from "./
|
|
16
|
-
import {
|
|
17
|
-
Info12
|
|
18
|
-
} from "./file-mutation-hkfg6fzm.js";
|
|
18
|
+
} from "./plugin-cr07tj7n.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info16
|
|
24
|
+
} from "./plugin-hnr5yq9h.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info8
|
|
27
|
+
} from "./plugin-nt1t7xjc.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 "./plugin-5mazm5hr.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./plugin-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(Info14, 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, Info15, ["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, Info12, ["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, Info12, ["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(Info9, 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(Info16, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-q8hay3rb.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-2fa7naq1.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event13
|
|
10
|
+
} from "./plugin-mzjf7cd6.js";
|
|
11
11
|
import {
|
|
12
12
|
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-js9c7n9a.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./plugin-8z00fdkb.js";
|
|
18
18
|
import {
|
|
19
19
|
ID7,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service58
|
|
22
|
+
} from "./plugin-90wed0f6.js";
|
|
23
23
|
import {
|
|
24
24
|
ID6,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Info18
|
|
26
|
+
} from "./plugin-vsrk2gnt.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service58;
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info18.default(providerID, ID6.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-2fa7naq1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./plugin-6702r7ke.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service34,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./plugin-by5v678g.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-yb8jxxt7.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./plugin-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
@@ -30,7 +30,7 @@ __export(exports_plugin2, {
|
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service34,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
@@ -40,9 +40,9 @@ import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as
|
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service83;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service65;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service34.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -223,7 +223,7 @@ function slotInfo(slot) {
|
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
225
|
var node23 = Node.makeLocationNode({
|
|
226
|
-
service:
|
|
226
|
+
service: Service34,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service75,
|
|
3
|
+
node77,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-0x2xcgb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service46,
|
|
8
|
+
node48
|
|
9
|
+
} from "./plugin-909p1r3q.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service18
|
|
12
|
+
} from "./plugin-zrcqcakk.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-edebp1ht.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service75, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service18);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node48.replace(Layer.succeed(Service46, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node77.replace(Layer.succeed(Service75, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-2fa7naq1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./plugin-ysphgs6j.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service70,
|
|
14
|
+
node72
|
|
15
|
+
} from "./plugin-fty4trjx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service7,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node9
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service7 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service70;
|
|
41
|
+
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service7.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node9 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node,
|
|
101
|
+
deps: [node87, FSUtil.node, node83, node72]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service7, node9, exports_instructions };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID6
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-vsrk2gnt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./plugin-d5rr1m9q.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-c8nmdwf6.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 make3(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* Service52;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make3();
|
|
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 { make3, VLLMPlugin2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service52
|
|
4
|
+
} from "./plugin-d5rr1m9q.js";
|
|
5
5
|
import {
|
|
6
6
|
Service49
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-p7kwad1h.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin32
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin32 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
26
|
+
const config = yield* Service52;
|
|
27
27
|
const shell = yield* Service49;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin3 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin32, exports_shell2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service42,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node45
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service42 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service42.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node45 = makeLocationNode({
|
|
137
|
+
service: Service42,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service42, node45, exports_tool_output2 };
|