@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,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./shell-
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./shell-ap9eas8m.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./shell-
|
|
6
|
+
node70
|
|
7
|
+
} from "./shell-4238gvvk.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./shell-
|
|
9
|
+
Service4,
|
|
10
|
+
node6
|
|
11
|
+
} from "./shell-nfmhh18x.js";
|
|
12
12
|
import {
|
|
13
13
|
Service35
|
|
14
14
|
} from "./shell-619r8v3y.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node18,
|
|
17
17
|
ID2
|
|
18
|
-
} from "./shell-
|
|
18
|
+
} from "./shell-jt8t0ecz.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./shell-
|
|
20
|
+
Service9,
|
|
21
|
+
node11
|
|
22
|
+
} from "./shell-p42hj8p8.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./shell-
|
|
27
|
+
} from "./shell-29yjt9fr.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make7,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./shell-
|
|
31
|
+
} from "./shell-dhdpfhyp.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./shell-
|
|
34
|
+
Service11,
|
|
35
|
+
node13
|
|
36
|
+
} from "./shell-6wsfawph.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./shell-
|
|
38
|
+
Service10,
|
|
39
|
+
node12
|
|
40
|
+
} from "./shell-fd636bra.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
43
|
} from "./shell-9rqn6x4v.js";
|
|
@@ -127,12 +127,12 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
127
127
|
});
|
|
128
128
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
129
|
const registry = yield* Service35;
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
134
|
-
const bus = yield*
|
|
135
|
-
const updates = yield*
|
|
130
|
+
const sdk = yield* Service11;
|
|
131
|
+
const instance = yield* Service9;
|
|
132
|
+
const sources = yield* Service4;
|
|
133
|
+
const modules = yield* make7();
|
|
134
|
+
const bus = yield* Service83;
|
|
135
|
+
const updates = yield* Service10;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
node7,
|
|
212
|
-
node10,
|
|
210
|
+
node18,
|
|
213
211
|
node13,
|
|
212
|
+
node11,
|
|
214
213
|
node6,
|
|
215
|
-
|
|
214
|
+
node12,
|
|
215
|
+
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node70,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./shell-
|
|
2
|
+
ID13
|
|
3
|
+
} from "./shell-6zck5j37.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./shell-
|
|
6
|
+
} from "./shell-cr81t2vd.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -10,7 +10,7 @@ var exports_retry = {};
|
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make6,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -55,7 +55,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
55
55
|
return { retry: true, attempt, delay: normalized };
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
59
59
|
const decide = yield* policy2(sessionID);
|
|
60
60
|
const wait = (input) => Effect.gen(function* () {
|
|
61
61
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -72,4 +72,4 @@ var make11 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
72
72
|
return { decide, wait };
|
|
73
73
|
});
|
|
74
74
|
|
|
75
|
-
export { isRetryable2, policy2,
|
|
75
|
+
export { isRetryable2, policy2, make6, exports_retry };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./shell-
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./shell-ap9eas8m.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
7
|
} from "./shell-rdw6cm16.js";
|
|
@@ -10,36 +10,36 @@ import {
|
|
|
10
10
|
} from "./shell-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
Agent: () => exports_agent3,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event13,
|
|
18
|
+
ID: () => ID9,
|
|
19
|
+
Info: () => Info13,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service63,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node66
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event13 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID9 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID9.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info13 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service63 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info13.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID9.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service63.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID9.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID9.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node66 = makeLocationNode({ service: Service63, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID9, Name3, defaultID2, Color2, Info13, Service63, node66, exports_agent3, Event13 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./shell-
|
|
6
|
+
} from "./shell-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./shell-
|
|
11
|
+
Service38,
|
|
12
|
+
node41
|
|
13
|
+
} from "./shell-smcy5e0a.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./shell-9rqn6x4v.js";
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
19
|
var exports_instructions5 = {};
|
|
20
20
|
__export(exports_instructions5, {
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service37,
|
|
22
22
|
SkillInstructions: () => exports_instructions5,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node40
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service37 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service38;
|
|
67
|
+
return Service37.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
71
|
-
key:
|
|
70
|
+
return make21({
|
|
71
|
+
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [node41] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service37, node40, exports_instructions5 };
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info12,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info12 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info12, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./shell-
|
|
4
|
+
} from "./shell-pcwxzhdm.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./shell-
|
|
7
|
+
Service83,
|
|
8
|
+
node87
|
|
9
|
+
} from "./shell-ap9eas8m.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
12
|
} from "./shell-5t3nmthw.js";
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
} from "./shell-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./shell-
|
|
18
|
+
} from "./shell-4j10ng35.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./shell-
|
|
20
|
+
Service62,
|
|
21
|
+
node65
|
|
22
|
+
} from "./shell-xkx2jhzt.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./shell-
|
|
24
|
+
Service27,
|
|
25
|
+
node31
|
|
26
|
+
} from "./shell-b9x5zb31.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service3,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
41
|
layer: () => layer3,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node4
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service3 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var layer3 = Layer.effect(
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer3 = Layer.effect(Service3, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service27;
|
|
65
|
+
const store = yield* Service62;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service3.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
150
|
+
var node4 = makeLocationNode({
|
|
151
|
+
service: Service3,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [
|
|
153
|
+
deps: [node87, llmClient2, node31, node65, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service3, isUntitled2, layer3, node4, exports_title };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./shell-
|
|
2
|
+
Service83
|
|
3
|
+
} from "./shell-ap9eas8m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./shell-
|
|
5
|
+
Service79
|
|
6
|
+
} from "./shell-xp0mhm80.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./shell-
|
|
9
|
+
Service36
|
|
10
|
+
} from "./shell-y07tpj3e.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin47
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin47 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service79;
|
|
200
|
+
const mcp = yield* Service36;
|
|
201
|
+
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin47, exports_command2 };
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
AbsolutePath2
|
|
3
3
|
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./shell-
|
|
5
|
+
Service79
|
|
6
|
+
} from "./shell-xp0mhm80.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./shell-
|
|
8
|
+
Service66
|
|
9
|
+
} from "./shell-zp34c0n6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./shell-
|
|
11
|
+
Service48
|
|
12
|
+
} from "./shell-thev1fqr.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
15
|
} from "./shell-qsdy395h.js";
|
|
@@ -21,19 +21,19 @@ import {
|
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin15
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin15 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service66;
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service48;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin37 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin15, exports_worktree };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./shell-
|
|
3
|
+
} from "./shell-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./shell-9rqn6x4v.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin36,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin36 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin16 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin36, exports_exa };
|