@opencode/core 0.0.0-dev-20406 → 0.0.0-dev-20409
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/agent.js +70 -70
- package/dist/aisdk-native.js +69 -69
- package/dist/aisdk.js +74 -74
- package/dist/app.js +7 -7
- package/dist/bus.js +61 -61
- package/dist/chunks/{shell-hadadgvf.js → shell-09vtkvs2.js} +8 -8
- package/dist/chunks/{shell-6033txqd.js → shell-0h1hke09.js} +20 -20
- package/dist/chunks/{shell-0pgf3wjz.js → shell-0mfvdt8p.js} +10 -10
- package/dist/chunks/{shell-3x602478.js → shell-0w0ygeyh.js} +15 -15
- package/dist/chunks/{shell-cebrzyqt.js → shell-11040j7v.js} +17 -17
- package/dist/chunks/{shell-v3a302k8.js → shell-1310s4tm.js} +5 -5
- package/dist/chunks/{shell-5gj63dwh.js → shell-1w0b4a26.js} +8 -8
- package/dist/chunks/{shell-rthp8kp4.js → shell-242bp3ky.js} +17 -17
- package/dist/chunks/{shell-cm8jqk38.js → shell-296c8m1w.js} +4 -4
- package/dist/chunks/{shell-z63w68vq.js → shell-29x78va6.js} +4 -4
- package/dist/chunks/{shell-1q4hgdtf.js → shell-29yjt9fr.js} +330 -330
- package/dist/chunks/{shell-m41nq2xm.js → shell-2ccbzhav.js} +12 -12
- package/dist/chunks/{shell-z4pb129a.js → shell-2cfbypp4.js} +3 -3
- package/dist/chunks/{shell-6anwy9fs.js → shell-2d57kztd.js} +3 -3
- package/dist/chunks/{shell-cxqfxpp1.js → shell-2etfsxvf.js} +6 -6
- package/dist/chunks/{shell-57ez7d0k.js → shell-2fgn2we9.js} +7 -7
- package/dist/chunks/{shell-3a1r704r.js → shell-2j558fvx.js} +6 -6
- package/dist/chunks/{shell-7dqw4kz8.js → shell-2k8khapm.js} +4 -4
- package/dist/chunks/{shell-24zydrzs.js → shell-2ypncbw6.js} +52 -52
- package/dist/chunks/{shell-q4g7nk9d.js → shell-2zbxyrg1.js} +9 -9
- package/dist/chunks/{shell-1rh4yqvv.js → shell-3b9qt4hj.js} +7 -7
- package/dist/chunks/{shell-jnps75af.js → shell-3czaqwkp.js} +11 -11
- package/dist/chunks/{shell-k0gdq8ga.js → shell-3k0nn0ne.js} +9 -9
- package/dist/chunks/{shell-t0fxg8b9.js → shell-3w0fmcng.js} +3 -3
- package/dist/chunks/{shell-n0x2a21q.js → shell-4238gvvk.js} +18 -18
- package/dist/chunks/{shell-027h9grx.js → shell-43y38rzh.js} +16 -16
- package/dist/chunks/{shell-dzrr9fx3.js → shell-461tr88a.js} +7 -7
- package/dist/chunks/{shell-wx3q8r90.js → shell-46w5102t.js} +8 -8
- package/dist/chunks/{shell-nsq97wxa.js → shell-48m56tyw.js} +13 -13
- package/dist/chunks/{shell-fqtvmpfq.js → shell-4e8vs6eh.js} +7 -7
- package/dist/chunks/{shell-dawgpkjz.js → shell-4j10ng35.js} +8 -8
- package/dist/chunks/{shell-wdt5kg7f.js → shell-55pt171s.js} +7 -7
- package/dist/chunks/{shell-33w4ejhs.js → shell-56gdpj1q.js} +4 -4
- package/dist/chunks/{shell-5bjd8ds0.js → shell-5785y2ep.js} +45 -45
- package/dist/chunks/{shell-hzazvw9e.js → shell-57spbz54.js} +42 -42
- package/dist/chunks/{shell-nmww7jyx.js → shell-59wg76sz.js} +2 -2
- package/dist/chunks/{shell-kqgb7ch4.js → shell-5h3x3awa.js} +5 -5
- package/dist/chunks/{shell-pk6jt4dn.js → shell-5mfsnars.js} +19 -19
- package/dist/chunks/{shell-92tzgrpg.js → shell-5w2qze6g.js} +20 -20
- package/dist/chunks/{shell-2mhsvxbb.js → shell-5xpznt2d.js} +1 -1
- package/dist/chunks/{shell-q3t37ft6.js → shell-6bsje7ws.js} +3 -3
- package/dist/chunks/{shell-fmb7ydzj.js → shell-6hbwvpvg.js} +18 -18
- package/dist/chunks/{shell-302sxsq7.js → shell-6pwzktg7.js} +8 -8
- package/dist/chunks/{shell-tqrmv6wh.js → shell-6rpwy5mc.js} +29 -29
- package/dist/chunks/{shell-tmvj6me9.js → shell-6wsfawph.js} +12 -12
- package/dist/chunks/{shell-sw0g5drg.js → shell-6z7hmy4t.js} +30 -30
- package/dist/chunks/{shell-zrfk4xcc.js → shell-6zck5j37.js} +33 -33
- package/dist/chunks/{shell-nwakhswj.js → shell-77bqxzzx.js} +35 -35
- package/dist/chunks/{shell-mhjvq9xf.js → shell-7jq0yyyf.js} +30 -30
- package/dist/chunks/{shell-mp6d0dty.js → shell-7rwqf82v.js} +7 -7
- package/dist/chunks/{shell-763zc42s.js → shell-7s9404gx.js} +25 -25
- package/dist/chunks/{shell-vxfrmkmy.js → shell-7v930722.js} +24 -24
- package/dist/chunks/{shell-ws227ysr.js → shell-7vvv5wyx.js} +6 -6
- package/dist/chunks/{shell-90xpxcvn.js → shell-7wyjaxt5.js} +9 -9
- package/dist/chunks/{shell-g5zc0msw.js → shell-80yzywcg.js} +1 -1
- package/dist/chunks/{shell-w1eejvng.js → shell-84txncab.js} +4 -4
- package/dist/chunks/{shell-d8cfvk62.js → shell-8558arf1.js} +12 -12
- package/dist/chunks/{shell-k0t8x34b.js → shell-8805xwn4.js} +1 -1
- package/dist/chunks/{shell-qvb81wqx.js → shell-8dwbst7y.js} +18 -18
- package/dist/chunks/{shell-m0rmv5bm.js → shell-90nab8ev.js} +6 -6
- package/dist/chunks/{shell-fm2qvscf.js → shell-a46v4e4v.js} +3 -3
- package/dist/chunks/{shell-2832djng.js → shell-a68erk2e.js} +10 -10
- package/dist/chunks/{shell-5t0mhrn0.js → shell-a9fh1xd3.js} +2 -2
- package/dist/chunks/{shell-em3h5ktn.js → shell-afjydgk3.js} +3 -3
- package/dist/chunks/{shell-6fhqajxq.js → shell-ahg1zghw.js} +8 -8
- package/dist/chunks/{shell-8x3ar29j.js → shell-ap9eas8m.js} +9 -9
- package/dist/chunks/{shell-hzk924x7.js → shell-aqmh106j.js} +18 -18
- package/dist/chunks/{shell-0f9afca0.js → shell-avm8jn6n.js} +3 -3
- package/dist/chunks/{shell-yq14pbr7.js → shell-axs6pdy0.js} +3 -3
- package/dist/chunks/{shell-3namxzrj.js → shell-b9x5zb31.js} +85 -85
- package/dist/chunks/{shell-b44gvvvr.js → shell-bbg4461y.js} +40 -40
- package/dist/chunks/{shell-11xytnza.js → shell-bbt4s1em.js} +33 -33
- package/dist/chunks/{shell-t9zs3egg.js → shell-bct739vz.js} +3 -3
- package/dist/chunks/{shell-ky96t3kz.js → shell-bcx2a56x.js} +10 -10
- package/dist/chunks/{shell-fq36cd5d.js → shell-bkwfsa8d.js} +14 -14
- package/dist/chunks/{shell-sgyq1qp9.js → shell-bms65qjn.js} +21 -21
- package/dist/chunks/{shell-qfc3y584.js → shell-bpnn7hyv.js} +9 -9
- package/dist/chunks/{shell-cs4k5zgq.js → shell-br5b6q5k.js} +8 -8
- package/dist/chunks/{shell-z41n5maa.js → shell-bweaxm80.js} +64 -64
- package/dist/chunks/{shell-v5me1390.js → shell-bybgwcct.js} +19 -19
- package/dist/chunks/{shell-z4h5d8ps.js → shell-c13z7sy5.js} +25 -25
- package/dist/chunks/{shell-r7srsjaq.js → shell-chrxq3ex.js} +5 -5
- package/dist/chunks/{shell-9m18q581.js → shell-cpbwv1ps.js} +11 -11
- package/dist/chunks/{shell-xh2bzhhz.js → shell-cr81t2vd.js} +6 -6
- package/dist/chunks/shell-d1z9x6fa.js +252 -0
- package/dist/chunks/{shell-4bjzyjqa.js → shell-dcfyjk12.js} +22 -22
- package/dist/chunks/{shell-er11akkf.js → shell-dezcy0y7.js} +16 -16
- package/dist/chunks/{shell-5v8k5syq.js → shell-dgt8mkj3.js} +22 -22
- package/dist/chunks/{shell-exq671fp.js → shell-dhdpfhyp.js} +6 -6
- package/dist/chunks/{shell-vq2r4xxp.js → shell-dm6v0cnj.js} +52 -52
- package/dist/chunks/{shell-nq7qbqzc.js → shell-dnszgtsj.js} +7 -7
- package/dist/chunks/{shell-x661k3y3.js → shell-dnxkq42g.js} +3 -3
- package/dist/chunks/{shell-5qd3pb7m.js → shell-e3qxr5gk.js} +2 -2
- package/dist/chunks/{shell-xky4w4my.js → shell-em9qgwr1.js} +31 -31
- package/dist/chunks/{shell-t34bv3bh.js → shell-f6z1vvb1.js} +6 -6
- package/dist/chunks/{shell-yrxdn3w6.js → shell-f7jve23h.js} +12 -12
- package/dist/chunks/{shell-vdmdzg77.js → shell-faan1wk1.js} +1 -1
- package/dist/chunks/{shell-4rt0ga34.js → shell-fd636bra.js} +7 -7
- package/dist/chunks/{shell-2a5svkms.js → shell-fe5bw3z3.js} +7 -7
- package/dist/chunks/{shell-jca4demv.js → shell-ff0svapt.js} +1 -1
- package/dist/chunks/{shell-mebcx2ev.js → shell-ffybh0wk.js} +4 -4
- package/dist/chunks/{shell-46gkbd0c.js → shell-fh0zj1e1.js} +24 -24
- package/dist/chunks/{shell-yfmq466m.js → shell-fn2vqynn.js} +11 -11
- package/dist/chunks/{shell-de6jgy4a.js → shell-fpkrmtmw.js} +37 -37
- package/dist/chunks/{shell-qmqgtz8f.js → shell-g6q9qykm.js} +7 -7
- package/dist/chunks/{shell-qwe7bsa3.js → shell-gahyzsq3.js} +20 -20
- package/dist/chunks/{shell-qdd0q08y.js → shell-gna9hx4h.js} +16 -16
- package/dist/chunks/{shell-gsgd9zjh.js → shell-gyae47ky.js} +19 -19
- package/dist/chunks/{shell-kg2zmxw6.js → shell-gyz7ndzc.js} +33 -33
- package/dist/chunks/{shell-rp3pg7vc.js → shell-h3j6n5en.js} +4 -4
- package/dist/chunks/{shell-kgc2xkc7.js → shell-h5r4kkc1.js} +1 -1
- package/dist/chunks/{shell-fy6cggrf.js → shell-h6b02349.js} +3 -3
- package/dist/chunks/{shell-5whaezv9.js → shell-h6wkafze.js} +25 -25
- package/dist/chunks/{shell-ng9nphe0.js → shell-h7k6fa17.js} +18 -18
- package/dist/chunks/{shell-pd7gvt3w.js → shell-h9wp8z5w.js} +3 -3
- package/dist/chunks/{shell-4hbxt91c.js → shell-hfkmhm74.js} +23 -23
- package/dist/chunks/{shell-f41jbqvm.js → shell-hn5cnzw3.js} +15 -15
- package/dist/chunks/{shell-d7xrmwxz.js → shell-hrxnr7fv.js} +12 -12
- package/dist/chunks/{shell-5kw0n2ma.js → shell-hz84tk5e.js} +7 -7
- package/dist/chunks/{shell-2yxkykh1.js → shell-hztfeys8.js} +29 -29
- package/dist/chunks/{shell-wzh9kx9c.js → shell-j81vay8t.js} +2 -2
- package/dist/chunks/{shell-s19nf2ge.js → shell-je2nd8qy.js} +6 -6
- package/dist/chunks/{shell-c1bwn9r9.js → shell-jen49w49.js} +15 -15
- package/dist/chunks/{shell-ps9psapg.js → shell-jhtb5f97.js} +37 -37
- package/dist/chunks/{shell-pmc1jkpx.js → shell-jqhg1hxk.js} +16 -16
- package/dist/chunks/{shell-gc7e05zt.js → shell-jt8t0ecz.js} +10 -10
- package/dist/chunks/{shell-cbntc203.js → shell-k01n324r.js} +3 -3
- package/dist/chunks/{shell-1y782dng.js → shell-k0v2pnh2.js} +18 -18
- package/dist/chunks/{shell-gce79w0q.js → shell-k8csyqq2.js} +14 -14
- package/dist/chunks/{shell-17dp9b3b.js → shell-k93zhc7s.js} +9 -9
- package/dist/chunks/{shell-3pqrab3r.js → shell-kc9hs6v2.js} +12 -12
- package/dist/chunks/{shell-agthfym9.js → shell-kkg080jf.js} +33 -33
- package/dist/chunks/{shell-e1vgqt98.js → shell-kmhtm0eh.js} +43 -43
- package/dist/chunks/{shell-0xqyf95c.js → shell-knevfgda.js} +3 -3
- package/dist/chunks/{shell-40ejgnmq.js → shell-m90ew7f1.js} +3 -3
- package/dist/chunks/{shell-dj3aa5wj.js → shell-mej20m9j.js} +3 -3
- package/dist/chunks/{shell-9syxb0r3.js → shell-mgpyxjx6.js} +9 -9
- package/dist/chunks/{shell-qk5y71t7.js → shell-mssx8eq3.js} +10 -10
- package/dist/chunks/{shell-73tb2d7t.js → shell-mvfsc1pv.js} +2 -2
- package/dist/chunks/{shell-7dthvaew.js → shell-n3v0wvct.js} +23 -23
- package/dist/chunks/{shell-kw0mk995.js → shell-n56h5hy7.js} +39 -39
- package/dist/chunks/{shell-z2wvrawj.js → shell-n9gk7fk1.js} +5 -5
- package/dist/chunks/{shell-2q4t2vtj.js → shell-nfmhh18x.js} +25 -25
- package/dist/chunks/{shell-gwt0t2e2.js → shell-nrscgsz0.js} +19 -19
- package/dist/chunks/{shell-rbgk9g65.js → shell-nxdbpavb.js} +26 -26
- package/dist/chunks/{shell-83y1qfs6.js → shell-nxhmsv4t.js} +179 -179
- package/dist/chunks/{shell-1t9fg1b5.js → shell-p08d8mdw.js} +9 -9
- package/dist/chunks/{shell-0d8tbd59.js → shell-p18fzj7h.js} +22 -22
- package/dist/chunks/{shell-wbkyxrgf.js → shell-p1nm93x7.js} +3 -3
- package/dist/chunks/{shell-1ajx6rf5.js → shell-p42hj8p8.js} +7 -7
- package/dist/chunks/{shell-bj8111r1.js → shell-pcwxzhdm.js} +2 -2
- package/dist/chunks/{shell-8j1jmj9t.js → shell-ph6a0m52.js} +4 -4
- package/dist/chunks/{shell-gs9kr2a8.js → shell-pj97z4ma.js} +13 -13
- package/dist/chunks/{shell-ghvvmysb.js → shell-pjbr20qj.js} +48 -48
- package/dist/chunks/{shell-zz8pmeaw.js → shell-pk5ddt9p.js} +19 -19
- package/dist/chunks/{shell-pjnbb6nv.js → shell-ppkbx4yt.js} +20 -20
- package/dist/chunks/{shell-d38myz56.js → shell-ppsqsh87.js} +34 -34
- package/dist/chunks/{shell-1ntkjgb8.js → shell-pqyb1j4v.js} +27 -27
- package/dist/chunks/{shell-ax630gpb.js → shell-psa9hm71.js} +10 -10
- package/dist/chunks/{shell-zvjxv4v7.js → shell-pstb62p2.js} +18 -18
- package/dist/chunks/{shell-cfsekr6v.js → shell-py3kkmfq.js} +1 -1
- package/dist/chunks/{shell-awbtvej0.js → shell-q3ersh05.js} +5 -5
- package/dist/chunks/{shell-z9v69aw7.js → shell-q47e89a1.js} +30 -30
- package/dist/chunks/{shell-0tf9f9fk.js → shell-q5z6qrs5.js} +7 -7
- package/dist/chunks/{shell-br9mj3ey.js → shell-qfkr4h51.js} +30 -30
- package/dist/chunks/{shell-h3qzknde.js → shell-qpe8tk8s.js} +31 -31
- package/dist/chunks/{shell-dg5bcj4q.js → shell-qq8x5mwt.js} +3 -3
- package/dist/chunks/{shell-x3ec03mt.js → shell-qrtps7c6.js} +8 -8
- package/dist/chunks/{shell-sgy5rc4s.js → shell-qstbhtjy.js} +12 -12
- package/dist/chunks/{shell-s0p782fc.js → shell-qwe53qqr.js} +16 -16
- package/dist/chunks/{shell-frz7qx3c.js → shell-qzwd4pkf.js} +11 -11
- package/dist/chunks/{shell-spcspf24.js → shell-r19vg6ms.js} +9 -9
- package/dist/chunks/{shell-3p2gykje.js → shell-r6127srf.js} +3 -3
- package/dist/chunks/{shell-f42drt00.js → shell-rb29dj05.js} +15 -15
- package/dist/chunks/{shell-fc62ns0w.js → shell-rba86r9a.js} +4 -4
- package/dist/chunks/{shell-m568jpcd.js → shell-rd8v1r6j.js} +26 -26
- package/dist/chunks/{shell-zvt5dnpc.js → shell-rpg9c19m.js} +3 -3
- package/dist/chunks/{shell-9g29qv69.js → shell-rs8qp985.js} +1 -1
- package/dist/chunks/{shell-9rzhta9t.js → shell-s24brvt1.js} +10 -10
- package/dist/chunks/{shell-yrznvahk.js → shell-s4enseaf.js} +1 -1
- package/dist/chunks/{shell-z2sk8n0r.js → shell-s532705d.js} +9 -9
- package/dist/chunks/{shell-wv396vej.js → shell-s8d7rejh.js} +7 -7
- package/dist/chunks/{shell-445bgnxh.js → shell-sbm56x9k.js} +7 -7
- package/dist/chunks/{shell-909p1r3q.js → shell-sd5f6jdk.js} +5 -5
- package/dist/chunks/{shell-3aqqv3ta.js → shell-smcy5e0a.js} +24 -24
- package/dist/chunks/{shell-gxf6g2qt.js → shell-t58mb03q.js} +27 -27
- package/dist/chunks/{shell-a89e0tac.js → shell-tbmac1c7.js} +3 -3
- package/dist/chunks/{shell-hgr40ys5.js → shell-tec192gq.js} +13 -13
- package/dist/chunks/{shell-hbe0cwhg.js → shell-thev1fqr.js} +18 -18
- package/dist/chunks/{shell-6ar8w4pq.js → shell-tmcd77ag.js} +43 -43
- package/dist/chunks/{shell-ew9zfet1.js → shell-tmk4yz8x.js} +27 -27
- package/dist/chunks/{shell-4r8tvr6m.js → shell-tpxv5eqt.js} +2 -2
- package/dist/chunks/{shell-y30nbvw3.js → shell-tsadq9bd.js} +21 -21
- package/dist/chunks/{shell-3nsr1h9t.js → shell-ttwj0m8z.js} +30 -30
- package/dist/chunks/{shell-xd0e3npz.js → shell-tw3zdh9f.js} +22 -22
- package/dist/chunks/{shell-6gnvbdx3.js → shell-tyhjxzyj.js} +1 -1
- package/dist/chunks/{shell-bfafj43h.js → shell-v12jv0w3.js} +19 -19
- package/dist/chunks/{shell-j0zcen4g.js → shell-v5vpra1m.js} +8 -8
- package/dist/chunks/{shell-mkwp3yp2.js → shell-vaeza82m.js} +11 -11
- package/dist/chunks/{shell-y2acyqmb.js → shell-vc39bt20.js} +32 -32
- package/dist/chunks/{shell-350namw0.js → shell-vpxczwj3.js} +23 -23
- package/dist/chunks/{shell-mv7vmavb.js → shell-w6yjv3f5.js} +23 -23
- package/dist/chunks/{shell-v148dh5x.js → shell-watjqnhq.js} +5 -5
- package/dist/chunks/{shell-myrh9h6p.js → shell-wg0dbssz.js} +9 -9
- package/dist/chunks/{shell-mesrmzak.js → shell-wg0k9rvv.js} +7 -7
- package/dist/chunks/{shell-qj8eh1ht.js → shell-xdk9p2qn.js} +20 -20
- package/dist/chunks/{shell-g5w8qwbj.js → shell-xfkkasph.js} +3 -3
- package/dist/chunks/{shell-0yvfy2gr.js → shell-xfn62cer.js} +86 -86
- package/dist/chunks/{shell-dy2xnbj8.js → shell-xkx2jhzt.js} +14 -14
- package/dist/chunks/{shell-1ezyexdv.js → shell-xp0mhm80.js} +15 -15
- package/dist/chunks/{shell-rwrdja42.js → shell-xzjm34t0.js} +17 -17
- package/dist/chunks/{shell-y6drww2a.js → shell-y07tpj3e.js} +48 -48
- package/dist/chunks/{shell-0a5qyhqp.js → shell-y7eazgyz.js} +5 -5
- package/dist/chunks/{shell-smnd959e.js → shell-yb93st4g.js} +10 -10
- package/dist/chunks/{shell-0bwxef5p.js → shell-ygcwaq5r.js} +39 -39
- package/dist/chunks/{shell-0p8b1wz2.js → shell-yvpke61a.js} +9 -9
- package/dist/chunks/{shell-m7s2bw5g.js → shell-yxvshskh.js} +33 -33
- package/dist/chunks/shell-z76f73v3.js +26 -0
- package/dist/chunks/{shell-5vrj9ban.js → shell-zbjyzcd7.js} +13 -13
- package/dist/chunks/{shell-845k646w.js → shell-zm3q7mex.js} +15 -15
- package/dist/chunks/{shell-5tat9ppm.js → shell-znsx74x0.js} +1 -1
- package/dist/chunks/{shell-e1t80gge.js → shell-zp34c0n6.js} +37 -37
- package/dist/chunks/{shell-fz2hs8me.js → shell-zsasz6gv.js} +21 -21
- package/dist/chunks/{shell-wh0yrkpr.js → shell-zv4zpfd9.js} +13 -13
- package/dist/chunks/{shell-mdr46t4g.js → shell-zyrx8stx.js} +3 -3
- package/dist/chunks/{shell-a6t0d3d8.js → shell-zz330w20.js} +24 -24
- package/dist/codemode/instructions.js +2 -2
- package/dist/command.js +70 -70
- package/dist/config/discovery.js +64 -64
- package/dist/config/normalize.js +84 -84
- package/dist/config/plugin/agent.js +101 -101
- package/dist/config/plugin/command.js +177 -177
- package/dist/config/plugin/compaction.js +129 -129
- package/dist/config/plugin/compatibility.js +115 -115
- package/dist/config/plugin/formatter.js +100 -100
- package/dist/config/plugin/image.js +99 -99
- package/dist/config/plugin/instruction.js +70 -70
- package/dist/config/plugin/location-watcher.js +99 -99
- package/dist/config/plugin/mcp.js +105 -105
- package/dist/config/plugin/policy.js +99 -99
- package/dist/config/plugin/provider.js +99 -99
- package/dist/config/plugin/reference.js +101 -101
- package/dist/config/plugin/shell.js +101 -101
- package/dist/config/plugin/skill-file.js +77 -77
- package/dist/config/plugin/skill.js +118 -118
- package/dist/config/plugin/snapshot.js +99 -99
- package/dist/config/plugin/source.js +102 -102
- package/dist/config/plugin/tool-output.js +100 -100
- package/dist/config/plugin/websearch.js +100 -100
- package/dist/config/plugin/worktree.js +100 -100
- package/dist/config/variable.js +2 -2
- package/dist/config.js +99 -99
- package/dist/credential.js +72 -72
- package/dist/database/database.js +56 -56
- package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +8 -8
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +8 -8
- package/dist/database/migration.gen.js +39 -39
- package/dist/database/migration.js +41 -41
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +237 -237
- package/dist/environment/environment.js +71 -71
- package/dist/environment/index.js +73 -73
- package/dist/event-logger.js +13 -13
- package/dist/file-access.js +80 -80
- package/dist/file-mutation.js +72 -72
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +189 -189
- package/dist/filesystem/search.js +79 -79
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +10 -10
- package/dist/filesystem.js +76 -76
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +68 -68
- package/dist/generate.js +79 -79
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +79 -79
- package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +316 -316
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +69 -69
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +73 -73
- package/dist/job.js +64 -64
- package/dist/kv.js +61 -61
- package/dist/location-activity.js +55 -55
- package/dist/location-lifecycle.js +83 -83
- package/dist/location-service-map.js +68 -68
- package/dist/location-services.js +314 -314
- package/dist/location.js +69 -69
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +83 -83
- package/dist/mcp/instructions.js +100 -100
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +68 -68
- package/dist/modal/models.js +79 -79
- package/dist/model-resolver.js +78 -78
- package/dist/model.js +82 -82
- package/dist/models-dev.js +87 -87
- package/dist/permission/saved.js +67 -67
- package/dist/permission.js +89 -89
- package/dist/persistent-pty/index.js +72 -72
- package/dist/persistent-pty.js +60 -60
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +78 -78
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +182 -182
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +289 -289
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +78 -78
- package/dist/plugin/provider/amazon-bedrock.js +70 -70
- package/dist/plugin/provider/azure.js +100 -100
- package/dist/plugin/provider/chatgpt.js +72 -72
- package/dist/plugin/provider/cloudflare-ai-gateway.js +97 -97
- package/dist/plugin/provider/cloudflare-workers-ai.js +97 -97
- package/dist/plugin/provider/configured.js +96 -96
- package/dist/plugin/provider/digitalocean.js +72 -72
- package/dist/plugin/provider/github-copilot.js +74 -74
- package/dist/plugin/provider/gitlab.js +72 -72
- package/dist/plugin/provider/google-vertex.js +70 -70
- package/dist/plugin/provider/llmgateway.js +64 -64
- package/dist/plugin/provider/lmstudio.js +99 -99
- package/dist/plugin/provider/modal.js +72 -72
- package/dist/plugin/provider/ollama.js +99 -99
- package/dist/plugin/provider/openai.js +71 -71
- package/dist/plugin/provider/opencode.js +74 -74
- package/dist/plugin/provider/openrouter.js +71 -71
- package/dist/plugin/provider/poe.js +64 -64
- package/dist/plugin/provider/prompt-cache-key.js +70 -70
- package/dist/plugin/provider/sap-ai-core.js +70 -70
- package/dist/plugin/provider/snowflake-cortex.js +98 -98
- package/dist/plugin/provider/vercel.js +70 -70
- package/dist/plugin/provider/vllm.js +99 -99
- package/dist/plugin/provider/xai.js +71 -71
- package/dist/plugin/provider.js +133 -133
- package/dist/plugin/sdk.js +64 -64
- package/dist/plugin/skill.js +116 -116
- package/dist/plugin/supervisor.js +304 -304
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/vcs/git.js +67 -67
- package/dist/plugin/vcs/hg.js +67 -67
- package/dist/plugin/verbosity.js +73 -73
- package/dist/plugin/warming.js +98 -98
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +185 -185
- package/dist/project/schema.js +7 -7
- package/dist/project.js +72 -72
- package/dist/provider.js +81 -81
- package/dist/pty.js +79 -79
- package/dist/reference/instructions.js +70 -70
- package/dist/reference.js +70 -70
- package/dist/repository-cache.js +65 -65
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +72 -72
- package/dist/rpc.js +68 -68
- package/dist/session/command.js +60 -60
- package/dist/session/compaction.js +102 -102
- package/dist/session/context.js +122 -122
- package/dist/session/diff.js +67 -67
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +120 -120
- package/dist/session/execution.js +103 -103
- package/dist/session/generate.js +121 -121
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +70 -70
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +62 -62
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +76 -76
- package/dist/session/model-request.js +90 -90
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +103 -103
- package/dist/session/projector.js +66 -66
- package/dist/session/prompt.js +79 -79
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +69 -69
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +192 -192
- package/dist/session/runner/model.js +78 -78
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +95 -95
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +142 -142
- package/dist/session/shell.js +109 -109
- package/dist/session/skill.js +78 -78
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +70 -70
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +123 -123
- package/dist/session/to-session-error.js +87 -87
- package/dist/session/transfer.js +117 -117
- package/dist/session.js +185 -185
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +113 -113
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +81 -81
- package/dist/skill.js +86 -86
- package/dist/snapshot.js +74 -74
- package/dist/tool/mcp.js +99 -99
- package/dist/tool/plugin/edit.js +95 -95
- package/dist/tool/plugin/glob.js +96 -96
- package/dist/tool/plugin/grep.js +98 -98
- package/dist/tool/plugin/mcp-resource.js +93 -93
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +97 -97
- package/dist/tool/plugin/question.js +77 -77
- package/dist/tool/plugin/read.js +98 -98
- package/dist/tool/plugin/shell.js +181 -181
- package/dist/tool/plugin/skill.js +87 -87
- package/dist/tool/plugin/subagent.js +182 -182
- package/dist/tool/plugin/webfetch.js +84 -84
- package/dist/tool/plugin/websearch.js +90 -90
- package/dist/tool/plugin/write.js +97 -97
- package/dist/tool/read-filesystem.js +75 -75
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +71 -71
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +71 -71
- package/dist/vcs.js +70 -70
- package/dist/websearch.js +66 -66
- package/dist/wellknown/plugin.js +63 -63
- package/dist/wellknown.js +68 -68
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +66 -66
- package/dist/worktree/git.js +4 -4
- package/dist/worktree/strategies.js +69 -69
- package/dist/worktree.js +77 -77
- package/package.json +8 -8
- package/dist/chunks/shell-7kw0n3fd.js +0 -252
- package/dist/chunks/shell-g619fkyf.js +0 -26
- /package/dist/chunks/{shell-77p9tcjg.js → shell-9qeb1hh1.js} +0 -0
- /package/dist/chunks/{shell-gcavn3wx.js → shell-fepbnb8j.js} +0 -0
- /package/dist/chunks/{shell-5gr04vgg.js → shell-kbww7b3v.js} +0 -0
- /package/dist/chunks/{shell-e0vtkr8g.js → shell-sz0fczdy.js} +0 -0
|
@@ -1,128 +1,128 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./shell-
|
|
3
|
+
node47
|
|
4
|
+
} from "./shell-mgpyxjx6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./shell-
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./shell-ap9eas8m.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./shell-
|
|
10
|
+
ID9,
|
|
11
|
+
Service63,
|
|
12
|
+
node66
|
|
13
|
+
} from "./shell-h6wkafze.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID15,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./shell-
|
|
17
|
+
} from "./shell-q47e89a1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID14,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./shell-
|
|
23
|
+
Service77,
|
|
24
|
+
node81
|
|
25
|
+
} from "./shell-qpe8tk8s.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
28
|
} from "./shell-922hggd3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
30
|
+
Info31,
|
|
31
31
|
Ref4,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./shell-
|
|
32
|
+
Service79,
|
|
33
|
+
node83
|
|
34
|
+
} from "./shell-xp0mhm80.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./shell-
|
|
36
|
+
ID13,
|
|
37
|
+
Service76,
|
|
38
|
+
node80
|
|
39
|
+
} from "./shell-6zck5j37.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./shell-
|
|
41
|
+
Service57,
|
|
42
|
+
node60
|
|
43
|
+
} from "./shell-psa9hm71.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./shell-
|
|
45
|
+
Service44,
|
|
46
|
+
node48
|
|
47
|
+
} from "./shell-n3v0wvct.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./shell-
|
|
49
|
+
Service75,
|
|
50
|
+
node79
|
|
51
|
+
} from "./shell-1w0b4a26.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./shell-
|
|
53
|
+
Service59,
|
|
54
|
+
node62
|
|
55
|
+
} from "./shell-br5b6q5k.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./shell-
|
|
57
|
+
ID11,
|
|
58
|
+
Service72,
|
|
59
|
+
node76
|
|
60
|
+
} from "./shell-bbt4s1em.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./shell-
|
|
62
|
+
ID10
|
|
63
|
+
} from "./shell-ppkbx4yt.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./shell-
|
|
65
|
+
Service36,
|
|
66
|
+
node39
|
|
67
|
+
} from "./shell-y07tpj3e.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./shell-
|
|
69
|
+
Service73,
|
|
70
|
+
node77
|
|
71
|
+
} from "./shell-4e8vs6eh.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./shell-
|
|
73
|
+
Service60,
|
|
74
|
+
node63
|
|
75
|
+
} from "./shell-dm6v0cnj.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./shell-
|
|
77
|
+
Service40,
|
|
78
|
+
node43
|
|
79
|
+
} from "./shell-gyae47ky.js";
|
|
80
80
|
import {
|
|
81
81
|
Source4,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./shell-
|
|
82
|
+
Service45,
|
|
83
|
+
node49
|
|
84
|
+
} from "./shell-dgt8mkj3.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./shell-
|
|
86
|
+
Info6,
|
|
87
|
+
Service38,
|
|
88
|
+
node41
|
|
89
|
+
} from "./shell-smcy5e0a.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./shell-
|
|
91
|
+
Service25,
|
|
92
|
+
node28
|
|
93
|
+
} from "./shell-xfn62cer.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./shell-
|
|
95
|
+
Service43,
|
|
96
|
+
node46
|
|
97
|
+
} from "./shell-fh0zj1e1.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./shell-
|
|
99
|
+
Service24,
|
|
100
|
+
node27
|
|
101
|
+
} from "./shell-jqhg1hxk.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./shell-
|
|
103
|
+
Service17,
|
|
104
|
+
node20
|
|
105
|
+
} from "./shell-gahyzsq3.js";
|
|
106
106
|
import {
|
|
107
107
|
ID3,
|
|
108
|
-
Service20,
|
|
109
|
-
node23
|
|
110
|
-
} from "./shell-gwt0t2e2.js";
|
|
111
|
-
import {
|
|
112
108
|
Service16,
|
|
113
109
|
node19
|
|
114
|
-
} from "./shell-
|
|
110
|
+
} from "./shell-nrscgsz0.js";
|
|
111
|
+
import {
|
|
112
|
+
Service48,
|
|
113
|
+
node52
|
|
114
|
+
} from "./shell-thev1fqr.js";
|
|
115
115
|
import {
|
|
116
116
|
StrategyID2,
|
|
117
|
-
|
|
117
|
+
Info9,
|
|
118
118
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./shell-
|
|
119
|
+
Service47,
|
|
120
|
+
node51
|
|
121
|
+
} from "./shell-ygcwaq5r.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./shell-
|
|
123
|
+
Service20,
|
|
124
|
+
node23
|
|
125
|
+
} from "./shell-zm3q7mex.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
128
|
} from "./shell-9rqn6x4v.js";
|
|
@@ -143,49 +143,49 @@ var mutable = (value) => value;
|
|
|
143
143
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
144
144
|
var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
145
145
|
const app = yield* Metadata2;
|
|
146
|
-
const agents = yield*
|
|
147
|
-
const aisdk = yield*
|
|
148
|
-
const providers = yield*
|
|
149
|
-
const models = yield*
|
|
150
|
-
const commands = yield*
|
|
151
|
-
const bus = yield*
|
|
152
|
-
const integration = yield*
|
|
153
|
-
const kv = yield*
|
|
154
|
-
const mcp = yield*
|
|
155
|
-
const location = yield*
|
|
156
|
-
const reference = yield*
|
|
157
|
-
const rpc = yield*
|
|
158
|
-
const skill = yield*
|
|
159
|
-
const tools = yield*
|
|
160
|
-
const vcs = yield*
|
|
161
|
-
const websearch = yield*
|
|
162
|
-
const generate = yield*
|
|
163
|
-
const permission = yield*
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const sessions = yield*
|
|
166
|
-
const persistentPty = yield*
|
|
167
|
-
const locations = yield*
|
|
168
|
-
const worktrees = yield*
|
|
169
|
-
const worktreeStrategies = yield*
|
|
146
|
+
const agents = yield* Service63;
|
|
147
|
+
const aisdk = yield* Service57;
|
|
148
|
+
const providers = yield* Service76;
|
|
149
|
+
const models = yield* Service72;
|
|
150
|
+
const commands = yield* Service44;
|
|
151
|
+
const bus = yield* Service83;
|
|
152
|
+
const integration = yield* Service77;
|
|
153
|
+
const kv = yield* Service75;
|
|
154
|
+
const mcp = yield* Service36;
|
|
155
|
+
const location = yield* Service79;
|
|
156
|
+
const reference = yield* Service45;
|
|
157
|
+
const rpc = yield* Service24;
|
|
158
|
+
const skill = yield* Service38;
|
|
159
|
+
const tools = yield* Service40;
|
|
160
|
+
const vcs = yield* Service17;
|
|
161
|
+
const websearch = yield* Service16;
|
|
162
|
+
const generate = yield* Service20;
|
|
163
|
+
const permission = yield* Service60;
|
|
164
|
+
const hooks = yield* Service73;
|
|
165
|
+
const sessions = yield* Service25;
|
|
166
|
+
const persistentPty = yield* Service43;
|
|
167
|
+
const locations = yield* Service59;
|
|
168
|
+
const worktrees = yield* Service47;
|
|
169
|
+
const worktreeStrategies = yield* Service48;
|
|
170
170
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
|
-
const locationInfo = () => new
|
|
171
|
+
const locationInfo = () => new Info31({
|
|
172
172
|
directory: location.directory,
|
|
173
173
|
workspaceID: location.workspaceID,
|
|
174
174
|
project: location.project
|
|
175
175
|
});
|
|
176
176
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
177
177
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
178
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
178
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID10.make(input.location.workspace)
|
|
179
179
|
});
|
|
180
180
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
181
181
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
182
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
182
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info9);
|
|
183
183
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
184
184
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
185
|
-
const location = yield*
|
|
186
|
-
const agents = yield*
|
|
185
|
+
const location = yield* Service79;
|
|
186
|
+
const agents = yield* Service63;
|
|
187
187
|
return {
|
|
188
|
-
location: new
|
|
188
|
+
location: new Info31({
|
|
189
189
|
directory: location.directory,
|
|
190
190
|
workspaceID: location.workspaceID,
|
|
191
191
|
project: location.project
|
|
@@ -217,10 +217,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
217
217
|
transform: (callback) => agents.transform((editor) => {
|
|
218
218
|
callback({
|
|
219
219
|
list: () => mutable(editor.list()),
|
|
220
|
-
get: (id) => mutable(editor.get(
|
|
221
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
222
|
-
update: (id, update) => editor.update(
|
|
223
|
-
remove: (id) => editor.remove(
|
|
220
|
+
get: (id) => mutable(editor.get(ID9.make(id))),
|
|
221
|
+
default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
|
|
222
|
+
update: (id, update) => editor.update(ID9.make(id), update),
|
|
223
|
+
remove: (id) => editor.remove(ID9.make(id))
|
|
224
224
|
});
|
|
225
225
|
})
|
|
226
226
|
},
|
|
@@ -254,22 +254,22 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
254
254
|
},
|
|
255
255
|
provider: {
|
|
256
256
|
list: () => response(providers.available()),
|
|
257
|
-
get: (input) => providers.get(
|
|
257
|
+
get: (input) => providers.get(ID13.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
258
258
|
reload: providers.reload,
|
|
259
259
|
transform: (callback) => providers.transform((editor) => {
|
|
260
260
|
callback({
|
|
261
261
|
list: editor.list,
|
|
262
|
-
get: (id) => editor.get(
|
|
262
|
+
get: (id) => editor.get(ID13.make(id)),
|
|
263
263
|
add: (definition) => editor.add({
|
|
264
264
|
...definition,
|
|
265
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
265
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
266
266
|
}),
|
|
267
|
-
update: (id, update) => editor.update(
|
|
268
|
-
remove: (id) => editor.remove(
|
|
267
|
+
update: (id, update) => editor.update(ID13.make(id), update),
|
|
268
|
+
remove: (id) => editor.remove(ID13.make(id)),
|
|
269
269
|
models: {
|
|
270
|
-
set: (id, models) => editor.models.set(
|
|
271
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
272
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
270
|
+
set: (id, models) => editor.models.set(ID13.make(id), models),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID11.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID11.make(modelID))
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
})
|
|
@@ -279,17 +279,17 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
279
279
|
default: () => response(models.default()),
|
|
280
280
|
reload: models.reload,
|
|
281
281
|
transform: (callback) => models.transform((editor) => callback({
|
|
282
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
283
|
-
get: (providerID, modelID) => editor.get(
|
|
284
|
-
update: (providerID, modelID, update) => editor.update(
|
|
285
|
-
remove: (providerID, modelID) => editor.remove(
|
|
282
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID13.make(providerID), ID11.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID11.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID11.make(modelID)),
|
|
286
286
|
default: {
|
|
287
287
|
get: editor.default.get,
|
|
288
|
-
set: (providerID, modelID) => editor.default.set(
|
|
288
|
+
set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID11.make(modelID))
|
|
289
289
|
},
|
|
290
290
|
provider: {
|
|
291
291
|
list: editor.provider.list,
|
|
292
|
-
get: (id) => editor.provider.get(
|
|
292
|
+
get: (id) => editor.provider.get(ID13.make(id))
|
|
293
293
|
}
|
|
294
294
|
}))
|
|
295
295
|
},
|
|
@@ -312,14 +312,14 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
312
312
|
integration: {
|
|
313
313
|
list: () => response(integration.list()),
|
|
314
314
|
get: Effect.fn(function* (input) {
|
|
315
|
-
const item = yield* integration.get(
|
|
315
|
+
const item = yield* integration.get(ID14.make(input.integrationID));
|
|
316
316
|
if (!item)
|
|
317
317
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
318
318
|
return yield* response(Effect.succeed(item));
|
|
319
319
|
}),
|
|
320
320
|
connect: {
|
|
321
321
|
key: (input) => integration.connection.key({
|
|
322
|
-
integrationID:
|
|
322
|
+
integrationID: ID14.make(input.integrationID),
|
|
323
323
|
key: input.key,
|
|
324
324
|
answer: input.answer,
|
|
325
325
|
label: input.label
|
|
@@ -327,60 +327,60 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
327
327
|
},
|
|
328
328
|
oauth: {
|
|
329
329
|
connect: (input) => response(integration.oauth.connect({
|
|
330
|
-
integrationID:
|
|
330
|
+
integrationID: ID14.make(input.integrationID),
|
|
331
331
|
methodID: MethodID2.make(input.methodID),
|
|
332
332
|
answer: input.answer,
|
|
333
333
|
label: input.label
|
|
334
334
|
})),
|
|
335
335
|
status: (input) => response(integration.oauth.status({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID14.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})),
|
|
339
339
|
complete: (input) => integration.oauth.complete({
|
|
340
|
-
integrationID:
|
|
340
|
+
integrationID: ID14.make(input.integrationID),
|
|
341
341
|
attemptID: AttemptID2.make(input.attemptID),
|
|
342
342
|
code: input.code
|
|
343
343
|
}),
|
|
344
344
|
cancel: (input) => integration.oauth.cancel({
|
|
345
|
-
integrationID:
|
|
345
|
+
integrationID: ID14.make(input.integrationID),
|
|
346
346
|
attemptID: AttemptID2.make(input.attemptID)
|
|
347
347
|
})
|
|
348
348
|
},
|
|
349
349
|
command: {
|
|
350
350
|
connect: (input) => response(integration.command.connect({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID14.make(input.integrationID),
|
|
352
352
|
methodID: MethodID2.make(input.methodID),
|
|
353
353
|
label: input.label
|
|
354
354
|
})),
|
|
355
355
|
status: (input) => response(integration.command.status({
|
|
356
|
-
integrationID:
|
|
356
|
+
integrationID: ID14.make(input.integrationID),
|
|
357
357
|
attemptID: AttemptID2.make(input.attemptID)
|
|
358
358
|
})),
|
|
359
359
|
cancel: (input) => integration.command.cancel({
|
|
360
|
-
integrationID:
|
|
360
|
+
integrationID: ID14.make(input.integrationID),
|
|
361
361
|
attemptID: AttemptID2.make(input.attemptID)
|
|
362
362
|
})
|
|
363
363
|
},
|
|
364
364
|
reload: integration.reload,
|
|
365
365
|
connection: {
|
|
366
|
-
active: (id) => integration.connection.active(
|
|
367
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
366
|
+
active: (id) => integration.connection.active(ID14.make(id)),
|
|
367
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection),
|
|
368
368
|
status: (input) => integration.connection.status({
|
|
369
|
-
integrationID:
|
|
370
|
-
connection: input.connection.type === "credential" ? { ...input.connection, id:
|
|
369
|
+
integrationID: ID14.make(input.integrationID),
|
|
370
|
+
connection: input.connection.type === "credential" ? { ...input.connection, id: ID15.make(input.connection.id) } : input.connection,
|
|
371
371
|
status: input.status
|
|
372
372
|
})
|
|
373
373
|
},
|
|
374
374
|
transform: (callback) => integration.transform((editor) => {
|
|
375
375
|
callback({
|
|
376
376
|
list: () => mutable(editor.list()),
|
|
377
|
-
get: (id) => mutable(editor.get(
|
|
378
|
-
update: (id, update) => editor.update(
|
|
379
|
-
remove: (id) => editor.remove(
|
|
377
|
+
get: (id) => mutable(editor.get(ID14.make(id))),
|
|
378
|
+
update: (id, update) => editor.update(ID14.make(id), update),
|
|
379
|
+
remove: (id) => editor.remove(ID14.make(id)),
|
|
380
380
|
method: {
|
|
381
|
-
list: (id) => editor.method.list(
|
|
381
|
+
list: (id) => editor.method.list(ID14.make(id)),
|
|
382
382
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
383
|
-
remove: (id, method) => editor.method.remove(
|
|
383
|
+
remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
384
384
|
}
|
|
385
385
|
});
|
|
386
386
|
})
|
|
@@ -390,10 +390,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
390
390
|
const ref = locationRef(input);
|
|
391
391
|
if (ref && !isCurrentLocation(ref))
|
|
392
392
|
return Effect.gen(function* () {
|
|
393
|
-
const location = yield*
|
|
394
|
-
const mcp = yield*
|
|
393
|
+
const location = yield* Service79;
|
|
394
|
+
const mcp = yield* Service36;
|
|
395
395
|
return {
|
|
396
|
-
location: new
|
|
396
|
+
location: new Info31({
|
|
397
397
|
directory: location.directory,
|
|
398
398
|
workspaceID: location.workspaceID,
|
|
399
399
|
project: location.project
|
|
@@ -442,7 +442,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
442
442
|
callback({
|
|
443
443
|
list: () => mutable(editor.list()),
|
|
444
444
|
get: editor.get,
|
|
445
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
445
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info6)(value)),
|
|
446
446
|
update: editor.update,
|
|
447
447
|
remove: editor.remove
|
|
448
448
|
});
|
|
@@ -545,31 +545,31 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
545
545
|
return context;
|
|
546
546
|
});
|
|
547
547
|
var requirements3 = LayerNode.group([
|
|
548
|
-
|
|
549
|
-
node78,
|
|
550
|
-
node51,
|
|
548
|
+
node47,
|
|
551
549
|
node66,
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
550
|
+
node60,
|
|
551
|
+
node80,
|
|
552
|
+
node76,
|
|
553
|
+
node48,
|
|
554
|
+
node87,
|
|
555
|
+
node81,
|
|
556
|
+
node79,
|
|
557
|
+
node39,
|
|
558
|
+
node83,
|
|
559
|
+
node49,
|
|
560
|
+
node27,
|
|
561
|
+
node41,
|
|
557
562
|
node43,
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
563
|
+
node20,
|
|
564
|
+
node19,
|
|
565
|
+
node51,
|
|
561
566
|
node52,
|
|
562
|
-
node53,
|
|
563
|
-
node21,
|
|
564
567
|
node23,
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
node32,
|
|
571
|
-
node29,
|
|
572
|
-
node74
|
|
568
|
+
node63,
|
|
569
|
+
node77,
|
|
570
|
+
node28,
|
|
571
|
+
node46,
|
|
572
|
+
node62
|
|
573
573
|
]);
|
|
574
574
|
function storage2(kv, pluginID) {
|
|
575
575
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -596,7 +596,7 @@ function methodImplementation(input) {
|
|
|
596
596
|
if ("authorize" in input) {
|
|
597
597
|
const refresh = input.refresh;
|
|
598
598
|
return {
|
|
599
|
-
integrationID:
|
|
599
|
+
integrationID: ID14.make(input.integrationID),
|
|
600
600
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
601
601
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
602
602
|
if (authorization.mode === "auto") {
|
|
@@ -616,18 +616,18 @@ function methodImplementation(input) {
|
|
|
616
616
|
}
|
|
617
617
|
if (input.method.type === "env") {
|
|
618
618
|
return {
|
|
619
|
-
integrationID:
|
|
619
|
+
integrationID: ID14.make(input.integrationID),
|
|
620
620
|
method: input.method
|
|
621
621
|
};
|
|
622
622
|
}
|
|
623
623
|
if (input.method.type === "command") {
|
|
624
624
|
return {
|
|
625
|
-
integrationID:
|
|
625
|
+
integrationID: ID14.make(input.integrationID),
|
|
626
626
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
629
|
return {
|
|
630
|
-
integrationID:
|
|
630
|
+
integrationID: ID14.make(input.integrationID),
|
|
631
631
|
method: input.method
|
|
632
632
|
};
|
|
633
633
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./shell-
|
|
3
|
+
Service66
|
|
4
|
+
} from "./shell-zp34c0n6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./shell-
|
|
6
|
+
Service71
|
|
7
|
+
} from "./shell-qrtps7c6.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
10
|
} from "./shell-qsdy395h.js";
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin17
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin17 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service66;
|
|
27
|
+
const output = yield* Service71;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin45 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin17, exports_tool_output };
|