@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-bj6gcr9n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./tool-output-gn8za3c9.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event17,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info26,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service71,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node75
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID11 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
41
|
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID11,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service71 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service80;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service71.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info26({
|
|
80
|
+
id: ID11.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -193,6 +193,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node88, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID11, OAuth3, Key3, Value2, Event17, Info26, Service71, node75, exports_credential };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-wd3x2cqz.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./tool-output-8yszrpyq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./tool-output-rb7thn51.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin49
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin49 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service39;
|
|
26
|
+
const permission = yield* Service73;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin39 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin49, exports_mcp_resource };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info22,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info22 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info22, key2, exports_connection };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-na564qbx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./tool-output-gn8za3c9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event17
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-cfamg4rm.js";
|
|
11
11
|
import {
|
|
12
12
|
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-hea9fv02.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
19
|
ID7
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-a356yfxf.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-c85cxar8.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -45,7 +45,7 @@ var AzurePlugin2 = define({
|
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
46
|
const configured = yield* configuredSettings2(ID7.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service80;
|
|
49
49
|
const tokens = new Map;
|
|
50
50
|
const loading = Semaphore.makeUnsafe(1);
|
|
51
51
|
const loaded = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service8.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service8, node10, exports_location_watcher_policy };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-bj6gcr9n.js";
|
|
8
|
+
import {
|
|
9
|
+
Service80,
|
|
10
|
+
node84
|
|
11
|
+
} from "./tool-output-gn8za3c9.js";
|
|
8
12
|
import {
|
|
9
13
|
Service83,
|
|
10
14
|
node87
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service82,
|
|
14
|
-
node86
|
|
15
|
-
} from "./file-mutation-607q5haz.js";
|
|
15
|
+
} from "./tool-output-6wr1j3sy.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-output-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-output-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info33,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service79,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node83,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service79 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,11 +95,11 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service83;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service80;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service79.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node83 = makeGlobalNode({
|
|
288
|
+
service: Service79,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node84, node88, FSUtil.node, node87, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2,
|
|
293
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -402,4 +402,4 @@ function update2(adapter, event) {
|
|
|
402
402
|
return project(event);
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
export {
|
|
405
|
+
export { update3, exports_message_updater };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-bj6gcr9n.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-z07pqspn.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service37 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service37.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service37, node40, exports_instruction_entry };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./tool-output-3sb832nx.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./tool-output-h2r7bbkd.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-t5depjfp.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service47
|
|
16
|
+
} from "./tool-output-bsheswfr.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin36
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin36 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service47;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin16 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID15.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID15.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin36, exports_agent2 };
|