@opencode/core 0.0.0-dev-20196 → 0.0.0-dev-20197
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 +73 -73
- package/dist/chunks/{file-mutation-w16ewm88.js → tool-output-02k8mbxw.js} +32 -32
- package/dist/chunks/{file-mutation-p4etetpf.js → tool-output-0476n2vb.js} +35 -35
- package/dist/chunks/{file-mutation-8443s99e.js → tool-output-04z3bh7m.js} +17 -17
- package/dist/chunks/{file-mutation-hekxc47r.js → tool-output-0bfcnrg1.js} +1 -1
- package/dist/chunks/{file-mutation-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-36wh3zdf.js → tool-output-0qhs5d8m.js} +6 -6
- package/dist/chunks/{file-mutation-1acjjqhc.js → tool-output-1acjjqhc.js} +1 -1
- package/dist/chunks/{file-mutation-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-5q075wzn.js → tool-output-1eg4nxfw.js} +8 -8
- package/dist/chunks/{file-mutation-v0j3551j.js → tool-output-1pyenv6t.js} +29 -29
- package/dist/chunks/{file-mutation-jj5netzx.js → tool-output-1qd4j2m8.js} +6 -6
- package/dist/chunks/{file-mutation-na5yh9md.js → tool-output-1qmdv5mp.js} +21 -21
- package/dist/chunks/{file-mutation-vq1w5bxf.js → tool-output-1v370h9c.js} +23 -23
- package/dist/chunks/{file-mutation-mfqp6xfm.js → tool-output-1ygqh575.js} +6 -6
- package/dist/chunks/{file-mutation-21r38tys.js → tool-output-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-kzc3h1h3.js → tool-output-277eer69.js} +4 -4
- package/dist/chunks/{file-mutation-m1hk3fbq.js → tool-output-28bphpdr.js} +8 -8
- package/dist/chunks/{file-mutation-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-n5anf3fb.js → tool-output-2jspd48j.js} +11 -11
- package/dist/chunks/{file-mutation-63vbqmwh.js → tool-output-2kswpgjc.js} +2 -2
- package/dist/chunks/{file-mutation-33z6kxja.js → tool-output-2pcq2b87.js} +35 -35
- package/dist/chunks/{file-mutation-qr8csav2.js → tool-output-37s12vcn.js} +5 -5
- package/dist/chunks/{file-mutation-gz2b78z0.js → tool-output-37yavxgr.js} +18 -18
- package/dist/chunks/{file-mutation-wmnz76n2.js → tool-output-38xgxzt4.js} +14 -14
- package/dist/chunks/{file-mutation-qcc5r1n1.js → tool-output-3crxstbh.js} +30 -30
- package/dist/chunks/{file-mutation-908kwkj3.js → tool-output-3cvhxgkj.js} +12 -12
- package/dist/chunks/{file-mutation-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-x5pftk9r.js → tool-output-3kgczs2p.js} +314 -314
- package/dist/chunks/{file-mutation-0tkcb012.js → tool-output-3qst95dy.js} +24 -24
- package/dist/chunks/{file-mutation-jk776ydv.js → tool-output-3s5dsf8j.js} +6 -6
- package/dist/chunks/{file-mutation-zwy3hb2f.js → tool-output-3sb832nx.js} +21 -21
- package/dist/chunks/{file-mutation-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-fsmjrpwr.js → tool-output-3vd6wzb1.js} +6 -6
- package/dist/chunks/{file-mutation-ez89fygf.js → tool-output-3wyzb0e5.js} +29 -29
- package/dist/chunks/{file-mutation-zcnbza31.js → tool-output-3ynbcv91.js} +35 -35
- package/dist/chunks/{file-mutation-3zsf4n22.js → tool-output-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-mh153f1p.js → tool-output-450b7bpx.js} +11 -11
- package/dist/chunks/{file-mutation-37ccqw5v.js → tool-output-49y6vd17.js} +6 -6
- package/dist/chunks/{file-mutation-0k08rxc6.js → tool-output-4dcj001e.js} +31 -31
- package/dist/chunks/{file-mutation-5rd0r6f7.js → tool-output-4p4tbajs.js} +1 -1
- package/dist/chunks/{file-mutation-9ecw5ke1.js → tool-output-4qm2ah6d.js} +17 -17
- package/dist/chunks/{file-mutation-skv4x9jf.js → tool-output-4s0ggjef.js} +16 -16
- package/dist/chunks/{file-mutation-56798xf4.js → tool-output-5076cmfm.js} +18 -18
- package/dist/chunks/{file-mutation-kc6k5esa.js → tool-output-55sk2spr.js} +22 -22
- package/dist/chunks/{file-mutation-57ez7d0k.js → tool-output-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-mutation-hzxg5djm.js → tool-output-58bfgm1g.js} +16 -16
- package/dist/chunks/{file-mutation-91m9hd8f.js → tool-output-5cmxdwv8.js} +3 -3
- package/dist/chunks/{file-mutation-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-2wdjbrvw.js → tool-output-5e093kp3.js} +22 -22
- package/dist/chunks/{file-mutation-jk58jcy1.js → tool-output-5fq0cf9t.js} +21 -21
- package/dist/chunks/{file-mutation-3ag7ttm0.js → tool-output-5mt7yacn.js} +15 -15
- package/dist/chunks/{file-mutation-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-was05px2.js → tool-output-5v83nwmj.js} +31 -31
- package/dist/chunks/{file-mutation-mepdzt2d.js → tool-output-5yh2dfjr.js} +11 -11
- package/dist/chunks/{file-mutation-4d8ebea5.js → tool-output-614kmz4v.js} +13 -13
- package/dist/chunks/{file-mutation-669tq793.js → tool-output-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-2402vzrj.js → tool-output-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-mutation-6msgmcgs.js → tool-output-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-w579p95t.js → tool-output-6p4rprcy.js} +15 -15
- package/dist/chunks/{file-mutation-607q5haz.js → tool-output-6wr1j3sy.js} +12 -12
- package/dist/chunks/{file-mutation-45bn2qe8.js → tool-output-6xx0w84m.js} +28 -28
- package/dist/chunks/{file-mutation-7he179h5.js → tool-output-716zbwxy.js} +5 -5
- package/dist/chunks/{file-mutation-fss11zrv.js → tool-output-71q4y7v2.js} +35 -35
- package/dist/chunks/{file-mutation-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-qgn6gcr1.js → tool-output-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-mutation-9r9g3gnb.js → tool-output-7ffj36et.js} +17 -17
- package/dist/chunks/{file-mutation-m7h4c5p1.js → tool-output-7nfz6ryh.js} +18 -18
- package/dist/chunks/{file-mutation-0pkr918c.js → tool-output-7xfrhwkv.js} +36 -36
- package/dist/chunks/{file-mutation-mdw2h4tg.js → tool-output-7yxjqz7x.js} +3 -3
- package/dist/chunks/{file-mutation-xptjm771.js → tool-output-7zzzc068.js} +9 -9
- package/dist/chunks/{file-mutation-61w5k2bk.js → tool-output-82gbt3vt.js} +3 -3
- package/dist/chunks/{file-mutation-2tn83n21.js → tool-output-83rmg7kz.js} +15 -15
- package/dist/chunks/{file-mutation-mqwgf0bk.js → tool-output-8492vyn7.js} +18 -18
- package/dist/chunks/{file-mutation-c4y5a9cq.js → tool-output-87deq66t.js} +6 -6
- package/dist/chunks/{file-mutation-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-4k2fjpjr.js → tool-output-8fw23d1s.js} +32 -32
- package/dist/chunks/{file-mutation-kwqt7trd.js → tool-output-8tdwwcb4.js} +7 -7
- package/dist/chunks/{file-mutation-j2978cmg.js → tool-output-8yszrpyq.js} +42 -42
- package/dist/chunks/{file-mutation-j0b1x3jn.js → tool-output-91qrwzar.js} +12 -12
- package/dist/chunks/{file-mutation-94ek1h2f.js → tool-output-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-mutation-yksbe7bm.js → tool-output-9de33ba1.js} +2 -2
- package/dist/chunks/{file-mutation-06avesrm.js → tool-output-9e2vsbeh.js} +12 -12
- package/dist/chunks/{file-mutation-tpw6cwsb.js → tool-output-9hn6k4tm.js} +8 -8
- package/dist/chunks/{file-mutation-93ygb5af.js → tool-output-9r15s34d.js} +6 -6
- package/dist/chunks/{file-mutation-fgpb6470.js → tool-output-9vt6ftyg.js} +13 -13
- package/dist/chunks/{file-mutation-0jjvght6.js → tool-output-9wm6pnp3.js} +10 -10
- package/dist/chunks/{file-mutation-eyansxxn.js → tool-output-9ww363be.js} +23 -23
- package/dist/chunks/{file-mutation-bw35qwa5.js → tool-output-9zzmcsar.js} +1 -1
- package/dist/chunks/{file-mutation-mkwktbjz.js → tool-output-a1yb6yjd.js} +20 -20
- package/dist/chunks/{file-mutation-rq2znn32.js → tool-output-a356yfxf.js} +29 -29
- package/dist/chunks/{file-mutation-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-7hrh0yhw.js → tool-output-an7t1n2z.js} +3 -3
- package/dist/chunks/{file-mutation-cekhgrsm.js → tool-output-anxbc3wp.js} +93 -93
- package/dist/chunks/{file-mutation-6by7ejxe.js → tool-output-arvmqj63.js} +23 -23
- package/dist/chunks/{file-mutation-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-q241hggs.js → tool-output-bgfkqmt3.js} +25 -25
- package/dist/chunks/{file-mutation-ba1mv5p0.js → tool-output-bj6gcr9n.js} +3 -3
- package/dist/chunks/{file-mutation-whrzd189.js → tool-output-bkvk4kr6.js} +10 -10
- package/dist/chunks/{file-mutation-rqnjnaqb.js → tool-output-bmwt7k0m.js} +4 -4
- package/dist/chunks/{file-mutation-qm67wygm.js → tool-output-bnxdzq2s.js} +8 -8
- package/dist/chunks/{file-mutation-vwmcz341.js → tool-output-bqm1219b.js} +33 -33
- package/dist/chunks/{file-mutation-exq2ffnr.js → tool-output-bqxasd6f.js} +13 -13
- package/dist/chunks/{file-mutation-x9v2s4mt.js → tool-output-bsheswfr.js} +44 -44
- package/dist/chunks/{file-mutation-pcxghkgz.js → tool-output-bsqx64w4.js} +4 -4
- package/dist/chunks/{file-mutation-xatxs8ze.js → tool-output-bvwpxajt.js} +4 -4
- package/dist/chunks/{file-mutation-bmb3ej5t.js → tool-output-bzp7925c.js} +4 -4
- package/dist/chunks/{file-mutation-gzwr95fx.js → tool-output-c85cxar8.js} +6 -6
- package/dist/chunks/{file-mutation-nn2w30r8.js → tool-output-cd3pbzq9.js} +20 -20
- package/dist/chunks/{file-mutation-feek47bh.js → tool-output-cfamg4rm.js} +23 -23
- package/dist/chunks/{file-mutation-ckecvw8r.js → tool-output-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-mutation-00x9hzck.js → tool-output-cm3z3ses.js} +10 -10
- package/dist/chunks/{file-mutation-nzyhnfxz.js → tool-output-cpj0znwe.js} +4 -4
- package/dist/chunks/{file-mutation-h2j90xdb.js → tool-output-csaakmaj.js} +10 -10
- package/dist/chunks/{file-mutation-cwa6csj7.js → tool-output-d4he2qe1.js} +9 -9
- package/dist/chunks/{file-mutation-dw698h1a.js → tool-output-desf963j.js} +22 -22
- package/dist/chunks/{file-mutation-xkntkrq7.js → tool-output-dmqcgk4z.js} +5 -5
- package/dist/chunks/{file-mutation-e6hmchc5.js → tool-output-e6hmchc5.js} +2 -2
- package/dist/chunks/{file-mutation-hjtdmxqs.js → tool-output-eae6ke6a.js} +13 -13
- package/dist/chunks/{file-mutation-eaj1djv9.js → tool-output-eaj1djv9.js} +1 -1
- package/dist/chunks/{file-mutation-ecfe7b91.js → tool-output-ecfe7b91.js} +2 -2
- package/dist/chunks/{file-mutation-madt145n.js → tool-output-eenxbhqx.js} +20 -20
- package/dist/chunks/{file-mutation-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-k18pbb1y.js → tool-output-egzwfsft.js} +5 -5
- package/dist/chunks/{file-mutation-tcwxap8g.js → tool-output-emf5javn.js} +28 -28
- package/dist/chunks/{file-mutation-4pe60rv6.js → tool-output-enbb68v0.js} +26 -26
- package/dist/chunks/{file-mutation-31ndy29r.js → tool-output-etd5sf72.js} +29 -29
- package/dist/chunks/{file-mutation-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-bvb037bs.js → tool-output-ewfzzsjx.js} +5 -5
- package/dist/chunks/{file-mutation-aztrj7be.js → tool-output-ey7sk0a9.js} +18 -18
- package/dist/chunks/{file-mutation-q5ne48hz.js → tool-output-fnjjvk1c.js} +13 -13
- package/dist/chunks/{file-mutation-166kng33.js → tool-output-fqtvmpfq.js} +8 -8
- package/dist/chunks/{file-mutation-q2y76nmn.js → tool-output-fr2wvzh6.js} +14 -14
- package/dist/chunks/{file-mutation-0bt5rkyv.js → tool-output-frsncc3s.js} +9 -9
- package/dist/chunks/{file-mutation-7q8hkdsk.js → tool-output-fyczevxa.js} +9 -9
- package/dist/chunks/{file-mutation-jsb3pxss.js → tool-output-g2y161wv.js} +5 -5
- package/dist/chunks/{file-mutation-v434jxdj.js → tool-output-g9jv7xzk.js} +26 -26
- package/dist/chunks/{file-mutation-j64p557d.js → tool-output-g9r39794.js} +14 -14
- package/dist/chunks/{file-mutation-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-sznyev98.js → tool-output-gfhhve88.js} +5 -5
- package/dist/chunks/{file-mutation-7629jcb2.js → tool-output-gg7rmenq.js} +9 -9
- package/dist/chunks/{file-mutation-55gwq3qn.js → tool-output-gk8v152z.js} +43 -43
- package/dist/chunks/{file-mutation-r4m9e03x.js → tool-output-gn8za3c9.js} +12 -12
- package/dist/chunks/{file-mutation-qvcq4vww.js → tool-output-gpe867ck.js} +24 -24
- package/dist/chunks/{file-mutation-tknscx6b.js → tool-output-gppvt8vv.js} +26 -26
- package/dist/chunks/{file-mutation-r4jmx1pn.js → tool-output-gpwv3ge1.js} +19 -19
- package/dist/chunks/{file-mutation-n92w27pw.js → tool-output-gq1py7cb.js} +13 -13
- package/dist/chunks/{file-mutation-sm965ndy.js → tool-output-grxcxy9j.js} +8 -8
- package/dist/chunks/{file-mutation-k1qrnqst.js → tool-output-gs4tkc79.js} +8 -8
- package/dist/chunks/{file-mutation-gv6a8nnw.js → tool-output-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-7mzanbhg.js → tool-output-gxkha9wa.js} +35 -35
- package/dist/chunks/{file-mutation-pb1eahw5.js → tool-output-h2r7bbkd.js} +8 -8
- package/dist/chunks/{file-mutation-7ncrrmyf.js → tool-output-h5152acs.js} +11 -11
- package/dist/chunks/{file-mutation-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-cbbagb43.js → tool-output-h7dvs9rs.js} +11 -11
- package/dist/chunks/{file-mutation-vfjhn2wd.js → tool-output-h9pnpq88.js} +4 -4
- package/dist/chunks/{file-mutation-fwg4bfmy.js → tool-output-hdfyrfze.js} +3 -3
- package/dist/chunks/{file-mutation-dv5spdm5.js → tool-output-hea9fv02.js} +25 -25
- package/dist/chunks/{file-mutation-z6ze4cqf.js → tool-output-hpfwqngd.js} +8 -8
- package/dist/chunks/{file-mutation-jxg9h7h6.js → tool-output-hxhy065j.js} +58 -58
- package/dist/chunks/{file-mutation-pz7cr76j.js → tool-output-hyf900rk.js} +39 -39
- package/dist/chunks/{file-mutation-nqnxh7mc.js → tool-output-j15mfg1p.js} +4 -4
- package/dist/chunks/{file-mutation-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-q752a12t.js → tool-output-j66b007x.js} +19 -19
- package/dist/chunks/{file-mutation-hbj37746.js → tool-output-j776t40k.js} +23 -23
- package/dist/chunks/{file-mutation-b2g6p7zb.js → tool-output-j80kp2rt.js} +9 -9
- package/dist/chunks/{file-mutation-sbwvsvgv.js → tool-output-jdqdsz1a.js} +19 -19
- package/dist/chunks/{file-mutation-39thqb0z.js → tool-output-jeb6mreh.js} +88 -88
- package/dist/chunks/{file-mutation-0q60sf5x.js → tool-output-jgxqkkn7.js} +8 -8
- package/dist/chunks/{file-mutation-yrgme7j0.js → tool-output-jn238a97.js} +12 -12
- package/dist/chunks/{file-mutation-magykp64.js → tool-output-jw80jp6b.js} +4 -4
- package/dist/chunks/{file-mutation-yt06qecn.js → tool-output-k0cbpj5z.js} +36 -36
- package/dist/chunks/{file-mutation-dy8qwv32.js → tool-output-k1wnne5z.js} +20 -20
- package/dist/chunks/{file-mutation-k3c624dm.js → tool-output-k3c624dm.js} +3 -3
- package/dist/chunks/{file-mutation-fyrmabcy.js → tool-output-k42c8sen.js} +8 -8
- package/dist/chunks/{file-mutation-xv48q100.js → tool-output-k665062s.js} +20 -20
- package/dist/chunks/{file-mutation-d48vtfkp.js → tool-output-kad49353.js} +16 -16
- package/dist/chunks/{file-mutation-1vcc0tqx.js → tool-output-kzxjzzb4.js} +15 -15
- package/dist/chunks/{file-mutation-m3fdjcah.js → tool-output-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-g4nge062.js → tool-output-m49k4qsb.js} +13 -13
- package/dist/chunks/{file-mutation-jvy91fcn.js → tool-output-m8wnj5we.js} +28 -28
- package/dist/chunks/{file-mutation-2ka3r0xm.js → tool-output-m957sa19.js} +28 -28
- package/dist/chunks/{file-mutation-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-n7y60bnp.js → tool-output-mat3f06q.js} +20 -20
- package/dist/chunks/{file-mutation-b9frkjp9.js → tool-output-mb1xcvby.js} +1 -1
- package/dist/chunks/{file-mutation-q9mp86yc.js → tool-output-mg2dap8q.js} +13 -13
- package/dist/chunks/{file-mutation-73tb2d7t.js → tool-output-mhkvc446.js} +3 -3
- package/dist/chunks/{file-mutation-jshgtcbt.js → tool-output-mm81q95b.js} +15 -15
- package/dist/chunks/{file-mutation-bw4jwp7x.js → tool-output-mw5sxth6.js} +9 -9
- package/dist/chunks/{file-mutation-n3hytwrq.js → tool-output-na564qbx.js} +8 -8
- package/dist/chunks/{file-mutation-8ygpbkv1.js → tool-output-nb5thb39.js} +13 -13
- package/dist/chunks/{file-mutation-n37c4crj.js → tool-output-njhqdk9p.js} +8 -8
- package/dist/chunks/{file-mutation-jazhghcp.js → tool-output-nnpx8484.js} +15 -15
- package/dist/chunks/{file-mutation-fhs97t90.js → tool-output-nq7qbqzc.js} +9 -9
- package/dist/chunks/{file-mutation-xdcdg5gg.js → tool-output-ns8t1e06.js} +11 -11
- package/dist/chunks/{file-mutation-bjgnzx8v.js → tool-output-nwk50mgs.js} +8 -8
- package/dist/chunks/{file-mutation-bfn9xngp.js → tool-output-p5bjm80h.js} +22 -22
- package/dist/chunks/{file-mutation-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-49exe669.js → tool-output-pp7e5es3.js} +5 -5
- package/dist/chunks/{file-mutation-1p07q0wb.js → tool-output-py3kkmfq.js} +4 -4
- package/dist/chunks/{file-mutation-f73rjn58.js → tool-output-q5asdkn4.js} +4 -4
- package/dist/chunks/{file-mutation-w1hpm58k.js → tool-output-q78ev7p5.js} +49 -49
- package/dist/chunks/{file-mutation-4ywmn05m.js → tool-output-q7tcw842.js} +5 -5
- package/dist/chunks/{file-mutation-t6vsspdg.js → tool-output-qa3qhgw8.js} +7 -7
- package/dist/chunks/{file-mutation-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-nzdeb66t.js → tool-output-qwdx1cah.js} +9 -9
- package/dist/chunks/{file-mutation-rap9a73h.js → tool-output-rap9a73h.js} +1 -1
- package/dist/chunks/{file-mutation-3hmc9p2p.js → tool-output-rb7thn51.js} +55 -55
- package/dist/chunks/{file-mutation-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-w5sez581.js → tool-output-rhsbsdjb.js} +8 -8
- package/dist/chunks/{file-mutation-arws8trd.js → tool-output-rjfaxz19.js} +4 -4
- package/dist/chunks/{file-mutation-annjwsdj.js → tool-output-rv24j7hr.js} +26 -26
- package/dist/chunks/{file-mutation-chbxjcn8.js → tool-output-rzwbfcyw.js} +9 -9
- package/dist/chunks/{file-mutation-1pc8b49c.js → tool-output-s2w2s4e7.js} +10 -10
- package/dist/chunks/{file-mutation-p6wxjpka.js → tool-output-s30fyz93.js} +4 -4
- package/dist/chunks/{file-mutation-hkfg6fzm.js → tool-output-s8zy8myc.js} +5 -5
- package/dist/chunks/{file-mutation-b0g280va.js → tool-output-sbch4zx2.js} +23 -23
- package/dist/chunks/{file-mutation-n61sj0zv.js → tool-output-sc7c8wzz.js} +25 -25
- package/dist/chunks/{file-mutation-qcdf9a5m.js → tool-output-sk91p8be.js} +1 -1
- package/dist/chunks/{file-mutation-tmkkbmay.js → tool-output-skcsa0b4.js} +20 -20
- package/dist/chunks/{file-mutation-n08rr4pq.js → tool-output-spqacxwy.js} +18 -18
- package/dist/chunks/{file-mutation-m8xex9m9.js → tool-output-t5depjfp.js} +4 -4
- package/dist/chunks/{file-mutation-wf80fvfx.js → tool-output-t7g70t9w.js} +24 -24
- package/dist/chunks/{file-mutation-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → tool-output-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-bqdk09cg.js → tool-output-tg7qkwev.js} +37 -37
- package/dist/chunks/{file-mutation-jsx6v7sj.js → tool-output-tjcbfd95.js} +11 -11
- package/dist/chunks/{file-mutation-tvtrv512.js → tool-output-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-m7qqma2k.js → tool-output-txhyak7q.js} +14 -14
- package/dist/chunks/{file-mutation-n24gc8vs.js → tool-output-tybmt5yb.js} +11 -11
- package/dist/chunks/{file-mutation-sx1n432n.js → tool-output-ve4pfa0n.js} +4 -4
- package/dist/chunks/{file-mutation-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-80rcay5r.js → tool-output-vgv1tpsk.js} +8 -8
- package/dist/chunks/{file-mutation-b07rpg7m.js → tool-output-vmgq4x8b.js} +2 -2
- package/dist/chunks/{file-mutation-0dr0g8g1.js → tool-output-vmwh049b.js} +6 -6
- package/dist/chunks/{file-mutation-fj17yqcr.js → tool-output-vnkthj4v.js} +1 -1
- package/dist/chunks/{file-mutation-pdn3apj7.js → tool-output-vqzmz37c.js} +14 -14
- package/dist/chunks/{file-mutation-7tbm9b7t.js → tool-output-vrwdbnfx.js} +3 -3
- package/dist/chunks/{file-mutation-va5qff5x.js → tool-output-vyqn3nqs.js} +4 -4
- package/dist/chunks/{file-mutation-vzcthcp8.js → tool-output-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-vzs5sf6e.js → tool-output-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-vbr7z2an.js → tool-output-vzzb5xze.js} +7 -7
- package/dist/chunks/tool-output-w2yez0bq.js +252 -0
- package/dist/chunks/{file-mutation-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-ec9ctddj.js → tool-output-waj6ffv2.js} +3 -3
- package/dist/chunks/{file-mutation-jarn1zxe.js → tool-output-wctfcgtb.js} +6 -6
- package/dist/chunks/{file-mutation-wd3x2cqz.js → tool-output-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-mutation-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/tool-output-wmrnne9v.js +26 -0
- package/dist/chunks/{file-mutation-bhp9zwz7.js → tool-output-wqcdy49w.js} +27 -27
- package/dist/chunks/{file-mutation-px76j0pk.js → tool-output-wwajdw47.js} +9 -9
- package/dist/chunks/{file-mutation-x1ezjp6w.js → tool-output-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-5zpn8qhf.js → tool-output-xex5dmd2.js} +133 -133
- package/dist/chunks/{file-mutation-57b9ws8p.js → tool-output-xfkkasph.js} +7 -7
- package/dist/chunks/{file-mutation-xwm6bryg.js → tool-output-xwm6bryg.js} +4 -4
- package/dist/chunks/{file-mutation-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-w8ferkse.js → tool-output-y3t3p5bg.js} +10 -10
- package/dist/chunks/{file-mutation-mksgfzgs.js → tool-output-y49vr829.js} +5 -5
- package/dist/chunks/{file-mutation-dpkg50ah.js → tool-output-y71avatq.js} +4 -4
- package/dist/chunks/{file-mutation-v0mz33x9.js → tool-output-ya6h1d71.js} +73 -73
- package/dist/chunks/{file-mutation-h22dswsw.js → tool-output-ydrddmgm.js} +14 -14
- package/dist/chunks/{file-mutation-mrj8mwf0.js → tool-output-ydt228pr.js} +32 -32
- package/dist/chunks/{file-mutation-5vth3xyp.js → tool-output-yqhw2aq8.js} +45 -45
- package/dist/chunks/{file-mutation-yrhqyw5v.js → tool-output-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-yrznvahk.js → tool-output-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-6y9tzzzt.js → tool-output-yxervnn2.js} +8 -8
- package/dist/chunks/{file-mutation-ka6f9z9r.js → tool-output-yxssrkkx.js} +1 -1
- package/dist/chunks/{file-mutation-z07pqspn.js → tool-output-z07pqspn.js} +3 -3
- package/dist/chunks/{file-mutation-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-eq1jxjww.js → tool-output-z20b7sc7.js} +48 -48
- package/dist/chunks/{file-mutation-z63w68vq.js → tool-output-z63w68vq.js} +2 -2
- package/dist/chunks/{file-mutation-6m5gwycq.js → tool-output-z7cms13m.js} +9 -9
- package/dist/chunks/{file-mutation-82mxp87a.js → tool-output-zbq88k2g.js} +41 -41
- package/dist/chunks/{file-mutation-xdyqf2ep.js → tool-output-zc6f8ctp.js} +30 -30
- package/dist/chunks/{file-mutation-a1dcbnh1.js → tool-output-zd1b39ra.js} +18 -18
- package/dist/chunks/{file-mutation-b0rtdght.js → tool-output-ze4171k7.js} +11 -11
- package/dist/chunks/{file-mutation-zeh9ct20.js → tool-output-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-6qdk3m7n.js → tool-output-ztgtdybs.js} +15 -15
- package/dist/chunks/{file-mutation-jfyc1maa.js → tool-output-zxjhewza.js} +16 -16
- package/dist/chunks/{file-mutation-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +123 -123
- 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 +122 -122
- 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 +74 -74
- 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 +6 -6
- 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 +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +79 -79
- 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 +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- 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 +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- 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 +86 -86
- 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 +1 -1
- package/dist/plugin/skill.js +141 -141
- 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 +4 -4
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- 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 +94 -94
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +83 -83
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- 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 +5 -5
- 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 +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- 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 +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- 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 +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +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 +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/file-mutation-qhp8asra.js +0 -252
- package/dist/chunks/file-mutation-wjf1m7fj.js +0 -26
- /package/dist/chunks/{file-mutation-0mesazry.js → tool-output-0mesazry.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → tool-output-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → tool-output-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → tool-output-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → tool-output-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service36,
|
|
7
|
-
node39
|
|
8
|
-
} from "./file-mutation-j2978cmg.js";
|
|
9
|
-
import {
|
|
10
|
-
Service72,
|
|
11
|
-
node76
|
|
12
|
-
} from "./file-mutation-3hmc9p2p.js";
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./tool-output-gn8za3c9.js";
|
|
13
5
|
import {
|
|
14
6
|
Service39,
|
|
15
7
|
node42
|
|
16
|
-
} from "./
|
|
8
|
+
} from "./tool-output-8yszrpyq.js";
|
|
9
|
+
import {
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./tool-output-rb7thn51.js";
|
|
13
|
+
import {
|
|
14
|
+
Service42,
|
|
15
|
+
node45
|
|
16
|
+
} from "./tool-output-t7g70t9w.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-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: () => Service38,
|
|
26
|
+
layer: () => layer15,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node41
|
|
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 Service38 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service39;
|
|
42
|
+
const tools = yield* Service42;
|
|
43
|
+
const bus = yield* Service80;
|
|
44
|
+
const permission = yield* Service73;
|
|
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 Service38.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node41 = makeLocationNode({
|
|
124
|
+
service: Service38,
|
|
125
|
+
layer: layer15,
|
|
126
|
+
deps: [node45, node42, node84, node77]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service38, layer15, node41, exports_mcp3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./tool-output-bsheswfr.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin12,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin12 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin32 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin12, exports_warming };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service83,
|
|
6
|
-
node87
|
|
7
|
-
} from "./file-mutation-r4m9e03x.js";
|
|
8
|
-
import {
|
|
9
|
-
Event17,
|
|
10
|
-
Service68,
|
|
11
|
-
node71
|
|
12
|
-
} from "./file-mutation-feek47bh.js";
|
|
3
|
+
} from "./tool-output-y71avatq.js";
|
|
13
4
|
import {
|
|
14
5
|
Service80,
|
|
15
6
|
node84
|
|
16
|
-
} from "./
|
|
7
|
+
} from "./tool-output-gn8za3c9.js";
|
|
17
8
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
9
|
+
Event17,
|
|
10
|
+
Service71,
|
|
11
|
+
node75
|
|
12
|
+
} from "./tool-output-cfamg4rm.js";
|
|
21
13
|
import {
|
|
22
|
-
ID15,
|
|
23
14
|
Service78,
|
|
24
15
|
node82
|
|
25
|
-
} from "./
|
|
16
|
+
} from "./tool-output-38xgxzt4.js";
|
|
17
|
+
import {
|
|
18
|
+
Service69,
|
|
19
|
+
node72
|
|
20
|
+
} from "./tool-output-gpe867ck.js";
|
|
21
|
+
import {
|
|
22
|
+
ID9,
|
|
23
|
+
Service64,
|
|
24
|
+
node67
|
|
25
|
+
} from "./tool-output-emf5javn.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-output-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID8,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service63,
|
|
34
|
+
node66
|
|
35
|
+
} from "./tool-output-hea9fv02.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service39,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
56
|
configured: () => configured5,
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
57
|
+
layer: () => layer16,
|
|
58
|
+
node: () => node42
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -93,7 +93,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service39 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
98
|
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -101,13 +101,13 @@ var Options5 = Schema.Struct({
|
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
104
|
+
var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service78;
|
|
106
|
+
const environment = yield* Service69;
|
|
107
|
+
const bus = yield* Service80;
|
|
108
|
+
const forms = yield* Service64;
|
|
109
|
+
const integration = yield* Service63;
|
|
110
|
+
const credentials = yield* Service71;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -135,7 +135,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service71, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service71, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID9.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
262
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service69, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -410,7 +410,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service39.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -518,12 +518,12 @@ function mergeCatalogs(catalogs) {
|
|
|
518
518
|
}
|
|
519
519
|
function configured5(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
521
|
+
service: Service39,
|
|
522
|
+
layer: layer16(options),
|
|
523
|
+
deps: [node82, node72, node84, node67, node66, node75]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node42 = configured5();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service39, Options5, layer16, configured5, node42, exports_mcp4 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-bj6gcr9n.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-z07pqspn.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-hpfwqngd.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-vmgq4x8b.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service75,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node79
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service75 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service75.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node79 = makeGlobalNode({ service: Service75, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service75, node79, exports_store };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-wd3x2cqz.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-vzzb5xze.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./tool-output-gn8za3c9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service49,
|
|
6
|
+
Event11
|
|
7
|
+
} from "./tool-output-arvmqj63.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin2,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service80;
|
|
24
|
+
const wellknown = yield* Service49;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin20 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin2, exports_plugin };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node4
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node4 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node4, bound2, exports_instance2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service56,
|
|
10
|
+
node: () => node59
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service56 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node59 = LayerNode.unbound(Service56, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service56, node59, exports_service2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service69,
|
|
6
|
+
node72
|
|
7
|
+
} from "./tool-output-gpe867ck.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service22,
|
|
17
|
+
node: () => node25,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service22 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service69;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service22.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node25 = makeLocationNode({ service: Service22, layer, deps: [node72] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service22, readText2, syncTextBom2, node25, exports_file_mutation };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-a356yfxf.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service47
|
|
8
|
+
} from "./tool-output-bsheswfr.js";
|
|
9
9
|
import {
|
|
10
10
|
resolve2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-an7t1n2z.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin20
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin20 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service47;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin20, exports_provider };
|