@opencode/core 0.0.0-dev-20574 → 0.0.0-dev-20578
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-retention-3fdy5e26.js → plugin-04d3ggy7.js} +18 -18
- package/dist/chunks/{file-retention-3xnccdbj.js → plugin-06fncbhs.js} +14 -14
- package/dist/chunks/{file-retention-rpg9c19m.js → plugin-06x8he3q.js} +4 -4
- package/dist/chunks/{file-retention-dzz4avzz.js → plugin-09djgkn9.js} +20 -20
- package/dist/chunks/{file-retention-2qmevabq.js → plugin-0a04tq27.js} +1 -1
- package/dist/chunks/{file-retention-mj0s41ck.js → plugin-0d0dy0b8.js} +16 -16
- package/dist/chunks/{file-retention-dp7d2fdn.js → plugin-0grfgy22.js} +23 -23
- package/dist/chunks/{file-retention-0j77ygfz.js → plugin-0j77ygfz.js} +2 -2
- package/dist/chunks/{file-retention-fcrkznn8.js → plugin-0jwsre1p.js} +5 -5
- package/dist/chunks/{file-retention-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-retention-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-1dvck2a7.js → plugin-1dvck2a7.js} +2 -2
- package/dist/chunks/{file-retention-375t9ctr.js → plugin-1eznydrh.js} +12 -12
- package/dist/chunks/{file-retention-vqr6g7p3.js → plugin-1hxtq9m9.js} +29 -29
- package/dist/chunks/{file-retention-kbrxqvty.js → plugin-1m06e57m.js} +10 -10
- package/dist/chunks/{file-retention-ywae51ae.js → plugin-1x0vprbs.js} +15 -15
- package/dist/chunks/{file-retention-1ygqh575.js → plugin-1ygqh575.js} +2 -2
- package/dist/chunks/{file-retention-3n34rj9j.js → plugin-24creq0d.js} +7 -7
- package/dist/chunks/{file-retention-fwdg1fxj.js → plugin-28z24pfh.js} +23 -23
- package/dist/chunks/{file-retention-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-2ccvkpx1.js → plugin-2ccvkpx1.js} +2 -2
- package/dist/chunks/{file-retention-qd6mjxjn.js → plugin-2dcw1sfe.js} +7 -7
- package/dist/chunks/{file-retention-gzxe17p4.js → plugin-2ex9tkzb.js} +36 -36
- package/dist/chunks/{file-retention-g186129t.js → plugin-2m5wdzz9.js} +4 -4
- package/dist/chunks/{file-retention-2cmv4prx.js → plugin-2p0jthwz.js} +15 -15
- package/dist/chunks/{file-retention-2wj8n25z.js → plugin-2p5y98w0.js} +6 -6
- package/dist/chunks/{file-retention-6sr3ve8g.js → plugin-2pnhn36q.js} +4 -4
- package/dist/chunks/{file-retention-kkszqkca.js → plugin-30hx8gy4.js} +11 -11
- package/dist/chunks/{file-retention-8nqvxmhp.js → plugin-34bd8zqa.js} +15 -15
- package/dist/chunks/{file-retention-fyjp43ss.js → plugin-35ng7dkh.js} +5 -5
- package/dist/chunks/{file-retention-sqsf5w9p.js → plugin-371g5ft3.js} +22 -22
- package/dist/chunks/{file-retention-rnyw8s47.js → plugin-39sy8z68.js} +9 -9
- package/dist/chunks/{file-retention-n3sbkf7y.js → plugin-3ary6tpn.js} +6 -6
- package/dist/chunks/{file-retention-7nd1w80t.js → plugin-3d32k6hr.js} +14 -14
- package/dist/chunks/{file-retention-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-1hs5gw21.js → plugin-3g98wrjp.js} +15 -15
- package/dist/chunks/{file-retention-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-tr8p7823.js → plugin-3n0emgyf.js} +26 -26
- package/dist/chunks/{file-retention-srdsxf88.js → plugin-3r80836k.js} +29 -29
- package/dist/chunks/{file-retention-32mfgrc2.js → plugin-3rt7qeq2.js} +46 -46
- package/dist/chunks/{file-retention-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-rjbgsrgy.js → plugin-3x5wnmsa.js} +3 -3
- package/dist/chunks/{file-retention-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-2196dttv.js → plugin-41japfwg.js} +19 -19
- package/dist/chunks/{file-retention-a7yy2md1.js → plugin-43r5tmwz.js} +174 -174
- package/dist/chunks/{file-retention-rxwegcwa.js → plugin-4bcaa4pk.js} +24 -24
- package/dist/chunks/{file-retention-vsv6kgcp.js → plugin-4fsvs0r5.js} +13 -13
- package/dist/chunks/{file-retention-yg48zpvb.js → plugin-4hmze3tg.js} +9 -9
- package/dist/chunks/{file-retention-d4zdj4k1.js → plugin-4r3ynae4.js} +47 -47
- package/dist/chunks/{file-retention-dm0afct9.js → plugin-51nd9ekg.js} +33 -33
- package/dist/chunks/{file-retention-54ma36ye.js → plugin-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-y2f4f8ve.js → plugin-5anybvrp.js} +9 -9
- package/dist/chunks/{file-retention-5daktx2q.js → plugin-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-5dkn69vz.js → plugin-5dkn69vz.js} +1 -1
- package/dist/chunks/{file-retention-m0wjs088.js → plugin-5egfvsg2.js} +25 -25
- package/dist/chunks/{file-retention-268p1yhm.js → plugin-5g4drkc8.js} +11 -11
- package/dist/chunks/{file-retention-zrpzfdax.js → plugin-5h261f6e.js} +43 -43
- package/dist/chunks/{file-retention-pvmde4fp.js → plugin-5kyzh40n.js} +5 -5
- package/dist/chunks/{file-retention-gr0k9txt.js → plugin-5p2w852e.js} +6 -6
- package/dist/chunks/{file-retention-m3jsamem.js → plugin-5q82qb79.js} +22 -22
- package/dist/chunks/{file-retention-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-p37cw4rj.js → plugin-5yzzbxa7.js} +8 -8
- package/dist/chunks/{file-retention-7dd7hteq.js → plugin-61rwkfw7.js} +13 -13
- package/dist/chunks/{file-retention-nnzbwe1c.js → plugin-62kmmg0k.js} +3 -3
- package/dist/chunks/{file-retention-669tq793.js → plugin-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-87ec1t8q.js → plugin-68vrpgj2.js} +29 -29
- package/dist/chunks/{file-retention-awyx35h1.js → plugin-69hdsgk8.js} +32 -32
- package/dist/chunks/{file-retention-54rek375.js → plugin-69mqpp93.js} +20 -20
- package/dist/chunks/{file-retention-tn2h520a.js → plugin-6arwdhpr.js} +30 -30
- package/dist/chunks/{file-retention-v0es1rhs.js → plugin-6g7e4dd5.js} +7 -7
- package/dist/chunks/{file-retention-6xb47vfp.js → plugin-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-retention-6zjj7zaj.js → plugin-6zy4stt8.js} +7 -7
- package/dist/chunks/{file-retention-71az546q.js → plugin-71az546q.js} +2 -2
- package/dist/chunks/{file-retention-yeg9yvqq.js → plugin-76g71pff.js} +48 -48
- package/dist/chunks/{file-retention-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-0e92md3a.js → plugin-7qgmcsxr.js} +23 -23
- package/dist/chunks/{file-retention-gy0h6dkp.js → plugin-7raxn3d9.js} +13 -13
- package/dist/chunks/{file-retention-eq1mg9hk.js → plugin-7t4975xj.js} +5 -5
- package/dist/chunks/{file-retention-tbe4vfsv.js → plugin-7y3n75t2.js} +8 -8
- package/dist/chunks/{file-retention-915xkp7h.js → plugin-81vaem42.js} +11 -11
- package/dist/chunks/{file-retention-xkepe22y.js → plugin-84fx5zbw.js} +15 -15
- package/dist/chunks/{file-retention-84txncab.js → plugin-84txncab.js} +1 -1
- package/dist/chunks/{file-retention-v8b0935d.js → plugin-8c8v92hd.js} +15 -15
- package/dist/chunks/{file-retention-f4ea6fbw.js → plugin-8cqakzrt.js} +16 -16
- package/dist/chunks/{file-retention-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-2r2pg6z6.js → plugin-8dsxej7q.js} +5 -5
- package/dist/chunks/{file-retention-mvns82mh.js → plugin-8etvpd78.js} +1 -1
- package/dist/chunks/{file-retention-3397p42w.js → plugin-8mq6ch7h.js} +16 -16
- package/dist/chunks/{file-retention-enqpvmpb.js → plugin-8q4vwcbd.js} +33 -33
- package/dist/chunks/{file-retention-c27esgm9.js → plugin-8s4zq5p9.js} +8 -8
- package/dist/chunks/{file-retention-py3kkmfq.js → plugin-8sze2n9a.js} +6 -6
- package/dist/chunks/{file-retention-7prahzjg.js → plugin-90wqxygs.js} +11 -11
- package/dist/chunks/{file-retention-zp1mrdgp.js → plugin-947pvy6h.js} +3 -3
- package/dist/chunks/{file-retention-3wga580s.js → plugin-9c1yxwsv.js} +13 -13
- package/dist/chunks/{file-retention-9e5bzkjp.js → plugin-9e5bzkjp.js} +3 -3
- package/dist/chunks/{file-retention-m2wjhmzf.js → plugin-9jww82ap.js} +87 -87
- package/dist/chunks/{file-retention-96xkdgy7.js → plugin-9przwesc.js} +35 -35
- package/dist/chunks/{file-retention-2n1dscnb.js → plugin-9s85hpde.js} +3 -3
- package/dist/chunks/{file-retention-f7vbsmz3.js → plugin-9szwjyee.js} +8 -8
- package/dist/chunks/{file-retention-1ncsypj2.js → plugin-9tnt1thx.js} +15 -15
- package/dist/chunks/{file-retention-v7z2bvyd.js → plugin-a3c7ahw6.js} +4 -4
- package/dist/chunks/{file-retention-aaet6srn.js → plugin-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-7t7jzkqc.js → plugin-acqz3eas.js} +21 -21
- package/dist/chunks/{file-retention-7gmg37r4.js → plugin-afc78eap.js} +8 -8
- package/dist/chunks/{file-retention-sxsav6rz.js → plugin-agw9xp4d.js} +18 -18
- package/dist/chunks/{file-retention-krk958qj.js → plugin-ak7e9zsb.js} +38 -38
- package/dist/chunks/{file-retention-ea4zmnh0.js → plugin-aphb00ew.js} +2 -2
- package/dist/chunks/{file-retention-5n3c8dqy.js → plugin-aqs4ydsz.js} +26 -26
- package/dist/chunks/{file-retention-w3x9v1nk.js → plugin-aryyw1nk.js} +8 -8
- package/dist/chunks/{file-retention-q58edvkc.js → plugin-ay3mx084.js} +11 -11
- package/dist/chunks/{file-retention-fm2qvscf.js → plugin-b27vhd2z.js} +4 -4
- package/dist/chunks/{file-retention-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-8sngbae2.js → plugin-b7fettsd.js} +4 -4
- package/dist/chunks/{file-retention-gdzm1g2q.js → plugin-bxq680aw.js} +39 -39
- package/dist/chunks/plugin-by5v678g.js +18 -0
- package/dist/chunks/{file-retention-0vjy9swk.js → plugin-c1gr2zd3.js} +3 -3
- package/dist/chunks/{file-retention-r2qmqz0p.js → plugin-c1vsqjm1.js} +38 -38
- package/dist/chunks/{file-retention-5mra6jzn.js → plugin-c7jwjaks.js} +22 -22
- package/dist/chunks/{file-retention-cdy3mprf.js → plugin-cepe0qf7.js} +44 -44
- package/dist/chunks/{file-retention-kzgjq6s9.js → plugin-cfz5gkc0.js} +8 -8
- package/dist/chunks/{file-retention-cpneeje0.js → plugin-cpneeje0.js} +2 -2
- package/dist/chunks/{file-retention-wp6kzx6e.js → plugin-cwwytgmc.js} +4 -4
- package/dist/chunks/{file-retention-wzxmb50y.js → plugin-d10hb995.js} +25 -25
- package/dist/chunks/{file-retention-7gvnq27t.js → plugin-da0rp3w3.js} +7 -7
- package/dist/chunks/{file-retention-50gqarwy.js → plugin-djz46489.js} +13 -13
- package/dist/chunks/{file-retention-qp9vg2jq.js → plugin-drnf6xwf.js} +2 -2
- package/dist/chunks/{file-retention-mfzhreb2.js → plugin-ds421k4t.js} +11 -11
- package/dist/chunks/{file-retention-41f99y6m.js → plugin-dx92dk9v.js} +11 -11
- package/dist/chunks/{file-retention-p686mhj9.js → plugin-dyrgthp5.js} +22 -22
- package/dist/chunks/{file-retention-x953gtjm.js → plugin-e4g6rnfs.js} +7 -7
- package/dist/chunks/{file-retention-ztrfc8bt.js → plugin-e5nrtag5.js} +28 -28
- package/dist/chunks/{file-retention-mewprhs7.js → plugin-e6tayz2r.js} +49 -49
- package/dist/chunks/{file-retention-4cq6ekdq.js → plugin-e9txt9vy.js} +5 -5
- package/dist/chunks/{file-retention-2k71kv7p.js → plugin-eahhehpg.js} +4 -4
- package/dist/chunks/{file-retention-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-1szktn86.js → plugin-ef7p9trg.js} +9 -9
- package/dist/chunks/{file-retention-eq1pz5kg.js → plugin-eq1pz5kg.js} +1 -1
- package/dist/chunks/{file-retention-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-fxtr5mc8.js → plugin-ext61gvm.js} +15 -15
- package/dist/chunks/{file-retention-c1cwwd8w.js → plugin-f8147smy.js} +5 -5
- package/dist/chunks/{file-retention-x9ehtewq.js → plugin-fdf2r7px.js} +25 -25
- package/dist/chunks/{file-retention-mvjs53cw.js → plugin-fnwaevmq.js} +36 -36
- package/dist/chunks/{file-retention-2wz3v08k.js → plugin-fq3v9e4w.js} +22 -22
- package/dist/chunks/{file-retention-1wqgvv8c.js → plugin-fwdyap71.js} +8 -8
- package/dist/chunks/{file-retention-319s4164.js → plugin-fz79dkc7.js} +8 -8
- package/dist/chunks/plugin-g93t3hq1.js +26 -0
- package/dist/chunks/{file-retention-ezg6p8me.js → plugin-gahzhxn8.js} +23 -23
- package/dist/chunks/{file-retention-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-ajjrsc3c.js → plugin-gfwqja43.js} +5 -5
- package/dist/chunks/{file-retention-h2b79v29.js → plugin-h2b79v29.js} +2 -2
- package/dist/chunks/{file-retention-9b9xphtx.js → plugin-h4cyradc.js} +12 -12
- package/dist/chunks/{file-retention-h5w29vws.js → plugin-h5w29vws.js} +1 -1
- package/dist/chunks/{file-retention-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-p78wsmvm.js → plugin-h8ft0m90.js} +14 -14
- package/dist/chunks/plugin-h92akkf0.js +253 -0
- package/dist/chunks/{file-retention-1mxdpm3z.js → plugin-hahjxtze.js} +10 -10
- package/dist/chunks/{file-retention-7ryscgg3.js → plugin-hcd320rf.js} +3 -3
- package/dist/chunks/plugin-hqe3s9vz.js +507 -0
- package/dist/chunks/{file-retention-4wsngk0e.js → plugin-hz0mzm96.js} +57 -57
- package/dist/chunks/{file-retention-z8fkwh97.js → plugin-j2zjmsnh.js} +6 -6
- package/dist/chunks/{file-retention-j56e64zr.js → plugin-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-kc9s2bvd.js → plugin-j730n9rv.js} +22 -22
- package/dist/chunks/{file-retention-f3fpyva3.js → plugin-jav2p7n3.js} +3 -3
- package/dist/chunks/{file-retention-veyd67p8.js → plugin-jgj04qff.js} +11 -11
- package/dist/chunks/{file-retention-x5n5s6zj.js → plugin-js9gsb9m.js} +16 -16
- package/dist/chunks/{file-retention-g8h4s9py.js → plugin-k0r5d45h.js} +5 -5
- package/dist/chunks/{file-retention-y65z2yc1.js → plugin-k618byr3.js} +17 -17
- package/dist/chunks/{file-retention-k70p9jzb.js → plugin-k70p9jzb.js} +2 -2
- package/dist/chunks/{file-retention-697fm79x.js → plugin-kb6vbnxp.js} +4 -4
- package/dist/chunks/{file-retention-e053pdg9.js → plugin-kem2dng2.js} +33 -33
- package/dist/chunks/{file-retention-t80nve53.js → plugin-khhk3gee.js} +9 -9
- package/dist/chunks/{file-retention-vazhwx36.js → plugin-kjdm35cs.js} +5 -5
- package/dist/chunks/{file-retention-wv99ph99.js → plugin-kk5na4ms.js} +3 -3
- package/dist/chunks/{file-retention-z9jgckgc.js → plugin-kqzb879x.js} +25 -25
- package/dist/chunks/{file-retention-ma0f636y.js → plugin-ksr3qje0.js} +14 -9
- package/dist/chunks/{file-retention-a1095nc3.js → plugin-ktyrkyt5.js} +13 -13
- package/dist/chunks/{file-retention-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-y45w4r2r.js → plugin-m4wv7hmr.js} +16 -16
- package/dist/chunks/{file-retention-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-9gvqmzxk.js → plugin-mccvx0ph.js} +10 -10
- package/dist/chunks/{file-retention-qqrjxc2w.js → plugin-mdvte9fh.js} +12 -12
- package/dist/chunks/{file-retention-krg3ta3s.js → plugin-mk89bcdm.js} +10 -10
- package/dist/chunks/{file-retention-fk670htj.js → plugin-mmq86yx8.js} +24 -24
- package/dist/chunks/{file-retention-5epte933.js → plugin-my4zabxr.js} +2 -2
- package/dist/chunks/{file-retention-57errdhv.js → plugin-n11bbmz5.js} +4 -4
- package/dist/chunks/{file-retention-n9k80d2m.js → plugin-nj1j17x6.js} +8 -8
- package/dist/chunks/{file-retention-qwrqq5be.js → plugin-nnjbqqpn.js} +10 -10
- package/dist/chunks/{file-retention-vw1pxqrh.js → plugin-nqa2gsff.js} +11 -11
- package/dist/chunks/{file-retention-dpkg50ah.js → plugin-nxm207yx.js} +4 -4
- package/dist/chunks/{file-retention-zfaa1m6t.js → plugin-nxnchq8r.js} +14 -14
- package/dist/chunks/{file-retention-pm9geeax.js → plugin-nzh5psd4.js} +9 -9
- package/dist/chunks/{file-retention-ypbz4tzh.js → plugin-pcfe7wwq.js} +5 -5
- package/dist/chunks/{file-retention-stsn5t8w.js → plugin-pfpr1sg6.js} +13 -13
- package/dist/chunks/{file-retention-wgka6yms.js → plugin-pfybfzrt.js} +19 -19
- package/dist/chunks/{file-retention-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-y15vpdnr.js → plugin-pnkbpv6t.js} +9 -9
- package/dist/chunks/{file-retention-rat4bpn3.js → plugin-q41hpyd6.js} +29 -29
- package/dist/chunks/{file-retention-pd3frt8f.js → plugin-q5fbr5p5.js} +5 -5
- package/dist/chunks/{file-retention-33166y9b.js → plugin-q9nhy42k.js} +31 -31
- package/dist/chunks/{file-retention-2nxxjbx2.js → plugin-qce0q5sw.js} +8 -8
- package/dist/chunks/{file-retention-fhz5gfgy.js → plugin-qdbakdjh.js} +5 -5
- package/dist/chunks/{file-retention-t785n9z2.js → plugin-qj2xshqj.js} +30 -30
- package/dist/chunks/{file-retention-zy3hk2a4.js → plugin-qj750ez4.js} +4 -4
- package/dist/chunks/{file-retention-pvb1tgyf.js → plugin-qkn17avs.js} +9 -9
- package/dist/chunks/{file-retention-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-retention-zmr78fwr.js → plugin-qne3fa44.js} +5 -5
- package/dist/chunks/{file-retention-b1jpbdrv.js → plugin-qq2xhrb8.js} +41 -41
- package/dist/chunks/{file-retention-2m8jawch.js → plugin-qr25pfvb.js} +4 -4
- package/dist/chunks/{file-retention-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-xyafkbt0.js → plugin-qxjc9qry.js} +3 -3
- package/dist/chunks/{file-retention-qygbw77c.js → plugin-qygbw77c.js} +2 -2
- package/dist/chunks/{file-retention-ax0xj8rw.js → plugin-r9f8m4wv.js} +14 -14
- package/dist/chunks/{file-retention-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-mw1bpke0.js → plugin-rk6z8b2s.js} +33 -33
- package/dist/chunks/{file-retention-5ykye0sw.js → plugin-s607qcgc.js} +24 -24
- package/dist/chunks/{file-retention-ngzfrjhk.js → plugin-sqhwqkv8.js} +18 -18
- package/dist/chunks/{file-retention-848ay80d.js → plugin-sr4k8heh.js} +7 -7
- package/dist/chunks/{file-retention-13wr99d4.js → plugin-svf1j9mj.js} +16 -16
- package/dist/chunks/{file-retention-hg0myvjy.js → plugin-sw2ky0ak.js} +22 -22
- package/dist/chunks/{file-retention-sd5f6jdk.js → plugin-sxzvkvgj.js} +6 -6
- package/dist/chunks/{file-retention-hzwpgbhq.js → plugin-t01ewf6t.js} +11 -11
- package/dist/chunks/{file-retention-a1dpt3w1.js → plugin-t03g005h.js} +8 -8
- package/dist/chunks/{file-retention-t550f9t1.js → plugin-t550f9t1.js} +1 -1
- package/dist/chunks/{file-retention-qq827dyh.js → plugin-t5n9kkmz.js} +6 -6
- package/dist/chunks/{file-retention-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-9hb60gjr.js → plugin-tc91rda6.js} +9 -9
- package/dist/chunks/{file-retention-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-ymkva6fh.js → plugin-tefzd8kx.js} +28 -28
- package/dist/chunks/{file-retention-v5xqqhk9.js → plugin-ty9x2hpf.js} +19 -19
- package/dist/chunks/{file-retention-6z3bvhcz.js → plugin-v9b8r7m3.js} +12 -12
- package/dist/chunks/{file-retention-kzxyyqqs.js → plugin-v9gryrmc.js} +76 -76
- package/dist/chunks/{file-retention-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-e3dcjyq4.js → plugin-vvr3dw31.js} +10 -10
- package/dist/chunks/{file-retention-xpj445q7.js → plugin-vx4r8km3.js} +28 -28
- package/dist/chunks/{file-retention-9jgrbctr.js → plugin-vynkv33f.js} +13 -13
- package/dist/chunks/{file-retention-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-yrd2sane.js → plugin-w05x0cfw.js} +6 -6
- package/dist/chunks/{file-retention-dy8qh9xy.js → plugin-w1ad28wa.js} +5 -5
- package/dist/chunks/{file-retention-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-t0v7bfqb.js → plugin-w7m571bh.js} +32 -32
- package/dist/chunks/{file-retention-ttgz6xng.js → plugin-w808e159.js} +18 -18
- package/dist/chunks/{file-retention-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-5ae5pymj.js → plugin-wp1hpspq.js} +6 -6
- package/dist/chunks/{file-retention-addxnjmp.js → plugin-x661k3y3.js} +4 -4
- package/dist/chunks/{file-retention-k11a9bb6.js → plugin-x88jpnpr.js} +21 -21
- package/dist/chunks/{file-retention-xfkkasph.js → plugin-xfkkasph.js} +1 -1
- package/dist/chunks/{file-retention-dmqcgk4z.js → plugin-xkntkrq7.js} +5 -5
- package/dist/chunks/{file-retention-95833ddw.js → plugin-xkt82cda.js} +21 -21
- package/dist/chunks/{file-retention-zmphxn8h.js → plugin-xqsx1vwf.js} +31 -31
- package/dist/chunks/{file-retention-27yxxq2c.js → plugin-xt0fd68y.js} +13 -13
- package/dist/chunks/{file-retention-xeng5h15.js → plugin-xw9z83sh.js} +55 -55
- package/dist/chunks/{file-retention-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-jnx78pdv.js → plugin-y630p9sc.js} +23 -23
- package/dist/chunks/{file-retention-rxgdtc18.js → plugin-y7nnagj6.js} +30 -30
- package/dist/chunks/{file-retention-amxv2bkz.js → plugin-ydkmjtsm.js} +11 -11
- package/dist/chunks/{file-retention-1k9vww9s.js → plugin-ydrgdh5s.js} +21 -21
- package/dist/chunks/{file-retention-xesmd8aj.js → plugin-yfh8cgan.js} +9 -9
- package/dist/chunks/{file-retention-hjqkwgk2.js → plugin-ygkw9vpb.js} +14 -14
- package/dist/chunks/{file-retention-1acjjqhc.js → plugin-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-retention-prq7hedt.js → plugin-yr715y08.js} +9 -9
- package/dist/chunks/{file-retention-xf1w3e7t.js → plugin-yrh23yf8.js} +15 -15
- package/dist/chunks/{file-retention-a9j2r79z.js → plugin-yrqbh8b0.js} +20 -20
- package/dist/chunks/{file-retention-2v1t43t7.js → plugin-yt1qgzdm.js} +10 -10
- package/dist/chunks/{file-retention-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-mek16e5d.js → plugin-z4ev155g.js} +11 -11
- package/dist/chunks/{file-retention-qh5zdhhs.js → plugin-z5rqpkns.js} +35 -35
- package/dist/chunks/{file-retention-732xvhct.js → plugin-zdpsxmh8.js} +38 -38
- package/dist/chunks/{file-retention-6efb5sa0.js → plugin-zg6rd06s.js} +11 -11
- package/dist/chunks/{file-retention-z2yservp.js → plugin-znfvst1a.js} +3 -3
- package/dist/chunks/{file-retention-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-vgmzs5ge.js → plugin-zz5k72w4.js} +20 -20
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +132 -132
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- 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 +363 -363
- 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 +72 -72
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- 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 +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +2 -2
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- 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 +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +92 -87
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- 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 +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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 +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +91 -91
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +151 -151
- 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 +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- 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 +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1238 -682
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +114 -114
- 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 +126 -126
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/mcp/oauth.d.ts +1 -10
- package/dist/types/shell/scan.d.ts +2 -1
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/file-retention-esnfnt1j.js +0 -507
- package/dist/chunks/file-retention-pf31ssb9.js +0 -18
- package/dist/chunks/file-retention-t8fqbehz.js +0 -253
- package/dist/chunks/file-retention-yyn9wyjq.js +0 -26
- /package/dist/chunks/{file-retention-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3t0ybcrp.js → plugin-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e3qxr5gk.js → plugin-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node85
|
|
4
|
+
} from "./plugin-39sy8z68.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node82
|
|
8
|
+
} from "./plugin-js9gsb9m.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service56,
|
|
14
|
+
node58
|
|
15
|
+
} from "./plugin-nxnchq8r.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -37,8 +37,8 @@ class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
|
37
37
|
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service56;
|
|
41
|
+
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node85, FSUtil.node, node82, node58]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service11, node13, exports_instructions };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./plugin-sxzvkvgj.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-by5v678g.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-w05x0cfw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./plugin-tefzd8kx.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service42;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service53), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node85
|
|
7
|
+
} from "./plugin-39sy8z68.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service77,
|
|
11
|
+
node80
|
|
12
|
+
} from "./plugin-3r80836k.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node82
|
|
16
|
+
} from "./plugin-js9gsb9m.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service64,
|
|
19
|
+
node66
|
|
20
|
+
} from "./plugin-4bcaa4pk.js";
|
|
21
21
|
import {
|
|
22
22
|
ID15,
|
|
23
|
-
|
|
23
|
+
Service78,
|
|
24
24
|
node81
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./plugin-jgj04qff.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./plugin-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service76,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
node79
|
|
35
|
+
} from "./plugin-zz5k72w4.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./plugin-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service29,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer11,
|
|
57
|
+
node: () => node33
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service29 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer11 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const environment = yield* Service64;
|
|
117
117
|
const bus = yield* Service82;
|
|
118
|
-
const forms = yield*
|
|
118
|
+
const forms = yield* Service78;
|
|
119
119
|
const integration = yield* Service76;
|
|
120
|
-
const credentials = yield*
|
|
120
|
+
const credentials = yield* Service77;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID13.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,14 +154,14 @@ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError4({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
@@ -269,7 +269,7 @@ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
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(
|
|
272
|
+
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(Service64, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service29.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service29,
|
|
536
|
+
layer: layer11(options),
|
|
537
|
+
deps: [node82, node66, node85, node81, node79, node80]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node33 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service29, Options3, layer11, configured3, node33, exports_mcp4 };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
node87
|
|
10
|
-
} from "./file-retention-qqrjxc2w.js";
|
|
11
|
-
import {
|
|
12
|
-
Service80,
|
|
8
|
+
Service81,
|
|
13
9
|
node84
|
|
14
|
-
} from "./
|
|
10
|
+
} from "./plugin-mdvte9fh.js";
|
|
11
|
+
import {
|
|
12
|
+
Service79,
|
|
13
|
+
node82
|
|
14
|
+
} from "./plugin-js9gsb9m.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./plugin-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service37,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node40,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service37 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node40 = makeLocationNode({
|
|
144
|
+
service: Service37,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service63, Service63.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service37, node40, noopLayer2, exports_snapshot2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node66
|
|
9
|
+
} from "./plugin-4bcaa4pk.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-acqz3eas.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
|
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
333
|
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
334
|
-
const environment = yield*
|
|
334
|
+
const environment = yield* Service64;
|
|
335
335
|
return Service6.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var node7 = makeLocationNode({ service: Service6, layer, deps: [
|
|
340
|
+
var node7 = makeLocationNode({ service: Service6, layer, deps: [node66] });
|
|
341
341
|
|
|
342
342
|
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node7, exports_read_filesystem };
|