@opencode-ai/core 0.0.0-dev-19145 → 0.0.0-dev-19147
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{file-mutation-zset28aw.js → bus-03pcvst5.js} +79 -79
- package/dist/chunks/{file-mutation-shfaz11f.js → bus-03vfzkzq.js} +4 -4
- package/dist/chunks/{file-mutation-4b1sg654.js → bus-07zcvmjy.js} +13 -13
- package/dist/chunks/{file-mutation-4j4x9s5w.js → bus-09zpxraa.js} +24 -24
- package/dist/chunks/{file-mutation-99vgbsyy.js → bus-0b89de78.js} +5 -5
- package/dist/chunks/{file-mutation-0e0xafbb.js → bus-0e0xafbb.js} +2 -2
- package/dist/chunks/{file-mutation-t0h3w515.js → bus-0h456tg2.js} +11 -11
- package/dist/chunks/{file-mutation-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-k8feg6vv.js → bus-0rag4e4f.js} +4 -4
- package/dist/chunks/{file-mutation-ev7pq6rs.js → bus-0rh3kdcc.js} +5 -5
- package/dist/chunks/{file-mutation-0s9ayhjt.js → bus-0s9ayhjt.js} +1 -1
- package/dist/chunks/{file-mutation-3tv1tpm6.js → bus-0xt1haj6.js} +29 -29
- package/dist/chunks/{file-mutation-js2ntk6a.js → bus-17yxvw7z.js} +13 -13
- package/dist/chunks/{file-mutation-81x7eskd.js → bus-1b65ws7n.js} +9 -9
- package/dist/chunks/{file-mutation-1ct4r87x.js → bus-1ct4r87x.js} +1 -1
- package/dist/chunks/{file-mutation-b8ae5phz.js → bus-1fgw4mms.js} +10 -10
- package/dist/chunks/{file-mutation-tbhfrc53.js → bus-1msc25r1.js} +16 -16
- package/dist/chunks/{file-mutation-qrpj1s4j.js → bus-20mqg84x.js} +26 -26
- package/dist/chunks/{file-mutation-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-2402vzrj.js → bus-2402vzrj.js} +1 -1
- package/dist/chunks/{file-mutation-0egemd82.js → bus-259mvakt.js} +9 -9
- package/dist/chunks/{file-mutation-k7g5btme.js → bus-265py6yv.js} +165 -165
- package/dist/chunks/{file-mutation-9xpfpwey.js → bus-284cjhsv.js} +5 -5
- package/dist/chunks/{file-mutation-29x78va6.js → bus-29x78va6.js} +2 -2
- package/dist/chunks/{file-mutation-rae26gbb.js → bus-2a1acymz.js} +8 -8
- package/dist/chunks/{file-mutation-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-kxnt8qcg.js → bus-2ady357n.js} +5 -5
- package/dist/chunks/{file-mutation-k0wt6c02.js → bus-2b6cd4q1.js} +15 -15
- package/dist/chunks/{file-mutation-2sk5e31d.js → bus-2cqzd7yz.js} +27 -27
- package/dist/chunks/{file-mutation-xz6pmd8f.js → bus-2frbs4n5.js} +15 -15
- package/dist/chunks/{file-mutation-9zg8we79.js → bus-2h28fvw8.js} +20 -20
- package/dist/chunks/{file-mutation-2ht70gj7.js → bus-2ht70gj7.js} +1 -1
- package/dist/chunks/{file-mutation-2jqmte8w.js → bus-2jqmte8w.js} +2 -2
- package/dist/chunks/{file-mutation-8xta96ty.js → bus-2yvtpd40.js} +6 -6
- package/dist/chunks/{file-mutation-2t77ycv7.js → bus-3a0173zm.js} +21 -21
- package/dist/chunks/{file-mutation-jc9sh6gt.js → bus-3c7wsmqc.js} +20 -20
- package/dist/chunks/{file-mutation-qhmvtman.js → bus-3epwwbr6.js} +4 -4
- package/dist/chunks/{file-mutation-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-3qzbfqsy.js → bus-3qzbfqsy.js} +2 -2
- package/dist/chunks/{file-mutation-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-vjwmbaty.js → bus-4070pg8x.js} +12 -12
- package/dist/chunks/{file-mutation-qbyj8qxd.js → bus-42my878b.js} +1 -1
- package/dist/chunks/{file-mutation-2ed8104q.js → bus-4375bpmc.js} +46 -46
- package/dist/chunks/{file-mutation-zc50sfb7.js → bus-43a3yqcx.js} +8 -8
- package/dist/chunks/{file-mutation-y3f9wfx6.js → bus-44xps6y5.js} +19 -19
- package/dist/chunks/{file-mutation-454k5vzh.js → bus-454k5vzh.js} +1 -1
- package/dist/chunks/{file-mutation-mpsa3nes.js → bus-4dgqkt2g.js} +12 -12
- package/dist/chunks/{file-mutation-4r2nyarf.js → bus-4r2nyarf.js} +1 -1
- package/dist/chunks/{file-mutation-kx4bd44t.js → bus-4z9k8dmg.js} +6 -6
- package/dist/chunks/{file-mutation-raxt0ax7.js → bus-52a4zrsn.js} +9 -9
- package/dist/chunks/{file-mutation-n79tw2ag.js → bus-52zbkqaa.js} +10 -10
- package/dist/chunks/{file-mutation-j67hz4sr.js → bus-5bhqk8rd.js} +28 -28
- package/dist/chunks/{file-mutation-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-t2ddn6kb.js → bus-5f9czyyy.js} +36 -36
- package/dist/chunks/{file-mutation-5fmxt4p5.js → bus-5fmxt4p5.js} +1 -1
- package/dist/chunks/{file-mutation-2kq45tcm.js → bus-5jra4smz.js} +12 -12
- package/dist/chunks/{file-mutation-5jvc5tg2.js → bus-5jvc5tg2.js} +1 -1
- package/dist/chunks/{file-mutation-y07pc62d.js → bus-5jwc40bw.js} +11 -11
- package/dist/chunks/{file-mutation-ez5b8bq3.js → bus-5sg4xzjf.js} +7 -7
- package/dist/chunks/{file-mutation-sjnqgbe6.js → bus-5ws6ykpz.js} +11 -11
- package/dist/chunks/{file-mutation-ttq12bnp.js → bus-5zf78s6r.js} +17 -17
- package/dist/chunks/{file-mutation-sxhwk0c0.js → bus-61qb9z8b.js} +4 -4
- package/dist/chunks/{file-mutation-fz1pdqz4.js → bus-637qq8n2.js} +9 -9
- package/dist/chunks/{file-mutation-wwr3ap19.js → bus-68mhmgnx.js} +21 -21
- package/dist/chunks/{file-mutation-xspyb9m3.js → bus-6926ty5t.js} +8 -8
- package/dist/chunks/{file-mutation-cpy6gm2a.js → bus-6anwy9fs.js} +5 -5
- package/dist/chunks/{file-mutation-5dh6cndq.js → bus-6b7g3hjv.js} +16 -16
- package/dist/chunks/{file-mutation-v28ws7kz.js → bus-6bngq4h8.js} +13 -13
- package/dist/chunks/{file-mutation-mtcjf44p.js → bus-6e958v7x.js} +4 -4
- package/dist/chunks/{file-mutation-4wbn6k17.js → bus-6nd3jhcq.js} +9 -9
- package/dist/chunks/{file-mutation-5c2dffx6.js → bus-6s6g893m.js} +31 -31
- package/dist/chunks/{file-mutation-3x6030n9.js → bus-711hfp6y.js} +2 -2
- package/dist/chunks/{file-mutation-72nftnjy.js → bus-72nftnjy.js} +2 -2
- package/dist/chunks/{file-mutation-tdpndm1c.js → bus-762r0j46.js} +5 -5
- package/dist/chunks/{file-mutation-7ng7exzm.js → bus-79xc10f4.js} +1 -1
- package/dist/chunks/{file-mutation-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-jzvq323k.js → bus-7d0gqbxc.js} +50 -50
- package/dist/chunks/{file-mutation-7dqw4kz8.js → bus-7dqw4kz8.js} +1 -1
- package/dist/chunks/bus-7fj5dwt0.js +18 -0
- package/dist/chunks/{file-mutation-q732cfnv.js → bus-7jrdpkxe.js} +15 -15
- package/dist/chunks/{file-mutation-fmf5kng9.js → bus-7npscw6y.js} +26 -26
- package/dist/chunks/{file-mutation-crdp7enc.js → bus-7qwqjxd9.js} +25 -25
- package/dist/chunks/{file-mutation-986p65m9.js → bus-7tfg2zmn.js} +5 -5
- package/dist/chunks/{file-mutation-sm2vbrgr.js → bus-7xhvt7yp.js} +8 -8
- package/dist/chunks/{file-mutation-j8swj2w1.js → bus-7z3nt2ce.js} +11 -11
- package/dist/chunks/{file-mutation-y724s5yt.js → bus-8gq481r1.js} +4 -4
- package/dist/chunks/{file-mutation-1ypdbbt4.js → bus-8q7h2c8p.js} +43 -43
- package/dist/chunks/{file-mutation-9pk3p303.js → bus-8qyy1b3c.js} +8 -8
- package/dist/chunks/{file-mutation-3ty3h0mk.js → bus-8r8pj8zm.js} +6 -6
- package/dist/chunks/{file-mutation-c47pbdfk.js → bus-8vv3f8em.js} +32 -32
- package/dist/chunks/{file-mutation-gb73cz2w.js → bus-8xt7sm9n.js} +21 -21
- package/dist/chunks/{file-mutation-txaenkad.js → bus-91cyfgge.js} +24 -24
- package/dist/chunks/{file-mutation-hhpzk61m.js → bus-93a8yfjt.js} +2 -2
- package/dist/chunks/{file-mutation-ntfpb4pt.js → bus-9b06darc.js} +11 -11
- package/dist/chunks/{file-mutation-k0g96r8n.js → bus-9bfj2s2r.js} +4 -4
- package/dist/chunks/{file-mutation-4y9q5fy2.js → bus-9k25nmjt.js} +8 -8
- package/dist/chunks/{file-mutation-7cnkxtbd.js → bus-9nmeg6hb.js} +9 -9
- package/dist/chunks/{file-mutation-qvbcabdc.js → bus-9qm9egsn.js} +2 -2
- package/dist/chunks/{file-mutation-r062cge9.js → bus-9wht8j3f.js} +39 -39
- package/dist/chunks/{file-mutation-pv0a80ht.js → bus-a3pkwgfm.js} +28 -28
- package/dist/chunks/{file-mutation-babn4frh.js → bus-a43mdqrv.js} +9 -9
- package/dist/chunks/{file-mutation-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-shp7mea9.js → bus-ajnaheqp.js} +7 -7
- package/dist/chunks/{file-mutation-yg7sb877.js → bus-ajtjthsy.js} +2 -2
- package/dist/chunks/{file-mutation-a2ew8a62.js → bus-at5d07az.js} +4 -4
- package/dist/chunks/{file-mutation-z48dvxa8.js → bus-axm2fcy6.js} +1 -1
- package/dist/chunks/{file-mutation-v8gy3pjr.js → bus-b0z70ywn.js} +1 -1
- package/dist/chunks/{file-mutation-rx48f0w5.js → bus-b2txezd7.js} +39 -39
- package/dist/chunks/{file-mutation-tnxkc6a0.js → bus-b4vs7y8k.js} +34 -34
- package/dist/chunks/{file-mutation-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-b9wsbatv.js → bus-b9wsbatv.js} +1 -1
- package/dist/chunks/{file-mutation-9rye7j78.js → bus-bb34vnzf.js} +3 -3
- package/dist/chunks/{file-mutation-dnys7mv6.js → bus-bdamf7mc.js} +3 -3
- package/dist/chunks/{file-mutation-dfe8djrf.js → bus-bf0ztrs3.js} +4 -4
- package/dist/chunks/{file-mutation-dyqxbeha.js → bus-bpn6w613.js} +11 -11
- package/dist/chunks/{file-mutation-bgt6msk1.js → bus-bqarnab4.js} +2 -2
- package/dist/chunks/{file-mutation-nx7brarr.js → bus-bwpeshzr.js} +4 -4
- package/dist/chunks/{file-mutation-4kda9sbw.js → bus-c1j5nedx.js} +7 -7
- package/dist/chunks/{file-mutation-76smfv87.js → bus-c5vv46vd.js} +7 -7
- package/dist/chunks/{file-mutation-1kvgva6x.js → bus-cdxszh4j.js} +24 -24
- package/dist/chunks/{file-mutation-cdra1vae.js → bus-cq7yjxs1.js} +11 -11
- package/dist/chunks/{file-mutation-cq7p734r.js → bus-cvy9v8nj.js} +23 -23
- package/dist/chunks/{file-mutation-9vjz8vaq.js → bus-d24yjw8z.js} +16 -16
- package/dist/chunks/{file-mutation-326th3fr.js → bus-d6w6mh1h.js} +11 -11
- package/dist/chunks/{file-mutation-g2gt0w0k.js → bus-d72308c8.js} +2 -2
- package/dist/chunks/{file-mutation-n29tzj9t.js → bus-d9hh4vk8.js} +20 -20
- package/dist/chunks/{file-mutation-ftvhvnyg.js → bus-dc9zs5sz.js} +87 -87
- package/dist/chunks/{file-mutation-3ks4yd53.js → bus-dcng8tk8.js} +9 -9
- package/dist/chunks/{file-mutation-dkvwewr4.js → bus-dkcyx3p2.js} +18 -18
- package/dist/chunks/bus-e6s7x5n1.js +460 -0
- package/dist/chunks/{file-mutation-pv1dbmgw.js → bus-e80n2ttq.js} +11 -11
- package/dist/chunks/{file-mutation-f12kng77.js → bus-etgsznzg.js} +5 -5
- package/dist/chunks/{file-mutation-06zhcttw.js → bus-ewvsw10p.js} +10 -10
- package/dist/chunks/{file-mutation-z7e42eas.js → bus-f1195tme.js} +20 -20
- package/dist/chunks/{file-mutation-cv89hz1h.js → bus-f3zf6xc6.js} +32 -32
- package/dist/chunks/{file-mutation-pjvn5h54.js → bus-f4g7wt00.js} +12 -12
- package/dist/chunks/{file-mutation-q1v8m6jv.js → bus-fay0kx6k.js} +11 -11
- package/dist/chunks/{file-mutation-f9x6rp1j.js → bus-fhvjqr7f.js} +1 -1
- package/dist/chunks/{file-mutation-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-fxypknc8.js → bus-fxypknc8.js} +1 -1
- package/dist/chunks/{file-mutation-4d0qyyca.js → bus-g0mjj0rj.js} +29 -29
- package/dist/chunks/{file-mutation-64z8z5x5.js → bus-g19vc6v7.js} +6 -6
- package/dist/chunks/{file-mutation-f36g7wv5.js → bus-g75w3dx0.js} +16 -16
- package/dist/chunks/{file-mutation-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-9ghjyck9.js → bus-gghn6ddw.js} +19 -19
- package/dist/chunks/{file-mutation-bby8cgbn.js → bus-h4v2a5qn.js} +5 -5
- package/dist/chunks/{file-mutation-6kza5psa.js → bus-h5pkretn.js} +26 -26
- package/dist/chunks/{file-mutation-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-g20rb2e2.js → bus-h71tptf3.js} +15 -15
- package/dist/chunks/{file-mutation-r3xt2kax.js → bus-h94by419.js} +14 -14
- package/dist/chunks/{file-mutation-17yyz20s.js → bus-h983e39c.js} +21 -21
- package/dist/chunks/{file-mutation-heyhwy2w.js → bus-heyhwy2w.js} +1 -1
- package/dist/chunks/{file-mutation-hfr11a94.js → bus-hfr11a94.js} +2 -2
- package/dist/chunks/{file-mutation-g2dy4bvs.js → bus-hrvm11jt.js} +3 -3
- package/dist/chunks/{file-mutation-txtxjcd6.js → bus-hrxre78j.js} +15 -15
- package/dist/chunks/{file-mutation-z7zpek7w.js → bus-hs6cevvz.js} +11 -11
- package/dist/chunks/{file-mutation-enamxrz2.js → bus-htsdw4aq.js} +2 -2
- package/dist/chunks/{file-mutation-hx63qw1f.js → bus-j8e2hagy.js} +44 -44
- package/dist/chunks/{file-mutation-d2peqda8.js → bus-j8vtfwgc.js} +25 -25
- package/dist/chunks/{file-mutation-a975ej57.js → bus-j8yzmn16.js} +25 -25
- package/dist/chunks/{file-mutation-gq2dhm0f.js → bus-jayphp49.js} +6 -6
- package/dist/chunks/{file-mutation-hnyf01b0.js → bus-je9hks3h.js} +5 -5
- package/dist/chunks/{file-mutation-w9q489q5.js → bus-jg6xgb04.js} +18 -18
- package/dist/chunks/{file-mutation-ykv0c0be.js → bus-jmprf74n.js} +36 -36
- package/dist/chunks/{file-mutation-s4z7bqeh.js → bus-jn4cksvw.js} +60 -60
- package/dist/chunks/{file-mutation-7nxyxket.js → bus-jp5dra8g.js} +1 -1
- package/dist/chunks/{file-mutation-mcx7a78c.js → bus-jp5mwzrf.js} +18 -18
- package/dist/chunks/{file-mutation-yhtqjkzd.js → bus-jpg38yrs.js} +6 -6
- package/dist/chunks/{file-mutation-zwj404z1.js → bus-jtrm4nst.js} +32 -32
- package/dist/chunks/{file-mutation-jwcy2c2z.js → bus-jwcy2c2z.js} +1 -1
- package/dist/chunks/{file-mutation-txs58e9j.js → bus-jy6mxw71.js} +33 -33
- package/dist/chunks/{file-mutation-5xeyd98q.js → bus-jzrg40z5.js} +13 -13
- package/dist/chunks/{file-mutation-k4bwy1x5.js → bus-k4bwy1x5.js} +1 -1
- package/dist/chunks/{file-mutation-dsstwbg7.js → bus-k4cpqqjy.js} +8 -8
- package/dist/chunks/{file-mutation-yp0nmk3h.js → bus-k4kachtf.js} +20 -20
- package/dist/chunks/{file-mutation-kg06axw8.js → bus-kg06axw8.js} +1 -1
- package/dist/chunks/{file-mutation-c2sa0bfw.js → bus-kr6c5hfe.js} +11 -11
- package/dist/chunks/{file-mutation-kvsjn1dr.js → bus-kvsjn1dr.js} +2 -2
- package/dist/chunks/{file-mutation-e6v427vd.js → bus-m7nqr3y1.js} +2 -2
- package/dist/chunks/{file-mutation-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/bus-mf5kcrna.js +4 -0
- package/dist/chunks/{file-mutation-mvfsc1pv.js → bus-mhkvc446.js} +3 -3
- package/dist/chunks/bus-mp49ea6v.js +22 -0
- package/dist/chunks/{file-mutation-sr4h8txr.js → bus-mstaf5wp.js} +4 -4
- package/dist/chunks/{file-mutation-7w3s9kd0.js → bus-n8c291r7.js} +6 -6
- package/dist/chunks/{file-mutation-ptrtafvx.js → bus-ne88a073.js} +11 -11
- package/dist/chunks/{file-mutation-73dc4en3.js → bus-nq27d7ck.js} +9 -9
- package/dist/chunks/{file-mutation-pez43mez.js → bus-nqq6exsp.js} +9 -9
- package/dist/chunks/{file-mutation-5aa0x91g.js → bus-nxbee6yf.js} +30 -30
- package/dist/chunks/{file-mutation-xkc72jxy.js → bus-p4vv2etq.js} +10 -10
- package/dist/chunks/{file-mutation-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-45b1kca6.js → bus-pnybsy69.js} +25 -25
- package/dist/chunks/{file-mutation-6nd37hr3.js → bus-pqrjcscw.js} +17 -17
- package/dist/chunks/{file-mutation-zez4nnyf.js → bus-pwp32wtj.js} +10 -10
- package/dist/chunks/{file-mutation-ba9wjnjy.js → bus-q2tms32v.js} +8 -8
- package/dist/chunks/{file-mutation-2s6dtgtx.js → bus-qhr29g4e.js} +35 -35
- package/dist/chunks/{file-mutation-01vtss9b.js → bus-qmth3j02.js} +7 -7
- package/dist/chunks/{file-mutation-9g2qkkxg.js → bus-qmw0r92f.js} +27 -27
- package/dist/chunks/{file-mutation-3gvz0573.js → bus-qr77fm55.js} +10 -10
- package/dist/chunks/{file-mutation-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-kkxc5154.js → bus-r0msr716.js} +4 -4
- package/dist/chunks/{file-mutation-mfv0zw27.js → bus-r5w2ssxe.js} +9 -9
- package/dist/chunks/{file-mutation-6dqhqmxd.js → bus-r64qmg5x.js} +10 -10
- package/dist/chunks/{file-mutation-r8dhm0tv.js → bus-r8dhm0tv.js} +1 -1
- package/dist/chunks/{file-mutation-tmd7jntm.js → bus-rbrvrbf2.js} +26 -26
- package/dist/chunks/{file-mutation-119my715.js → bus-rcjsbsfn.js} +17 -17
- package/dist/chunks/{file-mutation-22xjknbc.js → bus-reajtcty.js} +18 -18
- package/dist/chunks/{file-mutation-91x3tn6q.js → bus-rjg60sz9.js} +15 -15
- package/dist/chunks/{file-mutation-kx181zyf.js → bus-rq5svkab.js} +47 -47
- package/dist/chunks/{file-mutation-etamtscj.js → bus-rrzd4gct.js} +5 -5
- package/dist/chunks/{file-mutation-apjnhj61.js → bus-rv49c601.js} +3 -3
- package/dist/chunks/{file-mutation-h6hfrtqv.js → bus-rw9zkh5y.js} +15 -15
- package/dist/chunks/{file-mutation-cq35m6me.js → bus-rxbdfnq0.js} +3 -3
- package/dist/chunks/{file-mutation-6h02bg3y.js → bus-s357kp59.js} +17 -17
- package/dist/chunks/{file-mutation-pcsdq11k.js → bus-s7xce10k.js} +18 -18
- package/dist/chunks/{file-mutation-sba4qhjf.js → bus-sba4qhjf.js} +1 -1
- package/dist/chunks/{file-mutation-sbnvhk9g.js → bus-sbnvhk9g.js} +1 -1
- package/dist/chunks/{file-mutation-bbngg50h.js → bus-sdsms561.js} +18 -18
- package/dist/chunks/{file-mutation-0tqc2v94.js → bus-sdvg309b.js} +3 -3
- package/dist/chunks/{file-mutation-45a3e49b.js → bus-se8jsmsp.js} +6 -6
- package/dist/chunks/{file-mutation-g75qfjc9.js → bus-sgr2ma5w.js} +44 -44
- package/dist/chunks/{file-mutation-mfzandgw.js → bus-shktkm8e.js} +22 -22
- package/dist/chunks/{file-mutation-pd4v9smd.js → bus-sktsn1jv.js} +13 -13
- package/dist/chunks/{file-mutation-ww2ebcpy.js → bus-sms7kmhw.js} +7 -7
- package/dist/chunks/{file-mutation-k9tare26.js → bus-sqmwq5mx.js} +22 -22
- package/dist/chunks/{file-mutation-13fpjj1h.js → bus-sqsf8ez3.js} +20 -20
- package/dist/chunks/{file-mutation-z3s9j4q6.js → bus-t00v3gkt.js} +12 -12
- package/dist/chunks/{file-mutation-zzjwypeh.js → bus-t1zpr9sn.js} +6 -6
- package/dist/chunks/{file-mutation-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tjykrgmx.js → bus-tjykrgmx.js} +1 -1
- package/dist/chunks/{file-mutation-hpbtcqba.js → bus-tppvcy65.js} +9 -9
- package/dist/chunks/{file-mutation-0vyk9fdn.js → bus-ty85120y.js} +39 -39
- package/dist/chunks/{file-mutation-xdff1234.js → bus-v124ymdv.js} +54 -54
- package/dist/chunks/{file-mutation-2c009s0k.js → bus-vcxn1vs0.js} +26 -26
- package/dist/chunks/{file-mutation-vaqgp3x5.js → bus-vg7z0tv3.js} +10 -10
- package/dist/chunks/{file-mutation-7rzac2j8.js → bus-vja40awy.js} +15 -15
- package/dist/chunks/{file-mutation-9295dqc9.js → bus-vkpagyjs.js} +11 -11
- package/dist/chunks/{file-mutation-mv29cp6n.js → bus-vnxss00g.js} +23 -23
- package/dist/chunks/{file-mutation-7ry09vv5.js → bus-vwwkt776.js} +3 -3
- package/dist/chunks/{file-mutation-6abnk40k.js → bus-w3jym6ha.js} +6 -6
- package/dist/chunks/{file-mutation-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-7bh11fvr.js → bus-w9qr98xp.js} +24 -24
- package/dist/chunks/{file-mutation-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/bus-wehvdrgf.js +247 -0
- package/dist/chunks/{file-mutation-ts6w764v.js → bus-x0vtmq93.js} +8 -8
- package/dist/chunks/{file-mutation-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-n9bnhgwz.js → bus-x727j1wn.js} +17 -17
- package/dist/chunks/{file-mutation-dek5y14m.js → bus-x9bn8htz.js} +4 -4
- package/dist/chunks/{file-mutation-440fe95r.js → bus-xas2870y.js} +25 -25
- package/dist/chunks/{file-mutation-qzgw1bvz.js → bus-xp39whtd.js} +19 -19
- package/dist/chunks/{file-mutation-eesgpqrv.js → bus-xraeeqg3.js} +16 -16
- package/dist/chunks/{file-mutation-52exjygq.js → bus-xrevt9hr.js} +20 -20
- package/dist/chunks/{file-mutation-9stdvdcq.js → bus-xv5rxm99.js} +18 -18
- package/dist/chunks/{file-mutation-xw0r27ex.js → bus-xw0r27ex.js} +1 -1
- package/dist/chunks/{file-mutation-gvqp5mcx.js → bus-xy4ye41c.js} +12 -12
- package/dist/chunks/{file-mutation-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-hgeb4s25.js → bus-y1ybvaj4.js} +3 -3
- package/dist/chunks/{file-mutation-bxnxw8jj.js → bus-y4nzzd5t.js} +5 -5
- package/dist/chunks/{file-mutation-xqne8rgr.js → bus-y58vhj7k.js} +6 -6
- package/dist/chunks/{file-mutation-av1j229j.js → bus-y9j759kk.js} +4 -4
- package/dist/chunks/{file-mutation-m7xx730c.js → bus-ybm7km80.js} +13 -13
- package/dist/chunks/{file-mutation-yfbd16n1.js → bus-yfbd16n1.js} +2 -2
- package/dist/chunks/{file-mutation-dkyd48ce.js → bus-yn1kx32j.js} +22 -22
- package/dist/chunks/{file-mutation-fmhb14bc.js → bus-ypg1z1k5.js} +9 -9
- package/dist/chunks/{file-mutation-fmthvvtq.js → bus-yqj4c6v0.js} +35 -35
- package/dist/chunks/{file-mutation-kh3skkyd.js → bus-yzmxwpmp.js} +11 -11
- package/dist/chunks/{file-mutation-z1k01bn4.js → bus-z1k01bn4.js} +2 -2
- package/dist/chunks/{file-mutation-vep9yay1.js → bus-z3xgatyd.js} +4 -4
- package/dist/chunks/{file-mutation-m7a9j46m.js → bus-z9av7sw1.js} +28 -28
- package/dist/chunks/{file-mutation-4nf6feq9.js → bus-za343mrp.js} +7 -7
- package/dist/chunks/{file-mutation-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-5es8c9fg.js → bus-zyhgr980.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +110 -110
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- 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 +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +349 -349
- package/dist/instruction-discovery.js +77 -77
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- 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 +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- 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 +211 -211
- package/dist/session/execution.js +114 -114
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +78 -78
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +98 -98
- package/dist/snapshot.js +84 -84
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- 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 +13 -13
- package/dist/util/error.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +4 -4
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- 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 +5 -5
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +85 -85
- package/package.json +7 -7
- package/dist/chunks/file-mutation-7zk4hah4.js +0 -4
- package/dist/chunks/file-mutation-chcw50cn.js +0 -460
- package/dist/chunks/file-mutation-dxj72tfx.js +0 -18
- package/dist/chunks/file-mutation-kahasfee.js +0 -247
- package/dist/chunks/file-mutation-wsejc6g3.js +0 -22
- /package/dist/chunks/{file-mutation-0fabt78z.js → bus-0fabt78z.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3t738kvx.js → bus-3t738kvx.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-41nvscxy.js → bus-41nvscxy.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-982e01ww.js → bus-982e01ww.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a1tpkmh4.js → bus-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mntxs535.js → bus-mntxs535.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-p8qxwesx.js → bus-p8qxwesx.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-se0s1eqw.js → bus-se0s1eqw.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x1b8g1yb.js → bus-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → bus-z9919s4g.js} +0 -0
- /package/dist/chunks/{file-mutation-zbjnn3ac.js → bus-zbjnn3ac.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78,
|
|
6
6
|
node83
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-k4cpqqjy.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
|
+
Service72,
|
|
11
|
+
node77
|
|
12
|
+
} from "./bus-yn1kx32j.js";
|
|
13
|
+
import {
|
|
10
14
|
Service76,
|
|
11
15
|
node81
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service67,
|
|
15
|
-
node72
|
|
16
|
-
} from "./file-mutation-6h02bg3y.js";
|
|
16
|
+
} from "./bus-s357kp59.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service70,
|
|
19
|
+
node74
|
|
20
|
+
} from "./bus-w9qr98xp.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID7,
|
|
23
|
+
Service56,
|
|
24
|
+
node60
|
|
25
|
+
} from "./bus-7npscw6y.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID6,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service55,
|
|
34
|
+
node59
|
|
35
|
+
} from "./bus-vcxn1vs0.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./bus-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
44
|
NotFoundError: () => NotFoundError3,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service41,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured5,
|
|
66
|
+
layer: () => layer18,
|
|
67
|
+
node: () => node44
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode-ai/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID6.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service41 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service76;
|
|
178
|
+
const environment = yield* Service70;
|
|
179
179
|
const bus = yield* Service78;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service56;
|
|
181
|
+
const integration = yield* Service55;
|
|
182
|
+
const credentials = yield* Service72;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID6.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -285,7 +285,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
285
285
|
const elicitation = {
|
|
286
286
|
create: (input) => Effect.gen(function* () {
|
|
287
287
|
if (input.params.mode === "url") {
|
|
288
|
-
const formID =
|
|
288
|
+
const formID = ID7.create();
|
|
289
289
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
290
290
|
urlElicitations.set(key, formID);
|
|
291
291
|
return yield* forms.ask({
|
|
@@ -403,7 +403,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
403
403
|
entry.scope = scope;
|
|
404
404
|
const authProvider = yield* connectProvider(entry);
|
|
405
405
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
406
|
-
const result = yield* 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(
|
|
406
|
+
const result = yield* 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(Service70, environment), Scope.provide(scope), Effect.exit);
|
|
407
407
|
if (Exit.isSuccess(result)) {
|
|
408
408
|
entry.client = result.value.connection;
|
|
409
409
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
557
557
|
concurrency: "unbounded",
|
|
558
558
|
discard: true
|
|
559
559
|
}));
|
|
560
|
-
return
|
|
560
|
+
return Service41.of({
|
|
561
561
|
transform: state.transform,
|
|
562
562
|
reload: state.reload,
|
|
563
563
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -677,14 +677,14 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
677
677
|
})
|
|
678
678
|
});
|
|
679
679
|
}));
|
|
680
|
-
function
|
|
680
|
+
function configured5(options) {
|
|
681
681
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
683
|
-
layer:
|
|
684
|
-
deps: [
|
|
682
|
+
service: Service41,
|
|
683
|
+
layer: layer18(options),
|
|
684
|
+
deps: [node81, node74, node83, node60, node59, node77]
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var node44 = configured5();
|
|
688
688
|
function toElicitationField(key, property, required) {
|
|
689
689
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
690
690
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2,
|
|
738
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service41, Options5, layer18, configured5, node44, exports_mcp4 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-k4cpqqjy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service41,
|
|
7
|
+
node44
|
|
8
|
+
} from "./bus-j8e2hagy.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service59,
|
|
11
|
+
node63
|
|
12
|
+
} from "./bus-v124ymdv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service52,
|
|
15
|
+
node56
|
|
16
|
+
} from "./bus-91cyfgge.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service40,
|
|
26
|
+
layer: () => layer17,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node43
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
32
32
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service40 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service41;
|
|
42
|
+
const tools = yield* Service52;
|
|
43
43
|
const bus = yield* Service78;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service59;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -112,12 +112,12 @@ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service40.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [
|
|
117
|
+
var node43 = makeLocationNode({
|
|
118
|
+
service: Service40,
|
|
119
|
+
layer: layer17,
|
|
120
|
+
deps: [node56, node44, node83, node63]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2, name14,
|
|
123
|
+
export { namespace2, name14, Service40, layer17, node43, exports_mcp3 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info28
|
|
5
|
+
} from "./bus-g19vc6v7.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info27
|
|
8
|
+
} from "./bus-f4g7wt00.js";
|
|
9
9
|
import {
|
|
10
10
|
Service78,
|
|
11
11
|
node83
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-k4cpqqjy.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID6,
|
|
18
|
+
Service55,
|
|
19
|
+
node59
|
|
20
|
+
} from "./bus-vcxn1vs0.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event11,
|
|
30
|
+
Service: () => Service54,
|
|
31
|
+
node: () => node58
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode-ai/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event11 } from "@opencode-ai/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service54 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service78;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service55;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
71
71
|
let current = editor.providers.get(providerID);
|
|
72
72
|
if (!current) {
|
|
73
73
|
current = {
|
|
74
|
-
provider:
|
|
74
|
+
provider: Info28.empty(providerID),
|
|
75
75
|
models: new Map
|
|
76
76
|
};
|
|
77
77
|
editor.providers.set(providerID, current);
|
|
@@ -89,12 +89,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
89
89
|
let record = editor.providers.get(providerID);
|
|
90
90
|
if (!record) {
|
|
91
91
|
record = {
|
|
92
|
-
provider:
|
|
92
|
+
provider: Info28.empty(providerID),
|
|
93
93
|
models: new Map
|
|
94
94
|
};
|
|
95
95
|
editor.providers.set(providerID, record);
|
|
96
96
|
}
|
|
97
|
-
const model = record.models.get(modelID) ??
|
|
97
|
+
const model = record.models.get(modelID) ?? Info27.default(providerID, modelID);
|
|
98
98
|
if (!record.models.has(modelID))
|
|
99
99
|
record.models.set(modelID, model);
|
|
100
100
|
fn(model);
|
|
@@ -128,7 +128,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
128
128
|
}),
|
|
129
129
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
130
130
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
131
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
131
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID6.make(provider.id))));
|
|
132
132
|
})
|
|
133
133
|
},
|
|
134
134
|
model: {
|
|
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
183
183
|
})
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
|
-
return
|
|
186
|
+
return Service54.of(result);
|
|
187
187
|
}));
|
|
188
188
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
189
|
-
var
|
|
189
|
+
var node58 = makeLocationNode({ service: Service54, layer, deps: [node83, node59] });
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Service54, node58, exports_catalog2, Event11 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID6,
|
|
3
|
+
Service55
|
|
4
|
+
} from "./bus-vcxn1vs0.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-g19vc6v7.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service55;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID6.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-mntxs535.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make4,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { Clock, Duration, Effect, Pull, Schedule } from "effect";
|
|
@@ -80,7 +80,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
80
80
|
return { retry: true, attempt, delay: normalized };
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
|
-
var
|
|
83
|
+
var make4 = (bus, sessionID) => Effect.gen(function* () {
|
|
84
84
|
const decide = yield* policy2(sessionID);
|
|
85
85
|
const wait = (input) => Effect.gen(function* () {
|
|
86
86
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -97,4 +97,4 @@ var make5 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
97
97
|
return { decide, wait };
|
|
98
98
|
});
|
|
99
99
|
|
|
100
|
-
export { isRetryable2, policy2,
|
|
100
|
+
export { isRetryable2, policy2, make4, exports_retry };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./bus-cq7yjxs1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-k4cpqqjy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./bus-jpg38yrs.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-p8qxwesx.js";
|
|
13
13
|
import {
|
|
14
14
|
ID5,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service49
|
|
16
|
+
} from "./bus-g0mjj0rj.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-mntxs535.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-982e01ww.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./bus-se8jsmsp.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./bus-hrvm11jt.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,11 +42,11 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
46
|
-
const database = yield*
|
|
45
|
+
const instances = yield* Service39;
|
|
46
|
+
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service78;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
49
|
+
const snapshot = yield* Service49;
|
|
50
50
|
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
@@ -74,10 +74,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service39;
|
|
78
78
|
const bus = yield* Service78;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service49;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
83
|
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
@@ -2,46 +2,46 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./bus-s357kp59.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service70
|
|
11
|
+
} from "./bus-w9qr98xp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service63
|
|
14
|
+
} from "./bus-h71tptf3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-ybm7km80.js";
|
|
20
20
|
import {
|
|
21
21
|
externalDirectoryPermission2,
|
|
22
22
|
resolvePath2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service14
|
|
24
|
+
} from "./bus-xraeeqg3.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service59
|
|
27
|
+
} from "./bus-v124ymdv.js";
|
|
28
28
|
import {
|
|
29
29
|
fileDiff2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-6prwharc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/patch.ts
|
|
36
36
|
var exports_patch = {};
|
|
37
37
|
__export(exports_patch, {
|
|
38
38
|
Applied: () => Applied2,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
39
|
+
Input: () => Input2,
|
|
40
|
+
Output: () => Output2,
|
|
41
41
|
PatchTool: () => exports_patch,
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
44
|
-
toModelContent: () =>
|
|
42
|
+
Plugin: () => Plugin32,
|
|
43
|
+
name: () => name2,
|
|
44
|
+
toModelContent: () => toModelContent2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
@@ -86,8 +86,8 @@ It is important to remember:
|
|
|
86
86
|
`;
|
|
87
87
|
|
|
88
88
|
// src/tool/plugin/patch.ts
|
|
89
|
-
var
|
|
90
|
-
var
|
|
89
|
+
var name2 = "patch";
|
|
90
|
+
var Input2 = Schema.Struct({
|
|
91
91
|
patchText: Schema.String.annotate({
|
|
92
92
|
description: "The full patch text describing add, update, and delete operations"
|
|
93
93
|
})
|
|
@@ -97,30 +97,30 @@ var Applied2 = Schema.Struct({
|
|
|
97
97
|
resource: Schema.String,
|
|
98
98
|
target: Schema.String
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Output2 = Schema.Struct({
|
|
101
101
|
applied: Schema.Array(Applied2),
|
|
102
102
|
files: Schema.Array(FileDiff.Info)
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var toModelContent2 = (output) => [
|
|
105
105
|
"Success. Updated the following files:",
|
|
106
106
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
107
107
|
].join(`
|
|
108
108
|
`);
|
|
109
|
-
var
|
|
109
|
+
var Plugin32 = {
|
|
110
110
|
id: "opencode.tool.patch",
|
|
111
111
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const mutation = yield*
|
|
114
|
-
const fileMutation = yield*
|
|
115
|
-
const formatter = yield*
|
|
116
|
-
const location = yield*
|
|
117
|
-
const permission = yield*
|
|
112
|
+
const environment = yield* Service70;
|
|
113
|
+
const mutation = yield* Service14;
|
|
114
|
+
const fileMutation = yield* Service13;
|
|
115
|
+
const formatter = yield* Service63;
|
|
116
|
+
const location = yield* Service76;
|
|
117
|
+
const permission = yield* Service59;
|
|
118
118
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
119
|
-
name:
|
|
119
|
+
name: name2,
|
|
120
120
|
options: { codemode: false, permission: "edit" },
|
|
121
121
|
description: patch_default,
|
|
122
|
-
input:
|
|
123
|
-
output:
|
|
122
|
+
input: Input2,
|
|
123
|
+
output: Output2,
|
|
124
124
|
execute: (input, context) => {
|
|
125
125
|
const applied = [];
|
|
126
126
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -273,7 +273,7 @@ var Plugin25 = {
|
|
|
273
273
|
return { applied, files };
|
|
274
274
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
275
275
|
output,
|
|
276
|
-
content:
|
|
276
|
+
content: toModelContent2(output),
|
|
277
277
|
metadata: { files: output.files }
|
|
278
278
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
279
279
|
}
|
|
@@ -330,4 +330,4 @@ function trimDiff(diff) {
|
|
|
330
330
|
`);
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin32, exports_patch };
|