@opencode/core 0.0.0-dev-20781 → 0.0.0-dev-20783
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 +65 -65
- package/dist/aisdk-native.js +69 -69
- package/dist/aisdk.js +74 -74
- package/dist/app.js +7 -7
- package/dist/bus.js +58 -58
- package/dist/chunks/{skill-rhjbct0v.js → skill-02nrjc1r.js} +5 -5
- package/dist/chunks/{skill-pacyqc5f.js → skill-03g2t9hw.js} +7 -7
- package/dist/chunks/{skill-eknnx2sm.js → skill-04cccj5a.js} +8 -8
- package/dist/chunks/{skill-j3042cpm.js → skill-04w8c0ba.js} +15 -15
- package/dist/chunks/{skill-0x93t62e.js → skill-06jffbs3.js} +16 -16
- package/dist/chunks/{skill-23rmqmtf.js → skill-070wkmva.js} +26 -26
- package/dist/chunks/{skill-xcajktjp.js → skill-07eh7qw4.js} +11 -11
- package/dist/chunks/{skill-8vhg3hp7.js → skill-0jta6v3t.js} +24 -24
- package/dist/chunks/{skill-rwkhrqfs.js → skill-0rkq89b0.js} +20 -20
- package/dist/chunks/{skill-aqwwqdgv.js → skill-0vpaabdz.js} +22 -22
- package/dist/chunks/{skill-gztrs2mc.js → skill-13zfdqkn.js} +12 -12
- package/dist/chunks/{skill-axe3mf62.js → skill-143qq2q9.js} +3 -3
- package/dist/chunks/{skill-5fevf6pk.js → skill-1b6q68c3.js} +10 -10
- package/dist/chunks/{skill-84h8c373.js → skill-1dvck2a7.js} +1 -1
- package/dist/chunks/{skill-7nsmwq86.js → skill-1k80zed8.js} +4 -4
- package/dist/chunks/{skill-gyfjdbw7.js → skill-1pn8hfyw.js} +21 -21
- package/dist/chunks/{skill-8hkfkb27.js → skill-1tbv6vyw.js} +6 -6
- package/dist/chunks/{skill-gvbf22kd.js → skill-1tegpzkj.js} +46 -46
- package/dist/chunks/{skill-56gdpj1q.js → skill-1ygqh575.js} +7 -7
- package/dist/chunks/{skill-wj76ss2k.js → skill-277eer69.js} +3 -3
- package/dist/chunks/{skill-bp8fbaqn.js → skill-29qym6xz.js} +3 -3
- package/dist/chunks/{skill-fa0798qr.js → skill-2jy61na5.js} +10 -10
- package/dist/chunks/{skill-dhmh7aw6.js → skill-2vs2nh1n.js} +3 -3
- package/dist/chunks/{skill-nqvbngtv.js → skill-2xsrshre.js} +1 -1
- package/dist/chunks/{skill-zwq0tthq.js → skill-2z1v9gjs.js} +25 -25
- package/dist/chunks/{skill-k6zzyzjn.js → skill-358bewed.js} +39 -39
- package/dist/chunks/{skill-2fyzv3xc.js → skill-3b53nk28.js} +4 -4
- package/dist/chunks/{skill-b6gygkdw.js → skill-3hwn7j4h.js} +4 -4
- package/dist/chunks/{skill-pp12reev.js → skill-3n6qd5yb.js} +1 -1
- package/dist/chunks/{skill-wzyrkyja.js → skill-3njy147n.js} +12 -12
- package/dist/chunks/{skill-3jxdk58w.js → skill-479k0gs5.js} +14 -14
- package/dist/chunks/{skill-q9cf9tqe.js → skill-485qxas3.js} +7 -7
- package/dist/chunks/{skill-d2czbp48.js → skill-4j4tgtq5.js} +3 -3
- package/dist/chunks/{skill-6xbm3sg4.js → skill-4qhq17ss.js} +25 -25
- package/dist/chunks/{skill-a8bn8zg0.js → skill-50mzsvk4.js} +3 -3
- package/dist/chunks/{skill-fredntnj.js → skill-52v53gqf.js} +33 -33
- package/dist/chunks/{skill-hmmv6qf0.js → skill-561ssg1x.js} +6 -6
- package/dist/chunks/{skill-qg49b3cx.js → skill-58sep7qz.js} +12 -12
- package/dist/chunks/{skill-k4g4a3k8.js → skill-58vc7jc3.js} +10 -10
- package/dist/chunks/{skill-ygyswz88.js → skill-5b4dqe4n.js} +23 -23
- package/dist/chunks/{skill-0982s1gm.js → skill-5cj392th.js} +43 -43
- package/dist/chunks/{skill-6yj2dbmh.js → skill-5gbtv9te.js} +83 -83
- package/dist/chunks/{skill-g8d7jebf.js → skill-6707cyp3.js} +14 -14
- package/dist/chunks/{skill-gqmrynpn.js → skill-674dsst4.js} +37 -37
- package/dist/chunks/{skill-x4q7srnc.js → skill-67j1ykj9.js} +9 -9
- package/dist/chunks/{skill-srq8z0b0.js → skill-6b8kbxwq.js} +7 -7
- package/dist/chunks/{skill-a46s6kbk.js → skill-6cw3zjxa.js} +31 -31
- package/dist/chunks/{skill-v0es1rhs.js → skill-6g7e4dd5.js} +5 -5
- package/dist/chunks/{skill-q6y5a10k.js → skill-6krh7jxd.js} +9 -9
- package/dist/chunks/{skill-pnp2bzmq.js → skill-6mp9tdn9.js} +31 -31
- package/dist/chunks/{skill-ep81cf61.js → skill-6qpmcf3t.js} +34 -34
- package/dist/chunks/{skill-8fxm663j.js → skill-6ty2jb9x.js} +7 -7
- package/dist/chunks/{skill-hv3pvze4.js → skill-6vv39ctp.js} +4 -4
- package/dist/chunks/{skill-9g69dcg6.js → skill-6yzz6ydy.js} +21 -20
- package/dist/chunks/{skill-f75zav2x.js → skill-71az546q.js} +1 -1
- package/dist/chunks/{skill-r5x6zcsm.js → skill-73tb2d7t.js} +2 -2
- package/dist/chunks/{skill-1fps8nz6.js → skill-77w2ws7p.js} +29 -29
- package/dist/chunks/{skill-p3sjvsty.js → skill-7ab8v4x8.js} +65 -65
- package/dist/chunks/{skill-3mnvf6p9.js → skill-7fctep6b.js} +15 -15
- package/dist/chunks/{skill-b3ynb7d3.js → skill-7pk0apss.js} +9 -9
- package/dist/chunks/{skill-dqt5g3hk.js → skill-7x2z0ng4.js} +22 -22
- package/dist/chunks/{skill-ezxbem9w.js → skill-82n5twj0.js} +33 -33
- package/dist/chunks/{skill-w1eejvng.js → skill-84txncab.js} +4 -4
- package/dist/chunks/{skill-jtvmzzv1.js → skill-8awwapf3.js} +34 -34
- package/dist/chunks/{skill-0dygnakk.js → skill-8c7secgm.js} +2 -2
- package/dist/chunks/skill-8dhds0dv.js +26 -0
- package/dist/chunks/{skill-was7srj9.js → skill-8mfdap3f.js} +7 -7
- package/dist/chunks/{skill-h6pmw8x2.js → skill-8x58wqts.js} +16 -16
- package/dist/chunks/{skill-h5s09njq.js → skill-93j9r8vr.js} +9 -9
- package/dist/chunks/{skill-3rcp1bkh.js → skill-9a1bht1a.js} +1 -1
- package/dist/chunks/{skill-kb9j3d72.js → skill-9e5bzkjp.js} +1 -1
- package/dist/chunks/{skill-tpw6cwsb.js → skill-9hn6k4tm.js} +7 -7
- package/dist/chunks/{skill-101tmw0e.js → skill-9kdvs0qs.js} +14 -14
- package/dist/chunks/{skill-9y9sk2j9.js → skill-9pa8tak9.js} +1 -1
- package/dist/chunks/{skill-v8xkm7fr.js → skill-9tqbbpx7.js} +6 -6
- package/dist/chunks/{skill-c2158jrd.js → skill-9vxq3aev.js} +21 -21
- package/dist/chunks/{skill-aaet6srn.js → skill-a28va38p.js} +7 -7
- package/dist/chunks/{skill-0yc8d83b.js → skill-a4rf0zrw.js} +32 -32
- package/dist/chunks/{skill-a4pr5f9r.js → skill-a9m7pnx7.js} +327 -327
- package/dist/chunks/{skill-w30nb1yc.js → skill-afv5k542.js} +14 -14
- package/dist/chunks/{skill-y72zmemf.js → skill-ahd542yp.js} +7 -7
- package/dist/chunks/{skill-8rhr56bn.js → skill-akepvz7y.js} +6 -6
- package/dist/chunks/{skill-1pc8eaj9.js → skill-amkdz55e.js} +20 -20
- package/dist/chunks/{skill-9qtntmk8.js → skill-ar95rhcv.js} +20 -20
- package/dist/chunks/{skill-44ntahsq.js → skill-at2p4n3p.js} +48 -48
- package/dist/chunks/{skill-1r17h9m8.js → skill-b9m9jd47.js} +4 -4
- package/dist/chunks/{skill-msyhh0fb.js → skill-be66sdnk.js} +21 -21
- package/dist/chunks/{skill-nh8j4n7v.js → skill-bfj3mgeh.js} +17 -17
- package/dist/chunks/{skill-g4nx878d.js → skill-brak4p4d.js} +2 -2
- package/dist/chunks/{skill-phyzxvmd.js → skill-bsadxmtb.js} +26 -26
- package/dist/chunks/{skill-n3dgsn25.js → skill-bsx3ef4h.js} +21 -21
- package/dist/chunks/{skill-f86e2e8r.js → skill-bvyrej0j.js} +10 -10
- package/dist/chunks/{skill-9xvep0td.js → skill-c0v64yz3.js} +26 -26
- package/dist/chunks/{skill-y56ehv6b.js → skill-c227t32y.js} +8 -8
- package/dist/chunks/{skill-2e488er1.js → skill-c22p0fvq.js} +8 -8
- package/dist/chunks/{skill-wbt93eb0.js → skill-catzw522.js} +8 -8
- package/dist/chunks/{skill-w4685zgx.js → skill-cen1dnrb.js} +18 -18
- package/dist/chunks/{skill-2kagsa96.js → skill-cr3znner.js} +11 -11
- package/dist/chunks/{skill-3w6er6cj.js → skill-cr9n7mfv.js} +3 -3
- package/dist/chunks/{skill-jzwe082a.js → skill-csj3nndk.js} +4 -4
- package/dist/chunks/{skill-exxr552c.js → skill-cvk1gt9h.js} +16 -16
- package/dist/chunks/{skill-d4he2qe1.js → skill-cwa6csj7.js} +7 -7
- package/dist/chunks/{skill-d49krybn.js → skill-d2zsdd4d.js} +19 -19
- package/dist/chunks/{skill-addxnjmp.js → skill-db2wf4at.js} +3 -3
- package/dist/chunks/{skill-tnc5t1gf.js → skill-dx79gnp7.js} +13 -13
- package/dist/chunks/{skill-081pqqr5.js → skill-dx8p2nff.js} +8 -8
- package/dist/chunks/skill-e0q146ww.js +253 -0
- package/dist/chunks/{skill-tg800t2p.js → skill-e337rshx.js} +3 -3
- package/dist/chunks/{skill-9nfy3y9e.js → skill-e6kg2nsz.js} +3 -3
- package/dist/chunks/{skill-f49cms5k.js → skill-e8jkaw67.js} +9 -9
- package/dist/chunks/{skill-03s39rhg.js → skill-ebjs1f3d.js} +46 -46
- package/dist/chunks/{skill-m8nz4hq1.js → skill-ed1z33yj.js} +45 -45
- package/dist/chunks/{skill-fa1arg82.js → skill-ejdjv965.js} +9 -9
- package/dist/chunks/{skill-8s6c6m5s.js → skill-en5h7jeg.js} +9 -9
- package/dist/chunks/{skill-xrdh4s04.js → skill-etg2w4gs.js} +15 -15
- package/dist/chunks/{skill-zkbzm8m2.js → skill-ew2ppw2e.js} +5 -5
- package/dist/chunks/{skill-hnvvtk4g.js → skill-f63q8jpn.js} +8 -8
- package/dist/chunks/{skill-9aaf7n3g.js → skill-f6c7zxgy.js} +28 -28
- package/dist/chunks/{skill-jvvc3tfq.js → skill-faj2svbs.js} +7 -7
- package/dist/chunks/{skill-f2k9zecx.js → skill-fbh9pqtx.js} +1 -1
- package/dist/chunks/{skill-6qcjx6jz.js → skill-fkxxfd9n.js} +41 -41
- package/dist/chunks/{skill-rt6zmwqx.js → skill-fm4cwmp6.js} +7 -7
- package/dist/chunks/{skill-8ank75fn.js → skill-fqtvmpfq.js} +7 -7
- package/dist/chunks/{skill-xfkhnva0.js → skill-frhb8ew0.js} +44 -44
- package/dist/chunks/{skill-qpj0be80.js → skill-g79ggcnn.js} +22 -22
- package/dist/chunks/{skill-9pnhsxgt.js → skill-gdyarp84.js} +12 -12
- package/dist/chunks/{skill-n6jn037m.js → skill-ge8vx2at.js} +9 -9
- package/dist/chunks/{skill-mb0ms3nf.js → skill-gse9956c.js} +1 -1
- package/dist/chunks/{skill-2fb8egyg.js → skill-gv54abtn.js} +13 -13
- package/dist/chunks/{skill-8es2cp98.js → skill-gz9w2prw.js} +20 -20
- package/dist/chunks/{skill-zfa7ynd8.js → skill-h5crbhmb.js} +3 -3
- package/dist/chunks/{skill-kb5tjxj1.js → skill-h6vf0ja8.js} +4 -4
- package/dist/chunks/{skill-6ev121br.js → skill-h9s33j2f.js} +8 -8
- package/dist/chunks/{skill-j945ts23.js → skill-hbtj3vsv.js} +1 -1
- package/dist/chunks/{skill-zd30eb5w.js → skill-hbyhqfhs.js} +3 -3
- package/dist/chunks/{skill-tp1xemq3.js → skill-hddss928.js} +12 -12
- package/dist/chunks/{skill-2a5m3afh.js → skill-hgz4x7wa.js} +3 -3
- package/dist/chunks/{skill-8yzx13cr.js → skill-hp0b1pmt.js} +12 -12
- package/dist/chunks/{skill-7n2amz1z.js → skill-hpvzebmm.js} +28 -28
- package/dist/chunks/{skill-n95b3jav.js → skill-ht5y0zrb.js} +4 -4
- package/dist/chunks/{skill-wg5wmzb0.js → skill-hvferw5v.js} +86 -86
- package/dist/chunks/{skill-qs3fcyw9.js → skill-hwyt46md.js} +8 -8
- package/dist/chunks/{skill-30h8y4wg.js → skill-hyqf44qd.js} +13 -13
- package/dist/chunks/{skill-2nhb9q09.js → skill-j2p13e9j.js} +5 -5
- package/dist/chunks/{skill-72tms615.js → skill-j6adbkc7.js} +4 -4
- package/dist/chunks/{skill-dnhkz8s3.js → skill-jehq231j.js} +28 -28
- package/dist/chunks/{skill-t4aysb4r.js → skill-js8wertj.js} +10 -10
- package/dist/chunks/{skill-qyy35tkn.js → skill-jvw9kwwj.js} +16 -16
- package/dist/chunks/{skill-dpkg50ah.js → skill-jwcy2c2z.js} +3 -3
- package/dist/chunks/{skill-nw07r3nn.js → skill-k1591j5w.js} +31 -31
- package/dist/chunks/{skill-1epzdntc.js → skill-k9bkx1zz.js} +7 -7
- package/dist/chunks/{skill-j7e2g8sj.js → skill-kb1jjea1.js} +2 -2
- package/dist/chunks/{skill-5wdex9k6.js → skill-khjasm6z.js} +12 -12
- package/dist/chunks/{skill-w8pg63ym.js → skill-kqj1wybc.js} +5 -5
- package/dist/chunks/{skill-ekmt4dkt.js → skill-krsmb9br.js} +20 -20
- package/dist/chunks/{skill-pjsqfx9m.js → skill-ktw141zw.js} +1 -1
- package/dist/chunks/{skill-bnxmcyee.js → skill-kys722cf.js} +16 -16
- package/dist/chunks/{skill-ewdzx310.js → skill-m4sg2fj5.js} +12 -12
- package/dist/chunks/{skill-ez7zp3e7.js → skill-m8xkxnzs.js} +29 -29
- package/dist/chunks/{skill-gjfr9he2.js → skill-maqy4c71.js} +18 -18
- package/dist/chunks/{skill-0g9cdt2p.js → skill-mb5k0437.js} +40 -19
- package/dist/chunks/{skill-sk99bxzn.js → skill-mnsdmbv8.js} +30 -30
- package/dist/chunks/{skill-z6pwme65.js → skill-mp9rkdz7.js} +25 -25
- package/dist/chunks/{skill-zz8g2j7n.js → skill-msbzkdgs.js} +9 -9
- package/dist/chunks/{skill-m6vfs9yf.js → skill-p1qmfaz3.js} +24 -24
- package/dist/chunks/{skill-1dazxqgg.js → skill-ph5whc14.js} +4 -4
- package/dist/chunks/{skill-8btkd430.js → skill-pj2hw229.js} +24 -24
- package/dist/chunks/{skill-8m7g8697.js → skill-pnb89dtp.js} +7 -7
- package/dist/chunks/{skill-2erbc2h3.js → skill-q2frhkde.js} +23 -23
- package/dist/chunks/{skill-caqpfbyt.js → skill-q5bsz0vw.js} +31 -31
- package/dist/chunks/{skill-cx6aas0z.js → skill-qcgvqcx7.js} +21 -21
- package/dist/chunks/{skill-806yr8y0.js → skill-qx29skc5.js} +28 -28
- package/dist/chunks/{skill-fqevmj86.js → skill-r4cw7mx5.js} +20 -20
- package/dist/chunks/{skill-dp6nqh4c.js → skill-rj9txymb.js} +16 -16
- package/dist/chunks/{skill-w23m87nk.js → skill-rqzc1cst.js} +19 -19
- package/dist/chunks/{skill-p8y6aqjf.js → skill-s9vwt7sq.js} +3 -3
- package/dist/chunks/{skill-hdkng2sj.js → skill-scgrse2b.js} +3 -3
- package/dist/chunks/{skill-f8fswb9c.js → skill-skv2z4tm.js} +51 -51
- package/dist/chunks/{skill-1ms888gb.js → skill-sp8122mt.js} +19 -19
- package/dist/chunks/{skill-c8bydgjz.js → skill-sxzvkvgj.js} +5 -5
- package/dist/chunks/{skill-fr2jeztm.js → skill-t1wsc1h6.js} +3 -3
- package/dist/chunks/{skill-d216944b.js → skill-t2fc4mz5.js} +6 -6
- package/dist/chunks/{skill-fhht6xq8.js → skill-t98cn88e.js} +24 -24
- package/dist/chunks/{skill-zx3dt1g9.js → skill-taqj60ds.js} +33 -33
- package/dist/chunks/{skill-bamgg8ym.js → skill-tg951fdk.js} +32 -32
- package/dist/chunks/{skill-bshzcw3h.js → skill-tv7tv5a0.js} +17 -17
- package/dist/chunks/{skill-ydz57f2j.js → skill-v0p69kbt.js} +26 -26
- package/dist/chunks/{skill-42nr671v.js → skill-v1msdc2e.js} +36 -36
- package/dist/chunks/{skill-hdv0vf09.js → skill-v3s0gpe2.js} +29 -29
- package/dist/chunks/{skill-50vj6b7x.js → skill-vktyeyg6.js} +184 -184
- package/dist/chunks/{skill-0sqchc9v.js → skill-vnvshc90.js} +19 -19
- package/dist/chunks/{skill-fr1cxyer.js → skill-vq2x1gvt.js} +11 -11
- package/dist/chunks/{skill-k74v33jx.js → skill-vrrn8f4d.js} +13 -13
- package/dist/chunks/{skill-c6ew2z36.js → skill-vsja4zwp.js} +22 -22
- package/dist/chunks/{skill-ryrzae8t.js → skill-vym1cadz.js} +9 -9
- package/dist/chunks/{skill-ctdc98gg.js → skill-vzdahvpe.js} +4 -4
- package/dist/chunks/{skill-q3n416rm.js → skill-w113ygr5.js} +11 -11
- package/dist/chunks/{skill-8qm83tfv.js → skill-w2c8f02a.js} +7 -7
- package/dist/chunks/{skill-3pp8k01h.js → skill-w4y2b1bh.js} +19 -19
- package/dist/chunks/{skill-w39jehkq.js → skill-wh6zw745.js} +3 -3
- package/dist/chunks/{skill-z5pcptfa.js → skill-wkmwept5.js} +8 -8
- package/dist/chunks/{skill-vqv4cs72.js → skill-wnz7j1fm.js} +9 -9
- package/dist/chunks/{skill-99t05100.js → skill-x3y19w6y.js} +48 -48
- package/dist/chunks/{skill-7my2nqf1.js → skill-x861zb6t.js} +1 -1
- package/dist/chunks/{skill-xr3t68eq.js → skill-x9mpd4db.js} +12 -12
- package/dist/chunks/{skill-cytzxkff.js → skill-xq59p7zw.js} +17 -17
- package/dist/chunks/{skill-j9px0aej.js → skill-xrpv627y.js} +8 -8
- package/dist/chunks/{skill-xybefm6f.js → skill-xt4njr3s.js} +1 -1
- package/dist/chunks/{skill-x63k85f5.js → skill-xxcr61zh.js} +11 -11
- package/dist/chunks/{skill-v41s5yqp.js → skill-xzzfknmp.js} +13 -13
- package/dist/chunks/{skill-ryhvpn5p.js → skill-y5fhf6z7.js} +15 -15
- package/dist/chunks/{skill-7wcwbeb7.js → skill-ydhxanhm.js} +7 -7
- package/dist/chunks/{skill-j97ap7b3.js → skill-yejs50np.js} +13 -13
- package/dist/chunks/{skill-1y6tjs0p.js → skill-ys6pq9md.js} +27 -27
- package/dist/chunks/{skill-2epmt5yx.js → skill-ytph8xz7.js} +1 -1
- package/dist/chunks/{skill-ggzp6sfs.js → skill-yyf5mnjx.js} +5 -5
- package/dist/chunks/{skill-xrv71jf0.js → skill-z3w57r3v.js} +4 -4
- package/dist/chunks/{skill-0v6g35my.js → skill-z4xxkr3n.js} +7 -7
- package/dist/chunks/{skill-ajgpa6nv.js → skill-z5cmew6x.js} +21 -21
- package/dist/chunks/{skill-rsydsym6.js → skill-zrt7fk07.js} +34 -34
- package/dist/chunks/{skill-9xn9atma.js → skill-zs4thy15.js} +5 -5
- package/dist/chunks/{skill-d7j7my50.js → skill-zt541pk1.js} +9 -9
- package/dist/chunks/{skill-6rgya2y8.js → skill-zwdw4kt6.js} +16 -16
- package/dist/chunks/{skill-t1kwx79t.js → skill-zz99enan.js} +28 -28
- package/dist/chunks/{skill-x80v0bpa.js → skill-zzg514gs.js} +13 -13
- package/dist/codemode/instructions.js +2 -2
- package/dist/command.js +69 -69
- package/dist/config/discovery.js +64 -64
- package/dist/config/normalize.js +77 -77
- package/dist/config/plugin/agent.js +90 -90
- package/dist/config/plugin/command.js +167 -167
- package/dist/config/plugin/compaction.js +118 -118
- package/dist/config/plugin/compatibility.js +105 -105
- package/dist/config/plugin/formatter.js +89 -89
- package/dist/config/plugin/image.js +88 -88
- package/dist/config/plugin/instruction.js +69 -69
- package/dist/config/plugin/location-watcher.js +88 -88
- package/dist/config/plugin/mcp.js +97 -97
- package/dist/config/plugin/policy.js +89 -89
- package/dist/config/plugin/provider.js +88 -88
- package/dist/config/plugin/reference.js +90 -90
- package/dist/config/plugin/shell.js +90 -90
- package/dist/config/plugin/skill-file.js +80 -80
- package/dist/config/plugin/skill.js +108 -108
- package/dist/config/plugin/snapshot.js +88 -88
- package/dist/config/plugin/source.js +91 -91
- package/dist/config/plugin/tool-output.js +89 -89
- package/dist/config/plugin/websearch.js +89 -89
- package/dist/config/plugin/worktree.js +89 -89
- package/dist/config.js +88 -88
- package/dist/credential.js +69 -69
- package/dist/database/database.js +52 -52
- package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +10 -10
- 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 +10 -10
- package/dist/database/migration.gen.js +36 -36
- package/dist/database/migration.js +37 -37
- package/dist/database/v1-migration.bun.js +11 -11
- package/dist/effect/app-node-builder.js +237 -237
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +70 -70
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +3 -3
- package/dist/environment/index.js +74 -74
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/event-logger.js +14 -14
- package/dist/file-access.js +83 -83
- package/dist/file-mutation.js +75 -75
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +176 -176
- package/dist/filesystem/search.js +82 -82
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +85 -85
- package/dist/form.js +65 -65
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +68 -68
- package/dist/generate.js +81 -81
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- 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 +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +305 -305
- package/dist/instruction-discovery.js +69 -69
- package/dist/instructions/builtins.js +69 -69
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +70 -70
- package/dist/job.js +61 -61
- package/dist/kv.js +57 -57
- package/dist/location-activity.js +60 -60
- package/dist/location-lifecycle.js +86 -86
- package/dist/location-service-map.js +68 -68
- package/dist/location-services.js +302 -302
- package/dist/location.js +69 -69
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +23 -23
- package/dist/mcp/index.js +88 -88
- package/dist/mcp/instructions.js +104 -104
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +71 -71
- 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 +66 -66
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +88 -88
- package/dist/persistent-pty/index.js +70 -70
- package/dist/persistent-pty.js +56 -56
- package/dist/plugin/agent.js +60 -60
- package/dist/plugin/command.js +81 -81
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +169 -169
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +279 -279
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +89 -89
- package/dist/plugin/plan.js +81 -81
- package/dist/plugin/provider/amazon-bedrock.js +70 -70
- package/dist/plugin/provider/azure.js +89 -89
- package/dist/plugin/provider/chatgpt.js +72 -72
- package/dist/plugin/provider/cloudflare-ai-gateway.js +86 -86
- package/dist/plugin/provider/cloudflare-workers-ai.js +86 -86
- package/dist/plugin/provider/configured.js +85 -85
- 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 +86 -86
- package/dist/plugin/provider/llmgateway.js +61 -61
- package/dist/plugin/provider/lmstudio.js +89 -89
- package/dist/plugin/provider/local.js +86 -86
- package/dist/plugin/provider/modal.js +72 -72
- package/dist/plugin/provider/ollama.js +89 -89
- package/dist/plugin/provider/openai.js +71 -71
- package/dist/plugin/provider/opencode.js +77 -77
- package/dist/plugin/provider/openrouter.js +71 -71
- package/dist/plugin/provider/poe.js +61 -61
- 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 +87 -87
- package/dist/plugin/provider/vercel.js +70 -70
- package/dist/plugin/provider/vllm.js +89 -89
- package/dist/plugin/provider/xai.js +71 -71
- package/dist/plugin/provider.js +122 -122
- package/dist/plugin/sdk.js +61 -61
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +106 -106
- package/dist/plugin/supervisor.js +296 -296
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +6 -6
- 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 +87 -87
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +5 -5
- 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 +178 -178
- package/dist/project/schema.js +5 -5
- package/dist/project/sql.js +2 -2
- package/dist/project.js +70 -70
- package/dist/provider.js +81 -81
- package/dist/pty.js +69 -69
- package/dist/reference/instructions.js +69 -69
- package/dist/reference.js +69 -69
- package/dist/repository-cache.js +64 -64
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +77 -77
- package/dist/rpc.js +68 -68
- package/dist/session/command.js +58 -58
- package/dist/session/compaction.js +100 -100
- package/dist/session/context.js +123 -123
- package/dist/session/diff.js +69 -69
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +2 -2
- package/dist/session/execution/restart.js +118 -118
- package/dist/session/execution.js +103 -103
- package/dist/session/generate.js +122 -122
- package/dist/session/history.js +10 -10
- package/dist/session/inbox.js +71 -71
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +63 -63
- package/dist/session/instruction-state.js +5 -5
- package/dist/session/instructions.js +78 -78
- package/dist/session/model-request.js +90 -90
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +105 -105
- package/dist/session/projector.js +67 -67
- package/dist/session/prompt.js +83 -83
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +70 -70
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +180 -180
- package/dist/session/runner/model.js +78 -78
- package/dist/session/runner/publish-llm-event.js +91 -91
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +100 -100
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +131 -131
- package/dist/session/shell.js +101 -101
- package/dist/session/skill.js +82 -82
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +70 -70
- package/dist/session/subagent-job.js +165 -165
- package/dist/session/title.js +126 -126
- package/dist/session/to-session-error.js +90 -90
- package/dist/session/transfer.js +115 -115
- package/dist/session.js +175 -175
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +104 -104
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +86 -86
- package/dist/skill.js +89 -89
- package/dist/snapshot.js +72 -72
- package/dist/tool/mcp.js +103 -103
- package/dist/tool/plugin/edit.js +97 -97
- package/dist/tool/plugin/glob.js +98 -98
- package/dist/tool/plugin/grep.js +100 -100
- package/dist/tool/plugin/mcp-resource.js +95 -95
- package/dist/tool/plugin/opencode.js +86 -86
- package/dist/tool/plugin/patch.js +99 -99
- package/dist/tool/plugin/question.js +82 -82
- package/dist/tool/plugin/read.js +101 -101
- package/dist/tool/plugin/shell.js +171 -171
- package/dist/tool/plugin/skill.js +90 -90
- package/dist/tool/plugin/subagent.js +172 -172
- package/dist/tool/plugin/webfetch.js +89 -89
- package/dist/tool/plugin/websearch.js +93 -93
- package/dist/tool/plugin/write.js +99 -99
- package/dist/tool/read-filesystem.js +79 -79
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +11 -11
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +71 -71
- package/dist/v1/config/permission.js +3 -3
- package/dist/variant.js +73 -73
- package/dist/vcs.js +70 -70
- package/dist/websearch.js +66 -66
- package/dist/wellknown/plugin.js +60 -60
- package/dist/wellknown.js +61 -61
- package/dist/workspace.js +61 -59
- package/dist/worktree/git.js +4 -4
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree/strategies.js +69 -69
- package/dist/worktree.js +73 -73
- package/package.json +8 -8
- package/dist/chunks/skill-1y4eg5v6.js +0 -253
- package/dist/chunks/skill-ew6gp286.js +0 -26
- /package/dist/chunks/{skill-xqrmy91b.js → skill-3y9bq3t8.js} +0 -0
- /package/dist/chunks/{skill-3cegwx68.js → skill-h2b79v29.js} +0 -0
- /package/dist/chunks/{skill-55ej53y0.js → skill-k9cay8kk.js} +0 -0
- /package/dist/chunks/{skill-sfkj0ta1.js → skill-qa7075pb.js} +0 -0
- /package/dist/chunks/{skill-2ahkrezy.js → skill-t8wv525n.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./skill-
|
|
2
|
+
Service56,
|
|
3
|
+
node58
|
|
4
|
+
} from "./skill-vrrn8f4d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./skill-
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./skill-y5fhf6z7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./skill-
|
|
10
|
+
Service55,
|
|
11
|
+
node57
|
|
12
|
+
} from "./skill-taqj60ds.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service9,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer6,
|
|
28
|
+
node: () => node11
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service55;
|
|
40
|
+
const watcher = yield* Service56;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service79;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service9.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node11 = makeLocationNode({
|
|
74
|
+
service: Service9,
|
|
75
|
+
layer: layer6,
|
|
76
|
+
deps: [node57, FSUtil.node, node58, node83]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service9,
|
|
80
|
+
layer: Layer.succeed(Service9, Service9.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service9, layer6, node11, empty2, exports_source };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./skill-
|
|
2
|
+
Service82
|
|
3
|
+
} from "./skill-js8wertj.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./skill-
|
|
6
|
+
} from "./skill-52v53gqf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./skill-
|
|
8
|
+
Service65,
|
|
9
|
+
Event13
|
|
10
|
+
} from "./skill-358bewed.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,8 +32,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
36
|
-
const bus = yield*
|
|
35
|
+
const modelsDev = yield* Service65;
|
|
36
|
+
const bus = yield* Service82;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
39
39
|
for (const provider of loaded.data) {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event13.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./skill-
|
|
3
|
+
} from "./skill-en5h7jeg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./skill-
|
|
5
|
+
Service82
|
|
6
|
+
} from "./skill-js8wertj.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./skill-
|
|
9
|
+
Event17
|
|
10
|
+
} from "./skill-mnsdmbv8.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./skill-
|
|
13
|
+
} from "./skill-db2wf4at.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./skill-
|
|
18
|
+
} from "./skill-6cw3zjxa.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./skill-
|
|
20
|
+
Service50
|
|
21
|
+
} from "./skill-xrpv627y.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID9,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./skill-
|
|
26
|
+
} from "./skill-82n5twj0.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./skill-
|
|
29
|
+
} from "./skill-52v53gqf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID4,
|
|
32
32
|
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./skill-
|
|
34
|
+
} from "./skill-5b4dqe4n.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID4
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -105,7 +105,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
105
105
|
}
|
|
106
106
|
function oauth(http) {
|
|
107
107
|
return {
|
|
108
|
-
integrationID:
|
|
108
|
+
integrationID: ID10.make("opencode"),
|
|
109
109
|
method: {
|
|
110
110
|
id: methodID,
|
|
111
111
|
type: "oauth",
|
|
@@ -169,10 +169,10 @@ function oauth(http) {
|
|
|
169
169
|
var OpencodePlugin2 = define({
|
|
170
170
|
id: "opencode.provider.opencode",
|
|
171
171
|
effect: Effect.fn(function* (ctx) {
|
|
172
|
-
const bus = yield*
|
|
172
|
+
const bus = yield* Service82;
|
|
173
173
|
const client = yield* HttpClient.HttpClient;
|
|
174
174
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
175
|
-
const managed = yield*
|
|
175
|
+
const managed = yield* Service50;
|
|
176
176
|
const scope = yield* Scope.Scope;
|
|
177
177
|
const loading = Semaphore.makeUnsafe(1);
|
|
178
178
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -221,7 +221,7 @@ var OpencodePlugin2 = define({
|
|
|
221
221
|
providers.update(providerID, (provider) => {
|
|
222
222
|
if (source && source.provider !== provider)
|
|
223
223
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
224
|
-
provider.integrationID =
|
|
224
|
+
provider.integrationID = ID10.make("opencode");
|
|
225
225
|
if (item.canonical !== undefined)
|
|
226
226
|
provider.canonical = item.canonical;
|
|
227
227
|
if (item.name !== undefined)
|
|
@@ -287,7 +287,7 @@ var OpencodePlugin2 = define({
|
|
|
287
287
|
sourceConnection: snapshot.connection
|
|
288
288
|
});
|
|
289
289
|
}
|
|
290
|
-
const item = providers.get(
|
|
290
|
+
const item = providers.get(ID9.opencode);
|
|
291
291
|
if (!item)
|
|
292
292
|
return;
|
|
293
293
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -299,7 +299,7 @@ var OpencodePlugin2 = define({
|
|
|
299
299
|
});
|
|
300
300
|
});
|
|
301
301
|
yield* ctx.model.transform((models) => {
|
|
302
|
-
const item = models.provider.get(
|
|
302
|
+
const item = models.provider.get(ID9.opencode);
|
|
303
303
|
if (!item)
|
|
304
304
|
return;
|
|
305
305
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -388,10 +388,10 @@ var OpencodePlugin2 = define({
|
|
|
388
388
|
});
|
|
389
389
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
390
390
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
391
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
391
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
392
392
|
});
|
|
393
393
|
yield* guard(snapshot);
|
|
394
|
-
yield* bus.subscribe(
|
|
394
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
395
395
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
396
396
|
})
|
|
397
397
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./skill-
|
|
5
|
+
} from "./skill-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
8
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -85,7 +85,7 @@ var execDefaults2 = (spawner) => {
|
|
|
85
85
|
if (result.exitCode === 0)
|
|
86
86
|
return Effect.sync(() => success(result.stdout));
|
|
87
87
|
if (result.exitCode === NOT_FOUND)
|
|
88
|
-
return Effect.fail(new
|
|
88
|
+
return Effect.fail(new NotFound3({ path }));
|
|
89
89
|
if (result.exitCode === WRONG_KIND) {
|
|
90
90
|
return Effect.fail(new WrongKind2({ path, actual: parseType(new TextDecoder().decode(result.stderr)) }));
|
|
91
91
|
}
|
|
@@ -116,7 +116,7 @@ var classifyPlain = (path, result, success) => {
|
|
|
116
116
|
if (result.exitCode === 0)
|
|
117
117
|
return Effect.sync(() => success(result.stdout));
|
|
118
118
|
if (result.exitCode === NOT_FOUND)
|
|
119
|
-
return Effect.fail(new
|
|
119
|
+
return Effect.fail(new NotFound3({ path }));
|
|
120
120
|
return Effect.fail(processFailure(path, result));
|
|
121
121
|
};
|
|
122
122
|
var processFailure = (path, result) => new Failed2({
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./skill-
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./skill-js8wertj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./skill-
|
|
11
|
+
} from "./skill-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
14
|
} from "./skill-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./skill-
|
|
16
|
+
Service63,
|
|
17
|
+
node66
|
|
18
|
+
} from "./skill-9vxq3aev.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
21
|
} from "./skill-rdw6cm16.js";
|
|
@@ -28,12 +28,12 @@ var exports_reference2 = {};
|
|
|
28
28
|
__export(exports_reference2, {
|
|
29
29
|
Event: () => Event7,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service47,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node49
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
@@ -43,14 +43,14 @@ import { Event as Event7 } from "@opencode/schema/reference";
|
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service47 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service82;
|
|
53
|
+
const cache = yield* Service63;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service47.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node49 = makeLocationNode({
|
|
116
|
+
service: Service47,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node86, node66]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info9, Service47, node49, exports_reference2, Event7 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./skill-
|
|
3
|
+
} from "./skill-82n5twj0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./skill-
|
|
5
|
+
Service66
|
|
6
|
+
} from "./skill-52v53gqf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin14,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin14 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service66;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin14, exports_verbosity };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./skill-
|
|
3
|
+
} from "./skill-kqj1wybc.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./skill-
|
|
6
|
+
} from "./skill-1tegpzkj.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
9
|
} from "./skill-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
ChatGPTPlugin2
|
|
12
|
-
} from "./skill-
|
|
12
|
+
} from "./skill-6yzz6ydy.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareAIGatewayPlugin2
|
|
15
|
-
} from "./skill-
|
|
15
|
+
} from "./skill-b9m9jd47.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareWorkersAIPlugin2
|
|
18
|
-
} from "./skill-
|
|
18
|
+
} from "./skill-3b53nk28.js";
|
|
19
19
|
import {
|
|
20
20
|
CoherePlugin2
|
|
21
21
|
} from "./skill-z0bkrqjs.js";
|
|
@@ -24,31 +24,31 @@ import {
|
|
|
24
24
|
} from "./skill-bw78ga2c.js";
|
|
25
25
|
import {
|
|
26
26
|
DigitalOceanPlugin2
|
|
27
|
-
} from "./skill-
|
|
27
|
+
} from "./skill-jvw9kwwj.js";
|
|
28
28
|
import {
|
|
29
29
|
DynamicProviderPlugin2
|
|
30
30
|
} from "./skill-5m9w47nd.js";
|
|
31
31
|
import {
|
|
32
32
|
GithubCopilotPlugin2
|
|
33
|
-
} from "./skill-
|
|
33
|
+
} from "./skill-674dsst4.js";
|
|
34
34
|
import {
|
|
35
35
|
GitLabPlugin2
|
|
36
|
-
} from "./skill-
|
|
36
|
+
} from "./skill-1pn8hfyw.js";
|
|
37
37
|
import {
|
|
38
38
|
GoogleVertexPlugin2
|
|
39
|
-
} from "./skill-
|
|
39
|
+
} from "./skill-0rkq89b0.js";
|
|
40
40
|
import {
|
|
41
41
|
KiloPlugin2
|
|
42
42
|
} from "./skill-qg3g05ea.js";
|
|
43
43
|
import {
|
|
44
44
|
LLMGatewayPlugin2
|
|
45
|
-
} from "./skill-
|
|
45
|
+
} from "./skill-zs4thy15.js";
|
|
46
46
|
import {
|
|
47
47
|
LMStudioPlugin2
|
|
48
|
-
} from "./skill-
|
|
48
|
+
} from "./skill-j6adbkc7.js";
|
|
49
49
|
import {
|
|
50
50
|
ModalPlugin2
|
|
51
|
-
} from "./skill-
|
|
51
|
+
} from "./skill-vnvshc90.js";
|
|
52
52
|
import {
|
|
53
53
|
NeonPlugin2
|
|
54
54
|
} from "./skill-ve7vex1e.js";
|
|
@@ -57,40 +57,40 @@ import {
|
|
|
57
57
|
} from "./skill-24dcb14g.js";
|
|
58
58
|
import {
|
|
59
59
|
OllamaPlugin2
|
|
60
|
-
} from "./skill-
|
|
60
|
+
} from "./skill-h6vf0ja8.js";
|
|
61
61
|
import {
|
|
62
62
|
OpenAIPlugin2
|
|
63
|
-
} from "./skill-
|
|
63
|
+
} from "./skill-bfj3mgeh.js";
|
|
64
64
|
import {
|
|
65
65
|
SnowflakeCortexPlugin2
|
|
66
|
-
} from "./skill-
|
|
66
|
+
} from "./skill-cen1dnrb.js";
|
|
67
67
|
import {
|
|
68
68
|
OpencodePlugin2
|
|
69
|
-
} from "./skill-
|
|
69
|
+
} from "./skill-p1qmfaz3.js";
|
|
70
70
|
import {
|
|
71
71
|
OpenRouterPlugin2
|
|
72
|
-
} from "./skill-
|
|
72
|
+
} from "./skill-t1wsc1h6.js";
|
|
73
73
|
import {
|
|
74
74
|
PerplexityPlugin2
|
|
75
75
|
} from "./skill-veqvce7d.js";
|
|
76
76
|
import {
|
|
77
77
|
PoePlugin2
|
|
78
|
-
} from "./skill-
|
|
78
|
+
} from "./skill-6vv39ctp.js";
|
|
79
79
|
import {
|
|
80
80
|
PromptCacheKeyPlugin2
|
|
81
|
-
} from "./skill-
|
|
81
|
+
} from "./skill-cr9n7mfv.js";
|
|
82
82
|
import {
|
|
83
83
|
SapAICorePlugin2
|
|
84
|
-
} from "./skill-
|
|
84
|
+
} from "./skill-1k80zed8.js";
|
|
85
85
|
import {
|
|
86
86
|
VercelPlugin2
|
|
87
|
-
} from "./skill-
|
|
87
|
+
} from "./skill-3n6qd5yb.js";
|
|
88
88
|
import {
|
|
89
89
|
VLLMPlugin2
|
|
90
|
-
} from "./skill-
|
|
90
|
+
} from "./skill-vzdahvpe.js";
|
|
91
91
|
import {
|
|
92
92
|
XAIPlugin2
|
|
93
|
-
} from "./skill-
|
|
93
|
+
} from "./skill-vq2x1gvt.js";
|
|
94
94
|
import {
|
|
95
95
|
ZenmuxPlugin2
|
|
96
96
|
} from "./skill-jjkms2e6.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./skill-
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./skill-js8wertj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./skill-
|
|
6
|
+
Service29,
|
|
7
|
+
node32
|
|
8
|
+
} from "./skill-x3y19w6y.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./skill-
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./skill-at2p4n3p.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./skill-
|
|
14
|
+
Service33,
|
|
15
|
+
node36
|
|
16
|
+
} from "./skill-gz9w2prw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service27,
|
|
26
|
+
layer: () => layer11,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service27 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service29;
|
|
42
|
+
const tools = yield* Service33;
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const permission = yield* Service73;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer16 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer16 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer16 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service27.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node31 = makeLocationNode({
|
|
124
|
+
service: Service27,
|
|
125
|
+
layer: layer11,
|
|
126
|
+
deps: [node36, node32, node86, node77]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service27, layer11, node31, exports_mcp3 };
|