@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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./skill-
|
|
4
|
+
} from "./skill-89vwjast.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
7
|
} from "./skill-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./skill-
|
|
11
|
+
node56
|
|
12
|
+
} from "./skill-g17w5wg1.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
15
|
} from "./skill-faypxj3z.js";
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID6,
|
|
25
|
+
Info: () => Info19,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service50,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured9,
|
|
30
|
+
node: () => node55
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID6 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info19 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID6,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info28 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID6,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service50 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service50,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node56]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info19({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service50.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID6.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node55 = configured9();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID6, Info19, NotFound3, CreateConflict2, Service50, configured9, node55, exports_workspace };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./skill-
|
|
4
|
+
} from "./skill-89vwjast.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./skill-
|
|
8
|
+
} from "./skill-5c4hm403.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./skill-
|
|
11
|
+
load3
|
|
12
|
+
} from "./skill-g5x3p52g.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./skill-
|
|
15
|
+
} from "./skill-p72z5xx6.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service68,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node73
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service68 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service80;
|
|
59
|
-
return
|
|
59
|
+
return Service68.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load3(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node73 = makeGlobalNode({ service: Service68, layer, deps: [node85] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service68, node73, exports_store };
|
|
@@ -3,39 +3,39 @@ import {
|
|
|
3
3
|
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info9,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info9 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info9, exports_permission };
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./skill-
|
|
6
|
+
} from "./skill-cq17aevt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./skill-
|
|
8
|
+
Service71,
|
|
9
|
+
node76
|
|
10
|
+
} from "./skill-f75rfffy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./skill-
|
|
12
|
+
Service66,
|
|
13
|
+
node71
|
|
14
|
+
} from "./skill-n95r7dn6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
17
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service51,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node57,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service51 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service71;
|
|
61
|
+
const permission = yield* Service66;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service51.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node57 = makeLocationNode({ service: Service51, layer, deps: [FSUtil.node, node76, node71] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service51, resolvePath2, node57, exports_file_access };
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
RelativePath2
|
|
4
4
|
} from "./skill-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./skill-
|
|
6
|
+
Service71,
|
|
7
|
+
node76
|
|
8
|
+
} from "./skill-f75rfffy.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./skill-
|
|
10
|
+
Service38,
|
|
11
|
+
node42
|
|
12
|
+
} from "./skill-vphs0ems.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
15
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
19
19
|
__export(exports_filesystem, {
|
|
20
|
-
Content: () =>
|
|
20
|
+
Content: () => Content2,
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
|
-
Entry: () =>
|
|
24
|
-
Event: () =>
|
|
23
|
+
Entry: () => Entry4,
|
|
24
|
+
Event: () => Event7,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
@@ -29,20 +29,20 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput3,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service37,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node41
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Entry, FileSystem, FindInput as FindInput2 } from "@opencode/schema/filesystem";
|
|
41
|
-
import { Entry as
|
|
41
|
+
import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
42
42
|
var ReadInput2 = Schema.Struct({
|
|
43
43
|
path: RelativePath2
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Content2 = Schema.Struct({
|
|
46
46
|
uri: Schema.String,
|
|
47
47
|
name: Schema.String.pipe(Schema.optional),
|
|
48
48
|
content: Schema.String,
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event7 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service37 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service37, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service71;
|
|
82
|
+
const search = yield* Service38;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service37.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node41 = makeLocationNode({
|
|
126
|
+
service: Service37,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node76, node42]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service37, node41, exports_filesystem, Entry4, Match2, Submatch2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./skill-
|
|
2
|
+
Service71,
|
|
3
|
+
node76
|
|
4
|
+
} from "./skill-f75rfffy.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
7
|
} from "./skill-kg06axw8.js";
|
|
@@ -10,21 +10,21 @@ import {
|
|
|
10
10
|
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Formatter: () =>
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
13
|
+
var exports_formatter3 = {};
|
|
14
|
+
__export(exports_formatter3, {
|
|
15
|
+
Formatter: () => exports_formatter3,
|
|
16
|
+
Service: () => Service36,
|
|
17
|
+
node: () => node40
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service36 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service71;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service36.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node40 = makeLocationNode({
|
|
91
|
+
service: Service36,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node76, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service36, node40, exports_formatter3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./skill-
|
|
3
|
+
} from "./skill-89vwjast.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./skill-
|
|
5
|
+
Service56
|
|
6
|
+
} from "./skill-ecrv93z9.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./skill-
|
|
9
|
+
} from "./skill-pf31ssb9.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./skill-
|
|
12
|
+
} from "./skill-w1k39n5e.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./skill-
|
|
15
|
+
} from "./skill-g5x3p52g.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./skill-
|
|
18
|
+
} from "./skill-snm4v5fs.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./skill-
|
|
20
|
+
Service17
|
|
21
|
+
} from "./skill-6yqy0e4g.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service56;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service17;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./skill-
|
|
5
|
+
} from "./skill-t69nnh3p.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID10,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info24,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./skill-
|
|
11
|
+
} from "./skill-rh63tm4e.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -21,7 +21,7 @@ __export(exports_models2, {
|
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID11.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID10.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info24.make({
|
|
92
|
+
...Info24.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID10.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./skill-
|
|
3
|
+
} from "./skill-m9wbqshr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./skill-
|
|
5
|
+
Service71
|
|
6
|
+
} from "./skill-f75rfffy.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./skill-
|
|
9
|
+
Service27
|
|
10
|
+
} from "./skill-sq391nww.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin42
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin42 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service71;
|
|
200
|
+
const mcp = yield* Service27;
|
|
201
201
|
const bus = yield* Service79;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin42, exports_command2 };
|