@opencode/core 0.0.0-dev-19445 → 0.0.0-dev-19446
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 +68 -68
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +54 -54
- package/dist/catalog.js +68 -68
- package/dist/chunks/{skill-vypqtakx.js → skill-00mqm9kf.js} +1 -1
- package/dist/chunks/{skill-w8bmck9y.js → skill-0222smgd.js} +8 -8
- package/dist/chunks/{skill-g2h728z9.js → skill-04q3dmd9.js} +12 -12
- package/dist/chunks/{skill-77nagcj1.js → skill-05b1y4dr.js} +3 -3
- package/dist/chunks/{skill-54azk5v8.js → skill-06p9s07g.js} +14 -14
- package/dist/chunks/{skill-2tct1jzp.js → skill-073yvgp4.js} +9 -9
- package/dist/chunks/skill-0mesazry.js +4 -0
- package/dist/chunks/{skill-nbsrer14.js → skill-0s2ms6dh.js} +7 -7
- package/dist/chunks/{skill-74fxb3hx.js → skill-0sxgj3q6.js} +27 -27
- package/dist/chunks/{skill-569emx6x.js → skill-0y5eb3hv.js} +12 -12
- package/dist/chunks/{skill-3kh4nxth.js → skill-116g6ysg.js} +4 -4
- package/dist/chunks/{skill-efv4s0g0.js → skill-15zevn5w.js} +5 -5
- package/dist/chunks/{skill-ke0nj5rp.js → skill-1ge3p48e.js} +13 -13
- package/dist/chunks/{skill-qmkj301t.js → skill-1w82hygq.js} +10 -10
- package/dist/chunks/{skill-wwgwfcvb.js → skill-1x7w021c.js} +9 -9
- package/dist/chunks/{skill-xrpmsssz.js → skill-21zrd450.js} +29 -29
- package/dist/chunks/{skill-9sfkrt92.js → skill-273bqgwm.js} +7 -7
- package/dist/chunks/{skill-93hpb89x.js → skill-2f04pwep.js} +3 -3
- package/dist/chunks/{skill-bajakh74.js → skill-2tfmgkzg.js} +2 -2
- package/dist/chunks/{skill-2a0aqbf3.js → skill-2vfz407x.js} +28 -28
- package/dist/chunks/{skill-zj92nnn3.js → skill-2y5et45e.js} +21 -21
- package/dist/chunks/{skill-sqhm951k.js → skill-37jpxhaq.js} +19 -19
- package/dist/chunks/{skill-2rebtaxk.js → skill-37tpcphx.js} +28 -28
- package/dist/chunks/{skill-5csgya9h.js → skill-38pmhpq9.js} +9 -9
- package/dist/chunks/{skill-z2k03asg.js → skill-3h5xskan.js} +3 -3
- package/dist/chunks/{skill-h2gyv3sg.js → skill-4066mr2m.js} +1 -1
- package/dist/chunks/{skill-eq3dq4k8.js → skill-427v0r19.js} +24 -24
- package/dist/chunks/{skill-mrb2npwq.js → skill-485rp6r9.js} +23 -23
- package/dist/chunks/{skill-83jwm3nn.js → skill-4gv65rh6.js} +42 -42
- package/dist/chunks/{skill-mck3kx14.js → skill-4hhf61nd.js} +26 -26
- package/dist/chunks/{skill-ke194936.js → skill-4ksjm71c.js} +12 -12
- package/dist/chunks/{skill-mhp8k6g1.js → skill-4qzgagaa.js} +11 -11
- package/dist/chunks/{skill-f222mbym.js → skill-4sjc8vp5.js} +6 -6
- package/dist/chunks/{skill-750kw9q8.js → skill-52pmyg9z.js} +21 -21
- package/dist/chunks/{skill-3bar99zz.js → skill-536cph44.js} +27 -27
- package/dist/chunks/{skill-mfqp6xfm.js → skill-56gdpj1q.js} +4 -4
- package/dist/chunks/{skill-qsdhjg7e.js → skill-58ez0xmy.js} +1 -1
- package/dist/chunks/{skill-p5y58tyb.js → skill-59y1j56r.js} +23 -23
- package/dist/chunks/{skill-a1bz86dw.js → skill-5c4hm403.js} +1 -1
- package/dist/chunks/{skill-qbvjzwtx.js → skill-5efzqhr2.js} +10 -10
- package/dist/chunks/{skill-5yc69rh5.js → skill-5f0r7wn2.js} +8 -8
- package/dist/chunks/{skill-17p6c6pg.js → skill-5g6sb6sw.js} +31 -31
- package/dist/chunks/{skill-q22h9474.js → skill-5m7j8hm9.js} +18 -18
- package/dist/chunks/{skill-0684qezx.js → skill-62a0qfn1.js} +27 -27
- package/dist/chunks/{skill-rj9vahs6.js → skill-6dd0fr5r.js} +8 -8
- package/dist/chunks/{skill-2402vzrj.js → skill-6h73sxmp.js} +4 -4
- package/dist/chunks/{skill-fznpg4cs.js → skill-6kcsr840.js} +13 -13
- package/dist/chunks/{skill-159nkw16.js → skill-6vaz6wbx.js} +22 -22
- package/dist/chunks/{skill-gmzc3tvp.js → skill-6y8mdthe.js} +14 -14
- package/dist/chunks/{skill-9vchbmew.js → skill-6yqy0e4g.js} +78 -78
- package/dist/chunks/{skill-8t1wrec1.js → skill-703jyx7f.js} +7 -7
- package/dist/chunks/{skill-gs193ymm.js → skill-748gj6gn.js} +6 -6
- package/dist/chunks/{skill-6fdj6kdr.js → skill-76myzc3f.js} +2 -2
- package/dist/chunks/{skill-vabb23s0.js → skill-79r1wrqa.js} +1 -1
- package/dist/chunks/{skill-7xxqy5w0.js → skill-7cxe0w6q.js} +1 -1
- package/dist/chunks/{skill-yezvhbqh.js → skill-827nqb10.js} +9 -9
- package/dist/chunks/{skill-2g8zypaf.js → skill-868tn2h5.js} +1 -1
- package/dist/chunks/{skill-zsj01fcb.js → skill-89vwjast.js} +2 -2
- package/dist/chunks/{skill-tcezcvh9.js → skill-89znhe33.js} +3 -3
- package/dist/chunks/{skill-nvtfdscb.js → skill-8pybqfp6.js} +20 -20
- package/dist/chunks/{skill-5kngvhex.js → skill-8xhx5x0e.js} +22 -22
- package/dist/chunks/{skill-8qvgnq7a.js → skill-8xttkpaf.js} +9 -9
- package/dist/chunks/{skill-ac65zdy3.js → skill-8y2nn4c7.js} +17 -17
- package/dist/chunks/{skill-6zv3shge.js → skill-90qmd7bg.js} +9 -9
- package/dist/chunks/{skill-ttqfmzkf.js → skill-9kt49dv5.js} +4 -4
- package/dist/chunks/{skill-0y8x77kj.js → skill-9rszdcmw.js} +10 -10
- package/dist/chunks/{skill-09ewn36v.js → skill-9z7kng03.js} +43 -43
- package/dist/chunks/{skill-4jv56v3q.js → skill-a6yex81s.js} +12 -12
- package/dist/chunks/{skill-xsjdd46p.js → skill-ahgm1r24.js} +13 -13
- package/dist/chunks/{skill-4smx262h.js → skill-ahycpabw.js} +20 -20
- package/dist/chunks/{skill-q6bhavfj.js → skill-aqrcawhr.js} +10 -10
- package/dist/chunks/{skill-fkcp8j8s.js → skill-asqmdnzm.js} +20 -20
- package/dist/chunks/{skill-mjncxbbh.js → skill-b0awdqvx.js} +8 -8
- package/dist/chunks/{skill-k23gmb4k.js → skill-b7fqsxev.js} +16 -16
- package/dist/chunks/{skill-dgdg9tc7.js → skill-ba8tn576.js} +14 -14
- package/dist/chunks/{skill-0emqaag0.js → skill-bgn62fr8.js} +7 -7
- package/dist/chunks/{skill-d1khqved.js → skill-bgxcxs0p.js} +3 -3
- package/dist/chunks/{skill-5trk58xb.js → skill-bpqahvg7.js} +6 -6
- package/dist/chunks/{skill-gygfttsz.js → skill-bsq7y6bp.js} +16 -16
- package/dist/chunks/{skill-dgwyx5ct.js → skill-bwkch31r.js} +8 -8
- package/dist/chunks/{skill-x0pta7p5.js → skill-c0e85pqa.js} +16 -16
- package/dist/chunks/{skill-rkg39e93.js → skill-c2fa0gjs.js} +10 -10
- package/dist/chunks/{skill-9k2v62xn.js → skill-c3kepfq8.js} +1 -1
- package/dist/chunks/{skill-tn0aqsam.js → skill-c78bbtc9.js} +3 -3
- package/dist/chunks/{skill-5nn1zwkw.js → skill-c7yqmbpx.js} +10 -10
- package/dist/chunks/{skill-c5db1mkp.js → skill-ccf3t0a5.js} +22 -22
- package/dist/chunks/{skill-fh1y2sqn.js → skill-cdj9q7e3.js} +13 -13
- package/dist/chunks/{skill-ghy7f12q.js → skill-cfx2hezr.js} +22 -22
- package/dist/chunks/{skill-yvevv6gs.js → skill-cjgwzec5.js} +6 -6
- package/dist/chunks/{skill-zqsq0f3p.js → skill-cq17aevt.js} +20 -20
- package/dist/chunks/{skill-qs4y937t.js → skill-cr3aetdn.js} +23 -23
- package/dist/chunks/{skill-xekzrwwc.js → skill-crptryd9.js} +7 -7
- package/dist/chunks/{skill-b6cxpadd.js → skill-cw06aj2p.js} +26 -26
- package/dist/chunks/{skill-qfkewnpy.js → skill-cwxy8s66.js} +156 -156
- package/dist/chunks/{skill-q2d40q94.js → skill-cxjx4k2f.js} +9 -9
- package/dist/chunks/{skill-v4hmzr0r.js → skill-cxv3b682.js} +7 -7
- package/dist/chunks/{skill-x145bkh2.js → skill-d2azexz5.js} +10 -10
- package/dist/chunks/{skill-v5efs57h.js → skill-d46kpj6a.js} +35 -35
- package/dist/chunks/{skill-esdnemd6.js → skill-dcj77ap2.js} +1 -1
- package/dist/chunks/{skill-9q0bw3dr.js → skill-dph9w4m5.js} +24 -24
- package/dist/chunks/{skill-k36wq3da.js → skill-dv96pvfp.js} +17 -17
- package/dist/chunks/{skill-s8n1268f.js → skill-dz69mbbk.js} +3 -3
- package/dist/chunks/{skill-xnyk9pjh.js → skill-e8mq09xw.js} +297 -297
- package/dist/chunks/{skill-t550f9t1.js → skill-eaj1djv9.js} +7 -7
- package/dist/chunks/{skill-3c1tgrea.js → skill-ecrv93z9.js} +5 -5
- package/dist/chunks/{skill-3qeevawm.js → skill-ecxazetx.js} +7 -7
- package/dist/chunks/{skill-0xn4ebw4.js → skill-eksyn7fm.js} +5 -5
- package/dist/chunks/{skill-2k8khapm.js → skill-esafk7q3.js} +4 -4
- package/dist/chunks/{skill-vbj2rye8.js → skill-ewezmb4f.js} +38 -38
- package/dist/chunks/{skill-d2waefg7.js → skill-ey3r30py.js} +14 -14
- package/dist/chunks/{skill-gdrm4bvr.js → skill-f0tca92g.js} +8 -8
- package/dist/chunks/{skill-82152e3w.js → skill-f75rfffy.js} +13 -13
- package/dist/chunks/{skill-spcqgy8q.js → skill-fbvn2b0m.js} +19 -19
- package/dist/chunks/{skill-t0r3q69e.js → skill-fdamjsg4.js} +1 -1
- package/dist/chunks/{skill-yy0nzgb9.js → skill-fdwb90kk.js} +27 -27
- package/dist/chunks/{skill-mek92vfe.js → skill-fgp06zs4.js} +42 -42
- package/dist/chunks/{skill-y15k8n5h.js → skill-fkhf9ky0.js} +20 -20
- package/dist/chunks/{skill-9hrja81v.js → skill-frzkm7eq.js} +15 -15
- package/dist/chunks/{skill-5jh55tk4.js → skill-fx4shqry.js} +30 -30
- package/dist/chunks/{skill-3f0zzcm1.js → skill-fxjtq7wv.js} +16 -16
- package/dist/chunks/{skill-bqszwq89.js → skill-g17w5wg1.js} +5 -5
- package/dist/chunks/{skill-gpx0jagy.js → skill-g5x3p52g.js} +9 -9
- package/dist/chunks/{skill-sayx4gma.js → skill-g7hsbyvn.js} +7 -7
- package/dist/chunks/{skill-q9dvbpha.js → skill-g7rz0sxb.js} +6 -6
- package/dist/chunks/{skill-jfqtm2ew.js → skill-g8d3gcyj.js} +6 -6
- package/dist/chunks/{skill-5v2brm2p.js → skill-gknhvrra.js} +4 -4
- package/dist/chunks/{skill-zb7jm7vb.js → skill-h5vwbggd.js} +9 -9
- package/dist/chunks/{skill-qd8wwfxt.js → skill-hb7yy7na.js} +7 -7
- package/dist/chunks/{skill-r916gz35.js → skill-hbf770qa.js} +14 -14
- package/dist/chunks/{skill-f828m53h.js → skill-hdnk95c8.js} +1 -1
- package/dist/chunks/{skill-kjmd8gwp.js → skill-hkj6fxjk.js} +5 -5
- package/dist/chunks/{skill-pxwpnzzr.js → skill-ht5s5k2z.js} +16 -16
- package/dist/chunks/{skill-hxx3wyh4.js → skill-hzbw9fn5.js} +13 -13
- package/dist/chunks/{skill-3xag9776.js → skill-jbyvhchy.js} +77 -77
- package/dist/chunks/{skill-7cc3npsf.js → skill-jc5zh87m.js} +15 -15
- package/dist/chunks/{skill-q803f8d7.js → skill-jcvp1ydt.js} +17 -17
- package/dist/chunks/{skill-wnetnkyw.js → skill-k3m7ejjg.js} +24 -24
- package/dist/chunks/{skill-4mqrbajh.js → skill-k5ge3013.js} +14 -14
- package/dist/chunks/{skill-yjq3nkkb.js → skill-kb1mepd1.js} +23 -23
- package/dist/chunks/{skill-xd2c2vv1.js → skill-km9mpse9.js} +13 -13
- package/dist/chunks/{skill-3trbxeqx.js → skill-kmv022h3.js} +1 -1
- package/dist/chunks/{skill-xdk9p2qn.js → skill-kvvk39gs.js} +20 -20
- package/dist/chunks/{skill-pjg9m0hw.js → skill-kw3wbhtp.js} +16 -16
- package/dist/chunks/{skill-cfpkc3c9.js → skill-m0jqrx5p.js} +1 -1
- package/dist/chunks/{skill-yjpw2tzc.js → skill-m0mxmb48.js} +23 -23
- package/dist/chunks/{skill-95rygp7c.js → skill-m2951qy5.js} +16 -16
- package/dist/chunks/{skill-6kr2w62q.js → skill-m9wbqshr.js} +1 -1
- package/dist/chunks/{skill-c88rwc6y.js → skill-mbfa63ez.js} +11 -11
- package/dist/chunks/{skill-58ax6zm2.js → skill-mpgj7yzy.js} +11 -11
- package/dist/chunks/{skill-65hfepw4.js → skill-mvqrx4s2.js} +10 -10
- package/dist/chunks/{skill-087ankfj.js → skill-n1rxvz2x.js} +21 -21
- package/dist/chunks/{skill-94rpvrjb.js → skill-n95r7dn6.js} +53 -53
- package/dist/chunks/{skill-ya625hps.js → skill-nec87jdd.js} +1 -1
- package/dist/chunks/skill-nhb97n4t.js +22 -0
- package/dist/chunks/{skill-3kmkca4m.js → skill-nrw4td2n.js} +1 -1
- package/dist/chunks/{skill-me8f61q0.js → skill-nymmp31y.js} +9 -9
- package/dist/chunks/{skill-11h1hnb3.js → skill-p1p8k1ef.js} +1 -1
- package/dist/chunks/{skill-g3n6es57.js → skill-p1wf2k30.js} +7 -7
- package/dist/chunks/{skill-7fpmdhde.js → skill-p31wqd2s.js} +16 -16
- package/dist/chunks/{skill-s7731dqm.js → skill-p72z5xx6.js} +1 -1
- package/dist/chunks/{skill-j935v87r.js → skill-paphc93g.js} +2 -2
- package/dist/chunks/{skill-nnzmab9f.js → skill-pea6dbqf.js} +49 -49
- package/dist/chunks/{skill-1x11rq2a.js → skill-pf31ssb9.js} +4 -4
- package/dist/chunks/{skill-xy649dp3.js → skill-pj4qz0sj.js} +14 -14
- package/dist/chunks/{skill-ve4pfa0n.js → skill-pmr4s4kc.js} +3 -3
- package/dist/chunks/{skill-7smsr029.js → skill-prp2s7ks.js} +2 -2
- package/dist/chunks/{skill-ktdc306a.js → skill-q2s1vy6g.js} +4 -4
- package/dist/chunks/{skill-h9k0ng18.js → skill-q7y8k7bj.js} +2 -2
- package/dist/chunks/{skill-mrw4weg4.js → skill-qcfsefxz.js} +4 -4
- package/dist/chunks/{skill-fxz1gqrt.js → skill-qfrge5cf.js} +34 -34
- package/dist/chunks/{skill-d5731q4d.js → skill-qjc9h60s.js} +7 -7
- package/dist/chunks/{skill-0ge7vg41.js → skill-qx0n0hnh.js} +8 -8
- package/dist/chunks/{skill-yp2x3t23.js → skill-r8xr0va3.js} +3 -3
- package/dist/chunks/{skill-kjcr15p7.js → skill-rfnzy394.js} +1 -1
- package/dist/chunks/{skill-nx4935gj.js → skill-rh63tm4e.js} +11 -11
- package/dist/chunks/{skill-xyf8jtay.js → skill-rrjahgq1.js} +17 -17
- package/dist/chunks/{skill-7tpxex51.js → skill-rtathh62.js} +7 -7
- package/dist/chunks/{skill-rs226bz6.js → skill-rz0qknjf.js} +5 -5
- package/dist/chunks/{skill-3cz8rj72.js → skill-s8zy8myc.js} +3 -3
- package/dist/chunks/{skill-c2bnm6k2.js → skill-sacvkn4e.js} +4 -4
- package/dist/chunks/{skill-fbcen7pp.js → skill-sd6b6aez.js} +3 -3
- package/dist/chunks/{skill-ava840jj.js → skill-skegxwkp.js} +6 -6
- package/dist/chunks/{skill-765srhpk.js → skill-smn8xsvq.js} +18 -18
- package/dist/chunks/{skill-mtcgtbpz.js → skill-snkxabjd.js} +19 -19
- package/dist/chunks/{skill-e23wa8rb.js → skill-snm4v5fs.js} +27 -27
- package/dist/chunks/{skill-yvq8v403.js → skill-sq391nww.js} +41 -41
- package/dist/chunks/{skill-y8fswwr5.js → skill-t4tq2a7p.js} +23 -23
- package/dist/chunks/{skill-84tssp1s.js → skill-t69nnh3p.js} +7 -7
- package/dist/chunks/{skill-8bajxtr2.js → skill-t97t2t7r.js} +14 -14
- package/dist/chunks/skill-taebzevr.js +247 -0
- package/dist/chunks/{skill-jefma2gq.js → skill-tdh80rdv.js} +7 -7
- package/dist/chunks/{skill-zrb5c291.js → skill-tgw0t7t4.js} +11 -11
- package/dist/chunks/{skill-em44vm4y.js → skill-tjsj89dc.js} +7 -7
- package/dist/chunks/{skill-6me79q7q.js → skill-tkr4f2t1.js} +36 -36
- package/dist/chunks/{skill-zj09a0ew.js → skill-tm7zr4pr.js} +3 -3
- package/dist/chunks/{skill-hn57h045.js → skill-ttqh24zm.js} +3 -3
- package/dist/chunks/{skill-744qmx57.js → skill-tv2zb7b5.js} +11 -11
- package/dist/chunks/{skill-tqxz2e3b.js → skill-v7cfskca.js} +20 -20
- package/dist/chunks/{skill-wrpp1wzb.js → skill-vc3kmvr8.js} +13 -13
- package/dist/chunks/{skill-mvdgtp8g.js → skill-vccwxyms.js} +8 -8
- package/dist/chunks/{skill-pkf1fw33.js → skill-vphs0ems.js} +30 -30
- package/dist/chunks/{skill-d248znmc.js → skill-vwdfkczd.js} +12 -12
- package/dist/chunks/{skill-dmtzfb09.js → skill-vy7x5tbn.js} +7 -7
- package/dist/chunks/{skill-z2jv1b0e.js → skill-w16ds23h.js} +29 -29
- package/dist/chunks/{skill-6p3xbzsx.js → skill-w1k39n5e.js} +3 -3
- package/dist/chunks/{skill-6ttajnb0.js → skill-wh6nx8gk.js} +1 -1
- package/dist/chunks/{skill-sntdf6vk.js → skill-wvx86wgz.js} +13 -13
- package/dist/chunks/{skill-02smfngn.js → skill-wzw8h0en.js} +12 -12
- package/dist/chunks/{skill-8pywjhtp.js → skill-x1hekaqh.js} +13 -13
- package/dist/chunks/{skill-qs001aqx.js → skill-xn9jxgmv.js} +9 -9
- package/dist/chunks/{skill-sst8evag.js → skill-xnc6bxth.js} +10 -10
- package/dist/chunks/{skill-68r9taqa.js → skill-xpbqh003.js} +11 -11
- package/dist/chunks/{skill-hfg1z283.js → skill-xpm1fec2.js} +7 -7
- package/dist/chunks/{skill-h671hp36.js → skill-xrsf5jnj.js} +23 -23
- package/dist/chunks/{skill-kz3xwqrn.js → skill-y16xxa45.js} +20 -20
- package/dist/chunks/{skill-t6kx061s.js → skill-y7zhbg8e.js} +18 -18
- package/dist/chunks/{skill-kev8xza3.js → skill-yattrjvx.js} +51 -51
- package/dist/chunks/{skill-ykfq2gv5.js → skill-yavve3w1.js} +9 -9
- package/dist/chunks/{skill-r1wdcgzk.js → skill-yddgxcp4.js} +3 -3
- package/dist/chunks/{skill-s4enseaf.js → skill-yrznvahk.js} +1 -1
- package/dist/chunks/{skill-29x78va6.js → skill-z63w68vq.js} +4 -4
- package/dist/chunks/{skill-fq1h1v14.js → skill-z7xj2rat.js} +3 -3
- package/dist/chunks/{skill-jg5pnb06.js → skill-z9nm54ts.js} +7 -7
- package/dist/chunks/{skill-yhkzsdkx.js → skill-zqa4xgzf.js} +4 -4
- package/dist/chunks/{skill-jw0mprhj.js → skill-ztpcpx2k.js} +32 -32
- package/dist/chunks/{skill-k5rg09kc.js → skill-zvt67h1h.js} +39 -39
- package/dist/codemode/instructions.js +8 -8
- package/dist/command.js +70 -70
- package/dist/config/discovery.js +63 -63
- package/dist/config/normalize.js +16 -16
- package/dist/config/plugin/agent.js +94 -94
- package/dist/config/plugin/command.js +177 -177
- package/dist/config/plugin/compaction.js +131 -131
- package/dist/config/plugin/formatter.js +95 -95
- package/dist/config/plugin/image.js +94 -94
- package/dist/config/plugin/instruction.js +68 -68
- package/dist/config/plugin/location-watcher.js +94 -94
- package/dist/config/plugin/mcp.js +101 -101
- package/dist/config/plugin/policy.js +93 -93
- package/dist/config/plugin/provider.js +92 -92
- package/dist/config/plugin/reference.js +96 -96
- package/dist/config/plugin/shell.js +97 -97
- package/dist/config/plugin/skill-file.js +78 -78
- package/dist/config/plugin/skill.js +115 -115
- package/dist/config/plugin/snapshot.js +94 -94
- package/dist/config/plugin/source.js +90 -90
- package/dist/config/plugin/tool-output.js +96 -96
- package/dist/config/plugin/websearch.js +94 -94
- package/dist/config/plugin/worktree.js +95 -95
- package/dist/config/variable.js +2 -2
- package/dist/config.js +99 -99
- package/dist/credential.js +68 -68
- package/dist/database/database.js +53 -53
- package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +8 -8
- package/dist/database/drizzle/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
- package/dist/database/drizzle.js +10 -10
- package/dist/database/migration.gen.js +37 -37
- package/dist/database/migration.js +38 -38
- package/dist/database/v1-migration.bun.js +11 -11
- package/dist/effect/app-node-builder.js +238 -238
- package/dist/environment/environment.js +68 -68
- package/dist/environment/index.js +70 -70
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +81 -81
- package/dist/file-mutation.js +69 -69
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +187 -187
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +78 -78
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +79 -79
- package/dist/form.js +69 -69
- package/dist/formatter.js +68 -68
- package/dist/generate.js +70 -70
- package/dist/git.js +6 -6
- 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 +3 -3
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- 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 +314 -314
- package/dist/instruction-discovery.js +70 -70
- package/dist/instructions/builtins.js +62 -62
- package/dist/instructions/index.js +5 -5
- package/dist/integration.js +69 -69
- package/dist/job.js +63 -63
- package/dist/kv.js +54 -54
- package/dist/location-activity.js +57 -57
- package/dist/location-mutation.js +33 -33
- package/dist/location-service-map.js +65 -65
- package/dist/location-services.js +312 -312
- package/dist/location.js +64 -64
- package/dist/mcp/client.js +18 -18
- package/dist/mcp/index.js +77 -77
- package/dist/mcp/instructions.js +96 -96
- package/dist/mcp/stdio.js +65 -65
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +71 -71
- package/dist/model.js +8 -8
- package/dist/models-dev.js +71 -71
- package/dist/permission/saved.js +65 -65
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +92 -92
- package/dist/persistent-pty/index.js +69 -69
- package/dist/persistent-pty.js +57 -57
- package/dist/plugin/agent.js +79 -79
- package/dist/plugin/command.js +74 -74
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +184 -184
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +286 -286
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +60 -60
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/plan.js +79 -79
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +97 -97
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +96 -96
- package/dist/plugin/provider/cloudflare-workers-ai.js +96 -96
- package/dist/plugin/provider/configured.js +94 -94
- package/dist/plugin/provider/digitalocean.js +63 -63
- package/dist/plugin/provider/github-copilot.js +65 -65
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +61 -61
- package/dist/plugin/provider/lmstudio.js +97 -97
- package/dist/plugin/provider/modal.js +64 -64
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +97 -97
- package/dist/plugin/provider/openai.js +62 -62
- package/dist/plugin/provider/opencode.js +63 -63
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/poe.js +60 -60
- package/dist/plugin/provider/sap-ai-core.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +96 -96
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +97 -97
- package/dist/plugin/provider/xai.js +62 -62
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +132 -132
- package/dist/plugin/sdk.js +59 -59
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +113 -113
- package/dist/plugin/supervisor.js +300 -300
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +65 -65
- package/dist/plugin/vcs/hg.js +65 -65
- package/dist/plugin/warming.js +92 -92
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +7 -7
- 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.js +195 -195
- package/dist/project/sql.js +2 -2
- package/dist/project.js +65 -65
- package/dist/provider.js +7 -7
- package/dist/pty/schema.js +3 -3
- package/dist/pty.js +77 -77
- package/dist/reference/instructions.js +69 -69
- package/dist/reference.js +69 -69
- package/dist/repository-cache.js +62 -62
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +72 -72
- package/dist/rpc.js +65 -65
- package/dist/session/command.js +59 -59
- package/dist/session/compaction.js +105 -105
- package/dist/session/context.js +123 -123
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -6
- package/dist/session/execution/restart.js +122 -122
- package/dist/session/execution.js +104 -104
- package/dist/session/generate.js +122 -122
- package/dist/session/history.js +11 -11
- package/dist/session/inbox.js +69 -69
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +62 -62
- package/dist/session/instruction-state.js +5 -5
- package/dist/session/instructions.js +74 -74
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +92 -92
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +107 -107
- package/dist/session/projector.js +66 -66
- package/dist/session/prompt.js +81 -81
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +67 -67
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +192 -192
- package/dist/session/runner/model.js +71 -71
- package/dist/session/runner/retry.js +90 -90
- package/dist/session/runner/step.js +97 -97
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +145 -145
- package/dist/session/shell.js +107 -107
- package/dist/session/skill.js +80 -80
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +68 -68
- package/dist/session/subagent-job.js +176 -176
- package/dist/session/title.js +122 -122
- package/dist/session/to-session-error.js +89 -89
- package/dist/session/transfer.js +119 -119
- package/dist/session.js +187 -187
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +5 -5
- package/dist/shell.js +110 -110
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +84 -84
- package/dist/skill.js +87 -87
- package/dist/snapshot.js +68 -68
- package/dist/tool/mcp.js +99 -99
- package/dist/tool/plugin/edit.js +90 -90
- package/dist/tool/plugin/glob.js +99 -99
- package/dist/tool/plugin/grep.js +95 -95
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +92 -92
- package/dist/tool/plugin/question.js +80 -80
- package/dist/tool/plugin/read.js +100 -100
- package/dist/tool/plugin/shell.js +184 -184
- package/dist/tool/plugin/skill.js +88 -88
- package/dist/tool/plugin/subagent.js +183 -183
- package/dist/tool/plugin/webfetch.js +87 -87
- package/dist/tool/plugin/websearch.js +85 -85
- package/dist/tool/plugin/write.js +96 -96
- package/dist/tool/read-filesystem.js +75 -75
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +11 -11
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +13 -13
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +3 -3
- 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/vcs.js +68 -68
- package/dist/websearch.js +65 -65
- package/dist/wellknown/plugin.js +59 -59
- package/dist/wellknown.js +62 -62
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +65 -65
- package/dist/worktree/git.js +3 -3
- package/dist/worktree/refresh.js +303 -303
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree.js +73 -73
- package/package.json +8 -8
- package/dist/chunks/skill-cfqbggmt.js +0 -22
- package/dist/chunks/skill-hr9dp009.js +0 -4
- package/dist/chunks/skill-y3cz5npg.js +0 -247
- /package/dist/chunks/{skill-8p4f9s12.js → skill-dj2t23y0.js} +0 -0
- /package/dist/chunks/{skill-1mt8ffwy.js → skill-m16b28xc.js} +0 -0
- /package/dist/chunks/{skill-m6n84c8c.js → skill-nhnj3r8x.js} +0 -0
- /package/dist/chunks/{skill-9xkh5xjy.js → skill-sqvf8rgk.js} +0 -0
- /package/dist/chunks/{skill-qa7075pb.js → skill-x6pyv2yz.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./skill-
|
|
4
|
+
} from "./skill-m9wbqshr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./skill-
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./skill-tdh80rdv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./skill-
|
|
10
|
+
Service71,
|
|
11
|
+
node76
|
|
12
|
+
} from "./skill-f75rfffy.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./skill-
|
|
15
|
+
} from "./skill-pf31ssb9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./skill-
|
|
17
|
+
Service35,
|
|
18
|
+
node39
|
|
19
|
+
} from "./skill-ccf3t0a5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./skill-
|
|
21
|
+
node17
|
|
22
|
+
} from "./skill-ht5s5k2z.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./skill-
|
|
24
|
+
Service9,
|
|
25
|
+
node12
|
|
26
|
+
} from "./skill-p1wf2k30.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
29
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -43,12 +43,12 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
45
|
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service71;
|
|
47
|
+
const watcher = yield* Service35;
|
|
48
48
|
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service75;
|
|
51
|
+
const policy = yield* Service9;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
105
105
|
var node5 = makeLocationNode({
|
|
106
106
|
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node39, FSUtil.node, node76, node80, node84, node17, node12]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
111
|
export { Service3, node5, exports_location_watcher };
|
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./skill-
|
|
4
|
+
} from "./skill-m9wbqshr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./skill-
|
|
6
|
+
Service71,
|
|
7
|
+
node76
|
|
8
|
+
} from "./skill-f75rfffy.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./skill-
|
|
10
|
+
ID15,
|
|
11
|
+
Service69,
|
|
12
|
+
node74
|
|
13
|
+
} from "./skill-8xhx5x0e.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./skill-
|
|
15
|
+
NotFoundError8
|
|
16
|
+
} from "./skill-hb7yy7na.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./skill-
|
|
18
|
+
Service68,
|
|
19
|
+
node73
|
|
20
|
+
} from "./skill-km9mpse9.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
23
|
} from "./skill-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./skill-
|
|
25
|
+
Service67,
|
|
26
|
+
node72
|
|
27
|
+
} from "./skill-6y8mdthe.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
Service70,
|
|
30
30
|
node75
|
|
31
|
-
} from "./skill-
|
|
31
|
+
} from "./skill-bpqahvg7.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
34
|
} from "./skill-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event18,
|
|
46
|
+
ID: () => ID13,
|
|
47
|
+
NotFoundError: () => NotFoundError7,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
52
|
-
Rule: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service66,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node71
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event18 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID13 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
78
|
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID13.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID13,
|
|
86
86
|
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID13,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID13
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service66 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service79;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service71;
|
|
133
|
+
const agents = yield* Service69;
|
|
134
|
+
const sessions = yield* Service68;
|
|
135
|
+
const saved = yield* Service67;
|
|
136
|
+
const hooks = yield* Service70;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError8({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID13.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service66.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node71 = makeLocationNode({
|
|
289
|
+
service: Service66,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [node84,
|
|
291
|
+
deps: [node84, node76, node74, node73, node72, node75]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service66, node71, exports_permission2, Rule3, Ruleset2, Event18 };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin34
|
|
3
|
+
} from "./skill-rtathh62.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin37
|
|
6
|
+
} from "./skill-0222smgd.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin36
|
|
9
|
+
} from "./skill-6dd0fr5r.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin35
|
|
12
|
+
} from "./skill-qjc9h60s.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin34,
|
|
17
|
+
Plugin37,
|
|
18
|
+
Plugin36,
|
|
19
|
+
Plugin35
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./skill-
|
|
3
|
+
Service34
|
|
4
|
+
} from "./skill-4gv65rh6.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
7
|
} from "./skill-qsdy395h.js";
|
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin20
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin20 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service34;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin13 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin20, exports_websearch2 };
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node12 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node12, exports_location_watcher_policy };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./skill-
|
|
3
|
+
} from "./skill-m9wbqshr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./skill-
|
|
5
|
+
ID11
|
|
6
|
+
} from "./skill-t69nnh3p.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./skill-
|
|
8
|
+
ID10
|
|
9
|
+
} from "./skill-rh63tm4e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./skill-
|
|
11
|
+
Event16
|
|
12
|
+
} from "./skill-536cph44.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./skill-
|
|
14
|
+
ID7
|
|
15
|
+
} from "./skill-cw06aj2p.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./skill-
|
|
17
|
+
Service59
|
|
18
|
+
} from "./skill-59y1j56r.js";
|
|
19
19
|
import {
|
|
20
20
|
get3
|
|
21
|
-
} from "./skill-
|
|
21
|
+
} from "./skill-mpgj7yzy.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID11.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
30
|
+
const catalog = yield* Service59;
|
|
31
31
|
const bus = yield* Service79;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID10.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load2() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load2 };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./skill-
|
|
4
|
+
} from "./skill-89vwjast.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./skill-
|
|
8
|
+
} from "./skill-m9wbqshr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./skill-
|
|
10
|
+
Service56,
|
|
11
|
+
node61
|
|
12
|
+
} from "./skill-ecrv93z9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
16
|
} from "./skill-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./skill-
|
|
18
|
+
Service72,
|
|
19
|
+
node77
|
|
20
|
+
} from "./skill-cq17aevt.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./skill-
|
|
23
|
+
} from "./skill-f75rfffy.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./skill-
|
|
25
|
+
Service57,
|
|
26
|
+
node62
|
|
27
|
+
} from "./skill-xpm1fec2.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
30
|
} from "./skill-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./skill-
|
|
32
|
+
NotFoundError8
|
|
33
|
+
} from "./skill-hb7yy7na.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
36
|
} from "./skill-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./skill-
|
|
38
|
+
Service53
|
|
39
|
+
} from "./skill-ttqh24zm.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./skill-
|
|
41
|
+
Service68,
|
|
42
|
+
node73
|
|
43
|
+
} from "./skill-km9mpse9.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service54,
|
|
48
|
+
node59,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./skill-
|
|
50
|
+
} from "./skill-b7fqsxev.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./skill-
|
|
52
|
+
Service52,
|
|
53
|
+
node58
|
|
54
|
+
} from "./skill-d46kpj6a.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./skill-
|
|
56
|
+
node21
|
|
57
|
+
} from "./skill-x1hekaqh.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
60
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service16,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node20
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service16 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service72;
|
|
92
|
+
const locations = yield* Service57;
|
|
93
|
+
const store = yield* Service68;
|
|
94
|
+
const execution = yield* Service52;
|
|
95
|
+
const instances = yield* Service56;
|
|
96
|
+
const admission = yield* Service54;
|
|
97
97
|
const database = yield* Service80;
|
|
98
98
|
const bus = yield* Service79;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError8({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service53.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service16.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node20 = makeGlobalNode({
|
|
167
|
+
service: Service16,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
node77,
|
|
173
|
+
node62,
|
|
174
|
+
node73,
|
|
175
|
+
node58,
|
|
174
176
|
node61,
|
|
175
|
-
|
|
176
|
-
node44,
|
|
177
|
-
node42,
|
|
177
|
+
node59,
|
|
178
178
|
node85,
|
|
179
179
|
node84,
|
|
180
|
-
|
|
180
|
+
node21
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service16, node20, exports_move };
|