@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,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./skill-
|
|
4
|
+
} from "./skill-m9wbqshr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./skill-
|
|
6
|
+
node39
|
|
7
|
+
} from "./skill-ccf3t0a5.js";
|
|
8
8
|
import {
|
|
9
9
|
Service4,
|
|
10
10
|
node7
|
|
11
|
-
} from "./skill-
|
|
11
|
+
} from "./skill-1ge3p48e.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./skill-
|
|
13
|
+
Service26
|
|
14
|
+
} from "./skill-pf31ssb9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./skill-
|
|
16
|
+
node17,
|
|
17
|
+
ID3
|
|
18
|
+
} from "./skill-ht5s5k2z.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./skill-
|
|
20
|
+
Service10,
|
|
21
|
+
node13
|
|
22
|
+
} from "./skill-cxv3b682.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./skill-
|
|
26
|
+
} from "./skill-e8mq09xw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make7,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./skill-
|
|
30
|
+
} from "./skill-cjgwzec5.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./skill-
|
|
33
|
+
Service12,
|
|
34
|
+
node15
|
|
35
|
+
} from "./skill-f0tca92g.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./skill-
|
|
37
|
+
Service11,
|
|
38
|
+
node14
|
|
39
|
+
} from "./skill-tjsj89dc.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
42
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
115
115
|
failures: [
|
|
116
116
|
...failures.values(),
|
|
117
117
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
118
|
-
id:
|
|
118
|
+
id: ID3.make(plugin.id),
|
|
119
119
|
source: plugin.source ?? { type: "builtin" },
|
|
120
120
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
121
121
|
features: { server: true, ...plugin.features }
|
|
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
127
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
128
|
+
const registry = yield* Service26;
|
|
129
|
+
const sdk = yield* Service12;
|
|
130
|
+
const instance = yield* Service10;
|
|
131
131
|
const sources = yield* Service4;
|
|
132
|
-
const modules = yield*
|
|
132
|
+
const modules = yield* make7();
|
|
133
133
|
const bus = yield* Service79;
|
|
134
|
-
const updates = yield*
|
|
134
|
+
const updates = yield* Service11;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
209
|
+
node17,
|
|
210
|
+
node15,
|
|
210
211
|
node13,
|
|
211
|
-
node11,
|
|
212
212
|
node7,
|
|
213
|
-
|
|
213
|
+
node14,
|
|
214
214
|
node84,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node39,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./skill-
|
|
2
|
+
Service71,
|
|
3
|
+
node76
|
|
4
|
+
} from "./skill-f75rfffy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./skill-
|
|
6
|
+
Service26
|
|
7
|
+
} from "./skill-pf31ssb9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./skill-
|
|
9
|
+
Service29,
|
|
10
|
+
node33
|
|
11
|
+
} from "./skill-62a0qfn1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./skill-
|
|
13
|
+
node17
|
|
14
|
+
} from "./skill-ht5s5k2z.js";
|
|
15
15
|
import {
|
|
16
16
|
node6
|
|
17
|
-
} from "./skill-
|
|
17
|
+
} from "./skill-5g6sb6sw.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
20
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -23,22 +23,22 @@ import {
|
|
|
23
23
|
var exports_refresh = {};
|
|
24
24
|
__export(exports_refresh, {
|
|
25
25
|
WorktreeRefresh: () => exports_refresh,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node3
|
|
27
27
|
});
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service71;
|
|
32
|
+
const plugins = yield* Service26;
|
|
33
|
+
const worktrees = yield* Service29;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
37
37
|
}));
|
|
38
|
-
var
|
|
38
|
+
var node3 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node33, node76, node17, node6]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { node3, exports_refresh };
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./skill-
|
|
6
|
+
node80
|
|
7
|
+
} from "./skill-tdh80rdv.js";
|
|
8
8
|
import {
|
|
9
9
|
ID18
|
|
10
10
|
} from "./skill-81swgkk7.js";
|
|
@@ -14,28 +14,28 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./skill-
|
|
17
|
+
} from "./skill-89vwjast.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node84
|
|
21
|
-
} from "./skill-
|
|
21
|
+
} from "./skill-m9wbqshr.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./skill-
|
|
24
|
+
} from "./skill-dj2t23y0.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./skill-
|
|
27
|
+
} from "./skill-m0jqrx5p.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./skill-
|
|
29
|
+
Service71,
|
|
30
|
+
node76
|
|
31
|
+
} from "./skill-f75rfffy.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
35
|
} from "./skill-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
37
|
make15
|
|
38
|
-
} from "./skill-
|
|
38
|
+
} from "./skill-3h5xskan.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
41
|
} from "./skill-kg06axw8.js";
|
|
@@ -46,24 +46,24 @@ import {
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event4,
|
|
53
|
+
Info: () => Info5,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service29,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node33
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -76,13 +76,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
76
76
|
import { ChildProcess } from "effect/unstable/process";
|
|
77
77
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
78
78
|
var StrategyID2 = Worktree.StrategyID;
|
|
79
|
-
var
|
|
79
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
80
80
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info5 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
@@ -100,17 +100,17 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event4 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service29 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
111
|
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service71;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event4.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service29.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node33 = makeLocationNode({
|
|
273
|
+
service: Service29,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node80, node84, node85, AppProcess.node, node76, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event4, Service29, node33, exports_worktree2, OperationError2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./skill-
|
|
3
|
+
} from "./skill-c2fa0gjs.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./skill-
|
|
6
|
+
} from "./skill-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin36,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin36 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin21 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin21 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint4, Plugin36, exports_parallel };
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse5,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse5(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse4(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse5(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./skill-
|
|
3
|
+
} from "./skill-m9wbqshr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./skill-
|
|
5
|
+
Service28
|
|
6
|
+
} from "./skill-52pmyg9z.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./skill-
|
|
8
|
+
Error4
|
|
9
|
+
} from "./skill-37jpxhaq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./skill-
|
|
11
|
+
Service76
|
|
12
|
+
} from "./skill-vccwxyms.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./skill-
|
|
15
|
+
} from "./skill-hb7yy7na.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
18
|
} from "./skill-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./skill-
|
|
21
|
+
} from "./skill-zqa4xgzf.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
24
|
} from "./skill-tdstcens.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./skill-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./skill-
|
|
30
|
+
} from "./skill-7cxe0w6q.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
33
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service28;
|
|
58
|
+
const toolOutput = yield* Service76;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error4({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./skill-
|
|
6
|
+
} from "./skill-kvvk39gs.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./skill-
|
|
8
|
+
Info8
|
|
9
|
+
} from "./skill-xn9jxgmv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./skill-
|
|
11
|
+
Info14
|
|
12
|
+
} from "./skill-c78bbtc9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./skill-
|
|
14
|
+
Info15
|
|
15
|
+
} from "./skill-g8d3gcyj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./skill-
|
|
17
|
+
Info11
|
|
18
|
+
} from "./skill-s8zy8myc.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./skill-
|
|
21
|
+
} from "./skill-esafk7q3.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./skill-
|
|
23
|
+
Info10
|
|
24
|
+
} from "./skill-bgxcxs0p.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./skill-
|
|
26
|
+
Info6
|
|
27
|
+
} from "./skill-zvt67h1h.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./skill-
|
|
36
|
+
} from "./skill-76myzc3f.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
39
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info6.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info14, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info8, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info8, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info11, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info10, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./skill-
|
|
4
|
+
} from "./skill-89vwjast.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./skill-
|
|
7
|
+
} from "./skill-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -13,20 +13,20 @@ import {
|
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info27,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service67,
|
|
21
|
+
node: () => node72
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info27 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service67 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID14.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service67.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node72 = makeGlobalNode({ service: Service67, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID14, Info27, ListInput4, AddInput2, Service67, node72, exports_saved };
|