@opencode-ai/core 0.0.0-dev-19236 → 0.0.0-dev-19237
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 +59 -59
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +52 -52
- package/dist/catalog.js +56 -56
- package/dist/chunks/{file-qq11w61w.js → file-00z3vp5f.js} +3 -3
- package/dist/chunks/{file-5fhcw59z.js → file-03ssqq1h.js} +39 -39
- package/dist/chunks/{file-ebtdd58c.js → file-0jb3k8j6.js} +21 -21
- package/dist/chunks/{file-2k8khapm.js → file-0jwsre1p.js} +4 -4
- package/dist/chunks/{file-4e8crvtb.js → file-0p6bnn4j.js} +10 -10
- package/dist/chunks/{file-sd8ec36g.js → file-0wagesx1.js} +2 -2
- package/dist/chunks/{file-p0fvx2b7.js → file-129m3zyv.js} +7 -7
- package/dist/chunks/{file-at07c4b9.js → file-179n7qcx.js} +12 -12
- package/dist/chunks/{file-yp2x3t23.js → file-1acjjqhc.js} +3 -3
- package/dist/chunks/{file-8p628rfe.js → file-1j6fw132.js} +20 -20
- package/dist/chunks/{file-btr637ng.js → file-1jpftfmz.js} +42 -42
- package/dist/chunks/{file-3s2nsa7k.js → file-1nk2mnc0.js} +3 -3
- package/dist/chunks/{file-hczx788n.js → file-1vkgnbk5.js} +9 -9
- package/dist/chunks/{file-1fyf70sm.js → file-1zkb17nt.js} +3 -3
- package/dist/chunks/{file-6h73sxmp.js → file-2402vzrj.js} +4 -4
- package/dist/chunks/{file-pwphe3rf.js → file-2931d2p1.js} +10 -10
- package/dist/chunks/{file-64hre8q8.js → file-2hgwbbq1.js} +28 -28
- package/dist/chunks/{file-2gtf4gxt.js → file-2j2akc50.js} +7 -7
- package/dist/chunks/{file-7stz268c.js → file-2n0rqa47.js} +39 -39
- package/dist/chunks/{file-cctcmebf.js → file-2rx0c1se.js} +2 -2
- package/dist/chunks/{file-qyg26a5q.js → file-32vaat9j.js} +67 -67
- package/dist/chunks/{file-m25102gb.js → file-339x25ws.js} +5 -5
- package/dist/chunks/{file-3k4x7jps.js → file-36srvmcg.js} +8 -8
- package/dist/chunks/{file-1mrma768.js → file-3cm4x8pz.js} +3 -3
- package/dist/chunks/{file-vz6nxp08.js → file-3dab0e5z.js} +16 -16
- package/dist/chunks/{file-4z3jhc10.js → file-3f4r80p6.js} +42 -42
- package/dist/chunks/{file-65g4zw8b.js → file-3n69sb31.js} +11 -11
- package/dist/chunks/{file-jfx7w4w0.js → file-3v1vnpky.js} +55 -55
- package/dist/chunks/{file-bsa9yb1r.js → file-3wwk5jwz.js} +29 -29
- package/dist/chunks/{file-y8r8mqe0.js → file-3y04nngn.js} +18 -18
- package/dist/chunks/{file-sgecvmzg.js → file-3zf7jj5c.js} +29 -29
- package/dist/chunks/{file-jasnfvjs.js → file-46e97tr7.js} +7 -7
- package/dist/chunks/{file-hjt4xg1x.js → file-47gsdddb.js} +6 -6
- package/dist/chunks/{file-4skn7rc2.js → file-4c7fwq4e.js} +21 -21
- package/dist/chunks/{file-q6ypxst3.js → file-4pgqfzd8.js} +4 -4
- package/dist/chunks/{file-tjjz5xwe.js → file-4v4ajd06.js} +5 -5
- package/dist/chunks/{file-zkj92s1w.js → file-52bfwkce.js} +5 -5
- package/dist/chunks/{file-hx6eb5yw.js → file-595kwe3a.js} +1 -1
- package/dist/chunks/{file-303p9w1h.js → file-5dhjvcph.js} +4 -4
- package/dist/chunks/{file-8ej6t0kx.js → file-5f95ff4q.js} +21 -21
- package/dist/chunks/{file-skgjtp1k.js → file-5h5dsh0k.js} +29 -29
- package/dist/chunks/{file-5sqy5p9k.js → file-5rdj9hmq.js} +10 -10
- package/dist/chunks/{file-p742g7s6.js → file-5vgh9pjn.js} +22 -22
- package/dist/chunks/{file-3ew3pzd4.js → file-654kmdbf.js} +4 -4
- package/dist/chunks/{file-4xx57fsq.js → file-6652nm96.js} +7 -7
- package/dist/chunks/{file-veabk5tt.js → file-6h414ywr.js} +3 -3
- package/dist/chunks/{file-ga7x5g5r.js → file-6njxrdza.js} +13 -13
- package/dist/chunks/{file-4qjmbshy.js → file-6r2w4rfh.js} +24 -24
- package/dist/chunks/{file-qvrpv7pw.js → file-71n2k0sw.js} +21 -21
- package/dist/chunks/{file-0gfv995g.js → file-7d289b1g.js} +31 -31
- package/dist/chunks/{file-8dv8mw3k.js → file-7fxxes5g.js} +6 -6
- package/dist/chunks/{file-bj16ny09.js → file-7mcdhjjw.js} +34 -34
- package/dist/chunks/{file-swhyn6z2.js → file-7qhv6080.js} +13 -13
- package/dist/chunks/{file-jg8hpbdb.js → file-7vmn5jxr.js} +15 -15
- package/dist/chunks/{file-b01ryz8d.js → file-7yr2wfkw.js} +13 -13
- package/dist/chunks/{file-sbnvhk9g.js → file-88nptzkr.js} +19 -19
- package/dist/chunks/{file-1pdtxp2d.js → file-89cfd633.js} +1 -1
- package/dist/chunks/{file-7grmgsg7.js → file-8fhts7ts.js} +3 -3
- package/dist/chunks/{file-bwrfg74g.js → file-8kpcqxj9.js} +11 -11
- package/dist/chunks/{file-1wfjb4fb.js → file-8tq3sb4p.js} +1 -1
- package/dist/chunks/{file-8b48ft5s.js → file-934h7amq.js} +28 -28
- package/dist/chunks/{file-75yf2d83.js → file-97f5v037.js} +7 -7
- package/dist/chunks/{file-jee1seff.js → file-9938j897.js} +7 -7
- package/dist/chunks/{file-65dn8j3v.js → file-9qnjdkjv.js} +13 -13
- package/dist/chunks/{file-x5wdkkrz.js → file-9ss86a26.js} +9 -9
- package/dist/chunks/{file-wdmsjcnj.js → file-9t0ny11b.js} +9 -9
- package/dist/chunks/{file-066kw2xy.js → file-9vw7vcdh.js} +3 -3
- package/dist/chunks/{file-ht963k40.js → file-9z6xj13s.js} +5 -5
- package/dist/chunks/{file-yb55v587.js → file-a1cchfxj.js} +3 -3
- package/dist/chunks/{file-q87c86rb.js → file-a6m8wy4f.js} +14 -14
- package/dist/chunks/{file-17hja9f4.js → file-acd73yp7.js} +7 -7
- package/dist/chunks/{file-66hkt5g6.js → file-ajc7k593.js} +53 -53
- package/dist/chunks/{file-yg7sb877.js → file-ajtjthsy.js} +1 -1
- package/dist/chunks/{file-wj16sq0a.js → file-asf9wq49.js} +10 -10
- package/dist/chunks/{file-rs2df3q6.js → file-avf2awfk.js} +6 -6
- package/dist/chunks/{file-y1r8n7hf.js → file-avffydqw.js} +25 -25
- package/dist/chunks/{file-gst7axd9.js → file-baaqp4zd.js} +3 -3
- package/dist/chunks/{file-t9s2ckae.js → file-bffddetr.js} +19 -19
- package/dist/chunks/{file-v7z8bxbw.js → file-btqahyaw.js} +10 -10
- package/dist/chunks/{file-9m6tffr9.js → file-bvza9xe3.js} +80 -80
- package/dist/chunks/{file-te19xw12.js → file-c1v5b0wv.js} +11 -11
- package/dist/chunks/{file-z0xt53t1.js → file-c2m11pw9.js} +9 -9
- package/dist/chunks/{file-z98ztr55.js → file-c7jdh4x9.js} +7 -7
- package/dist/chunks/{file-skb9jyq5.js → file-cdbx1xhb.js} +40 -40
- package/dist/chunks/{file-hht6jkqw.js → file-cj6bar7a.js} +17 -17
- package/dist/chunks/{file-7yqjxrmz.js → file-cpy6gm2a.js} +3 -3
- package/dist/chunks/{file-2yb0w078.js → file-crtth3kn.js} +3 -3
- package/dist/chunks/{file-z2aqhqx5.js → file-csm9f11b.js} +12 -12
- package/dist/chunks/{file-jdnm8yea.js → file-ctpqmbes.js} +9 -9
- package/dist/chunks/{file-rxkkpkzx.js → file-d0e4f7jz.js} +6 -6
- package/dist/chunks/{file-g2gt0w0k.js → file-d72308c8.js} +1 -1
- package/dist/chunks/{file-rc3fvhed.js → file-d9ywy8qq.js} +156 -156
- package/dist/chunks/{file-vd657q2k.js → file-dhv13n9b.js} +22 -22
- package/dist/chunks/{file-cek9jpa8.js → file-dm4t3jdg.js} +22 -22
- package/dist/chunks/{file-km1d5px4.js → file-dt1n4p4v.js} +2 -2
- package/dist/chunks/{file-7qxyrcbr.js → file-e2611c6v.js} +9 -9
- package/dist/chunks/{file-af4svgqg.js → file-e5w0frp6.js} +9 -9
- package/dist/chunks/{file-f73jprk4.js → file-e5zee4hv.js} +9 -9
- package/dist/chunks/{file-sb82pmjh.js → file-e9bp071a.js} +1 -1
- package/dist/chunks/{file-defv84qj.js → file-en1kwsfy.js} +9 -9
- package/dist/chunks/{file-w3v7t084.js → file-ewjc977p.js} +31 -31
- package/dist/chunks/{file-4fv3rmvn.js → file-fhm8k5s2.js} +16 -16
- package/dist/chunks/{file-sn5ar8h4.js → file-fjsjs8gs.js} +1 -1
- package/dist/chunks/{file-08abk570.js → file-fkpavqt9.js} +23 -23
- package/dist/chunks/{file-jkbrzrrv.js → file-fqsf7web.js} +27 -27
- package/dist/chunks/{file-pbhkjpds.js → file-fz1pdqz4.js} +3 -3
- package/dist/chunks/{file-p5a9pe6q.js → file-g2zsh1qa.js} +20 -20
- package/dist/chunks/{file-4rx2ve8e.js → file-g3fmkc14.js} +30 -30
- package/dist/chunks/{file-qp4m35b7.js → file-g4j6k2pz.js} +11 -11
- package/dist/chunks/{file-mtq6xxnx.js → file-g8d3gcyj.js} +3 -3
- package/dist/chunks/{file-6pdxptdt.js → file-gpkgrk3z.js} +1 -1
- package/dist/chunks/{file-fyvm2v1v.js → file-hadacg6q.js} +4 -4
- package/dist/chunks/{file-jnv61ywj.js → file-hc2w1ek9.js} +12 -12
- package/dist/chunks/{file-35agntz9.js → file-hcmmkp4d.js} +29 -29
- package/dist/chunks/{file-1zremn8p.js → file-hk900qzg.js} +22 -22
- package/dist/chunks/{file-bcezcar3.js → file-hnyf01b0.js} +3 -3
- package/dist/chunks/{file-10ac5mb1.js → file-hr77wr0b.js} +2 -2
- package/dist/chunks/{file-g2dy4bvs.js → file-hrvm11jt.js} +1 -1
- package/dist/chunks/{file-rap9a73h.js → file-ht5y0zrb.js} +4 -4
- package/dist/chunks/{file-kvsjn1dr.js → file-hw4pv20g.js} +1 -1
- package/dist/chunks/{file-xbh233pe.js → file-hw71hpyd.js} +6 -6
- package/dist/chunks/{file-049bzhxb.js → file-j2sq7sy2.js} +8 -8
- package/dist/chunks/{file-39cmf8tc.js → file-jb4h4dr1.js} +22 -22
- package/dist/chunks/{file-zwjsydpj.js → file-jntn13wn.js} +7 -7
- package/dist/chunks/{file-fd12r7gp.js → file-jwd6g0dr.js} +8 -8
- package/dist/chunks/{file-xqrgenjs.js → file-k4b13ztk.js} +11 -11
- package/dist/chunks/{file-wt8jf74x.js → file-k50qz9pg.js} +14 -14
- package/dist/chunks/file-k7jgc7wy.js +22 -0
- package/dist/chunks/{file-nw7wp838.js → file-kkq1zppc.js} +1 -1
- package/dist/chunks/{file-dtb0ws7g.js → file-ktr5pece.js} +286 -286
- package/dist/chunks/{file-9ddpxva0.js → file-m0m2gtc4.js} +16 -16
- package/dist/chunks/{file-a9zfrvqc.js → file-m3fm0fm8.js} +3 -3
- package/dist/chunks/{file-hg836chd.js → file-m3p4mq0k.js} +22 -22
- package/dist/chunks/{file-kt8ej3md.js → file-m4je5jzf.js} +15 -15
- package/dist/chunks/{file-sthxzpft.js → file-mb6d61vn.js} +21 -21
- package/dist/chunks/{file-mw9hhfke.js → file-md9ad6xb.js} +26 -26
- package/dist/chunks/{file-56gdpj1q.js → file-mfqp6xfm.js} +4 -4
- package/dist/chunks/{file-73tb2d7t.js → file-mhkvc446.js} +2 -2
- package/dist/chunks/{file-cbq8agb2.js → file-mhq5r63x.js} +43 -43
- package/dist/chunks/{file-0gbwq0hg.js → file-mmkbhfjj.js} +21 -21
- package/dist/chunks/{file-6m3yr79m.js → file-mr1e9xzf.js} +27 -27
- package/dist/chunks/{file-sxxkfwq9.js → file-mt2hp97g.js} +32 -32
- package/dist/chunks/{file-ybjzef57.js → file-mtqwgfqs.js} +7 -7
- package/dist/chunks/{file-99f55ymk.js → file-n5f8hq7m.js} +5 -5
- package/dist/chunks/{file-00pw28xp.js → file-na3f2bx6.js} +29 -29
- package/dist/chunks/{file-kq7ayz9w.js → file-p9tbkvt9.js} +9 -9
- package/dist/chunks/{file-j935v87r.js → file-paphc93g.js} +2 -2
- package/dist/chunks/file-pegy9qka.js +247 -0
- package/dist/chunks/{file-jw46jgr9.js → file-pmfjm0ds.js} +16 -16
- package/dist/chunks/{file-qqff7yvw.js → file-pmtj7vd7.js} +8 -8
- package/dist/chunks/{file-x7ynhfcf.js → file-prt369qg.js} +28 -28
- package/dist/chunks/{file-kkq7fz0t.js → file-ptz1ztyq.js} +5 -5
- package/dist/chunks/{file-3qysrpvj.js → file-q3cgsmnj.js} +18 -18
- package/dist/chunks/{file-rg4vxe4z.js → file-q604e6nk.js} +12 -12
- package/dist/chunks/{file-yqgm3h52.js → file-qeka1wpx.js} +16 -16
- package/dist/chunks/{file-39hqv1cv.js → file-qrjx5gd0.js} +20 -20
- package/dist/chunks/{file-m7fncjt1.js → file-qya9qmjj.js} +21 -21
- package/dist/chunks/{file-xb5gd69p.js → file-r528y2ap.js} +10 -10
- package/dist/chunks/{file-j01ht7zb.js → file-r911hjta.js} +17 -17
- package/dist/chunks/{file-759pz1a2.js → file-rjqxra3c.js} +7 -7
- package/dist/chunks/{file-14ek8s6r.js → file-rjrsppvq.js} +13 -13
- package/dist/chunks/{file-81wsxtk4.js → file-rmeyr0zp.js} +28 -28
- package/dist/chunks/{file-6c94r859.js → file-rmftyprg.js} +35 -35
- package/dist/chunks/{file-7ntygjpx.js → file-rmjbkvqc.js} +5 -5
- package/dist/chunks/{file-y0hxjsdz.js → file-rrp6adwx.js} +16 -16
- package/dist/chunks/{file-3hfq6gnd.js → file-rtgawa8q.js} +3 -3
- package/dist/chunks/{file-f5n5pagv.js → file-rtmnkjh7.js} +7 -7
- package/dist/chunks/{file-6gg9h021.js → file-rvvz5b9h.js} +12 -12
- package/dist/chunks/{file-rh7y5xh0.js → file-s0gpr7nd.js} +1 -1
- package/dist/chunks/{file-dns6mj49.js → file-s0xr38aj.js} +7 -7
- package/dist/chunks/{file-nknpaanp.js → file-ssh3ax1h.js} +9 -9
- package/dist/chunks/{file-phke90h3.js → file-t7xph3b4.js} +4 -4
- package/dist/chunks/{file-vqv04s3v.js → file-t9v5xvk5.js} +1 -1
- package/dist/chunks/{file-0nv781ed.js → file-tgta4dgx.js} +25 -25
- package/dist/chunks/{file-ts767fjw.js → file-tjjbrw7w.js} +16 -16
- package/dist/chunks/{file-tsv3p22z.js → file-tmgtet36.js} +19 -19
- package/dist/chunks/{file-wgcrfrpe.js → file-tpqfb4gb.js} +5 -5
- package/dist/chunks/{file-dm7yrpwm.js → file-ttmf2k06.js} +3 -3
- package/dist/chunks/{file-r5bh2vbg.js → file-tvqb7ptv.js} +8 -8
- package/dist/chunks/{file-p2bhzj9e.js → file-tvzx8eep.js} +7 -7
- package/dist/chunks/{file-xysfxsss.js → file-tymq08ss.js} +19 -19
- package/dist/chunks/{file-vhjdrq5e.js → file-tyqynq3b.js} +4 -4
- package/dist/chunks/{file-19knqdbs.js → file-v6khqva7.js} +1 -1
- package/dist/chunks/{file-kgx56mxq.js → file-v6vne6e8.js} +82 -82
- package/dist/chunks/{file-q06n7zjg.js → file-v8sg56bb.js} +6 -6
- package/dist/chunks/{file-75w3e9am.js → file-v92wz3b8.js} +30 -30
- package/dist/chunks/{file-d8ch6z4t.js → file-v940708v.js} +22 -22
- package/dist/chunks/{file-754np4jn.js → file-v961h6fn.js} +19 -19
- package/dist/chunks/{file-j5208yae.js → file-va5qff5x.js} +3 -3
- package/dist/chunks/{file-428apkw1.js → file-vgjr9pam.js} +15 -15
- package/dist/chunks/{file-z9bw2vtt.js → file-vn9j9bbf.js} +14 -14
- package/dist/chunks/{file-ge7ds67b.js → file-vnzc40bj.js} +1 -1
- package/dist/chunks/{file-k7ry919m.js → file-vt4ykcc5.js} +18 -18
- package/dist/chunks/{file-0kyj2j0j.js → file-vypq2r11.js} +12 -12
- package/dist/chunks/{file-zmscwvaw.js → file-w07k5xss.js} +10 -10
- package/dist/chunks/{file-7n7dggr2.js → file-w4d6nzh9.js} +7 -7
- package/dist/chunks/{file-rzmvvtd3.js → file-waegbgsk.js} +16 -16
- package/dist/chunks/{file-kmcjptjm.js → file-wefnnxbq.js} +1 -1
- package/dist/chunks/{file-aj358c6r.js → file-wfr7fczh.js} +12 -12
- package/dist/chunks/{file-qpfcbq6z.js → file-whc6z58z.js} +7 -7
- package/dist/chunks/{file-cryxk9jx.js → file-wt9rnddh.js} +19 -19
- package/dist/chunks/{file-b82xwvp7.js → file-wzds84qh.js} +5 -5
- package/dist/chunks/{file-fksjs2ph.js → file-x6pvac8r.js} +45 -45
- package/dist/chunks/{file-17qydk6p.js → file-x9efqt87.js} +18 -18
- package/dist/chunks/{file-3vtq9f9y.js → file-xb70hszk.js} +10 -10
- package/dist/chunks/{file-04k4zjse.js → file-xdrtxdpg.js} +15 -15
- package/dist/chunks/{file-nxrz604p.js → file-xjde6dvc.js} +7 -7
- package/dist/chunks/{file-76wr4mq2.js → file-xr5vwsd4.js} +7 -7
- package/dist/chunks/{file-ws7sq7f3.js → file-xy58tbcv.js} +25 -25
- package/dist/chunks/{file-c36t02qb.js → file-y37eft65.js} +28 -28
- package/dist/chunks/{file-a73hhrgc.js → file-y3cm0t0c.js} +10 -10
- package/dist/chunks/{file-ez0vzke5.js → file-y5z1eg03.js} +7 -7
- package/dist/chunks/{file-kk3rr3qh.js → file-yfbd16n1.js} +3 -3
- package/dist/chunks/{file-fqrxtbzb.js → file-yq559278.js} +5 -5
- package/dist/chunks/{file-m6gkbcmq.js → file-yqr8waf2.js} +32 -32
- package/dist/chunks/{file-kjsgxbnr.js → file-yt0vhsen.js} +19 -19
- package/dist/chunks/{file-33j3s859.js → file-z3h7hm3n.js} +3 -3
- package/dist/chunks/{file-29x78va6.js → file-z63w68vq.js} +4 -4
- package/dist/chunks/{file-ampcz2zy.js → file-z7ezyskm.js} +28 -28
- package/dist/chunks/{file-wd9xnjkn.js → file-z7n23fv9.js} +20 -20
- package/dist/chunks/{file-v24vjsdb.js → file-zmy6e5rj.js} +47 -47
- package/dist/chunks/{file-zxhyecep.js → file-zp70bgmg.js} +26 -26
- package/dist/chunks/{file-sy2xv61m.js → file-ztxeb84j.js} +1 -1
- package/dist/chunks/{file-bnce5g0a.js → file-zy8c9jht.js} +17 -17
- package/dist/codemode/instructions.js +8 -8
- package/dist/command.js +55 -55
- package/dist/config/discovery.js +56 -56
- package/dist/config/normalize.js +16 -16
- package/dist/config/plugin/agent.js +86 -86
- package/dist/config/plugin/command.js +172 -172
- package/dist/config/plugin/compaction.js +124 -124
- package/dist/config/plugin/formatter.js +88 -88
- package/dist/config/plugin/image.js +86 -86
- package/dist/config/plugin/instruction.js +62 -62
- package/dist/config/plugin/location-watcher.js +86 -86
- package/dist/config/plugin/mcp.js +95 -95
- package/dist/config/plugin/policy.js +86 -86
- package/dist/config/plugin/provider.js +85 -85
- package/dist/config/plugin/reference.js +88 -88
- package/dist/config/plugin/shell.js +89 -89
- package/dist/config/plugin/skill-file.js +71 -71
- package/dist/config/plugin/skill.js +106 -106
- package/dist/config/plugin/snapshot.js +86 -86
- package/dist/config/plugin/source.js +89 -89
- package/dist/config/plugin/tool-output.js +88 -88
- package/dist/config/plugin/websearch.js +87 -87
- package/dist/config/plugin/worktree.js +87 -87
- package/dist/config/variable.js +2 -2
- package/dist/config.js +92 -92
- package/dist/credential.js +59 -59
- package/dist/database/database.js +51 -51
- package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +8 -8
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +8 -8
- package/dist/database/migration.gen.js +37 -37
- package/dist/database/migration.js +38 -38
- package/dist/database/v1-migration.bun.js +14 -14
- package/dist/effect/app-node-builder.js +236 -236
- package/dist/environment/environment.js +64 -64
- package/dist/environment/index.js +66 -66
- package/dist/event-logger.js +13 -13
- package/dist/file-mutation.js +61 -61
- package/dist/filesystem/location-watcher-policy.js +3 -3
- package/dist/filesystem/location-watcher.js +182 -182
- package/dist/filesystem/search.js +73 -73
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +70 -70
- package/dist/form.js +63 -63
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +60 -60
- package/dist/generate.js +64 -64
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +310 -310
- package/dist/instruction-discovery.js +62 -62
- package/dist/instructions/builtins.js +61 -61
- package/dist/instructions/index.js +5 -5
- package/dist/integration.js +63 -63
- package/dist/job.js +57 -57
- package/dist/kv.js +52 -52
- package/dist/location-activity.js +60 -60
- package/dist/location-mutation.js +60 -60
- package/dist/location-service-map.js +60 -60
- package/dist/location-services.js +307 -307
- package/dist/location.js +61 -61
- package/dist/mcp/client.js +19 -19
- package/dist/mcp/index.js +76 -76
- package/dist/mcp/instructions.js +92 -92
- package/dist/mcp/stdio.js +61 -61
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +59 -59
- package/dist/model.js +10 -10
- package/dist/models-dev.js +65 -65
- package/dist/permission/saved.js +59 -59
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +83 -83
- package/dist/persistent-pty/index.js +64 -64
- package/dist/persistent-pty.js +50 -50
- package/dist/plugin/agent.js +72 -72
- package/dist/plugin/command.js +69 -69
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +179 -179
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +281 -281
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +54 -54
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +72 -72
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +89 -89
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +88 -88
- package/dist/plugin/provider/cloudflare-workers-ai.js +88 -88
- package/dist/plugin/provider/configured.js +86 -86
- package/dist/plugin/provider/github-copilot.js +57 -57
- 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 +53 -53
- package/dist/plugin/provider/lmstudio.js +89 -89
- package/dist/plugin/provider/modal.js +56 -56
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +89 -89
- package/dist/plugin/provider/openai.js +56 -56
- package/dist/plugin/provider/opencode.js +53 -53
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +89 -89
- package/dist/plugin/provider/xai.js +54 -54
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +122 -122
- package/dist/plugin/sdk.js +55 -55
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +104 -104
- 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 +59 -59
- package/dist/plugin/vcs/hg.js +59 -59
- package/dist/plugin/warming.js +85 -85
- 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 +187 -187
- package/dist/project/schema.js +5 -5
- package/dist/project/sql.js +2 -2
- package/dist/project.js +62 -62
- package/dist/provider.js +5 -5
- package/dist/pty.js +64 -64
- package/dist/reference/instructions.js +60 -60
- package/dist/reference.js +64 -64
- package/dist/repository-cache.js +56 -56
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +68 -68
- package/dist/rpc.js +60 -60
- package/dist/session/command.js +52 -52
- package/dist/session/compaction.js +100 -100
- package/dist/session/context.js +118 -118
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -6
- package/dist/session/execution/restart.js +125 -125
- package/dist/session/execution.js +96 -96
- package/dist/session/generate.js +117 -117
- package/dist/session/history.js +10 -10
- package/dist/session/inbox.js +63 -63
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +58 -58
- package/dist/session/instruction-state.js +5 -5
- package/dist/session/instructions.js +68 -68
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +87 -87
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +97 -97
- package/dist/session/projector.js +58 -58
- package/dist/session/prompt.js +74 -74
- package/dist/session/revert.js +61 -61
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +188 -188
- package/dist/session/runner/model.js +63 -63
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +91 -91
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +135 -135
- package/dist/session/shell.js +101 -101
- package/dist/session/skill.js +73 -73
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +12 -12
- package/dist/session/store.js +61 -61
- package/dist/session/subagent-job.js +171 -171
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +121 -121
- package/dist/session/to-session-error.js +80 -80
- package/dist/session/transfer.js +125 -125
- package/dist/session.js +180 -180
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +102 -102
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +75 -75
- package/dist/skill.js +80 -80
- package/dist/snapshot.js +66 -66
- package/dist/tool/mcp.js +93 -93
- package/dist/tool/plugin/edit.js +88 -88
- package/dist/tool/plugin/glob.js +92 -92
- package/dist/tool/plugin/grep.js +90 -90
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +88 -88
- package/dist/tool/plugin/question.js +73 -73
- package/dist/tool/plugin/read.js +89 -89
- package/dist/tool/plugin/shell.js +179 -179
- package/dist/tool/plugin/skill.js +81 -81
- package/dist/tool/plugin/subagent.js +178 -178
- package/dist/tool/plugin/webfetch.js +80 -80
- package/dist/tool/plugin/websearch.js +84 -84
- package/dist/tool/plugin/write.js +88 -88
- package/dist/tool/read-filesystem.js +70 -70
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +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 +62 -62
- package/dist/websearch.js +58 -58
- package/dist/wellknown/plugin.js +53 -53
- package/dist/wellknown.js +58 -58
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +57 -57
- package/dist/worktree/git.js +2 -2
- package/dist/worktree/refresh.js +299 -299
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree.js +63 -63
- package/package.json +7 -7
- package/dist/chunks/file-g7tb25v3.js +0 -247
- package/dist/chunks/file-vz1btq9j.js +0 -22
- /package/dist/chunks/{file-qvbcabdc.js → file-9qm9egsn.js} +0 -0
- /package/dist/chunks/{file-b29mbqx6.js → file-d9wzmzc3.js} +0 -0
- /package/dist/chunks/{file-tag52meg.js → file-gmq3187j.js} +0 -0
- /package/dist/chunks/{file-eyx7m0wd.js → file-hpgd43jv.js} +0 -0
- /package/dist/chunks/{file-92k45pvj.js → file-zvrekwpq.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./file-
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./file-5rdj9hmq.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./file-
|
|
8
|
+
} from "./file-hrvm11jt.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./file-
|
|
11
|
+
load3
|
|
12
|
+
} from "./file-tvqb7ptv.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./file-
|
|
15
|
+
} from "./file-gpkgrk3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} from "./file-9rqn6x4v.js";
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service58,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node62
|
|
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 ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service58 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const { db } = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
58
|
+
const { db } = yield* Service77;
|
|
59
|
+
return Service58.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;
|
|
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
99
99
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
100
100
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
101
101
|
}),
|
|
102
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
102
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load3(db, sessionID)),
|
|
103
103
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
104
104
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
105
105
|
return row ? {
|
|
@@ -126,6 +126,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
126
126
|
})
|
|
127
127
|
});
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node62 = makeGlobalNode({ service: Service58, layer, deps: [node82] });
|
|
130
130
|
|
|
131
|
-
export { ListInput4,
|
|
131
|
+
export { ListInput4, Service58, node62, exports_store };
|
|
@@ -10,7 +10,7 @@ var exports_attachment = {};
|
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info14
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info14 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info14, exports_attachment };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./file-
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./file-7qhv6080.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./file-
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./file-46e97tr7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./file-
|
|
10
|
+
Service72,
|
|
11
|
+
node77
|
|
12
|
+
} from "./file-xdrtxdpg.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./file-
|
|
15
|
+
} from "./file-ht5y0zrb.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./file-
|
|
17
|
+
Service39,
|
|
18
|
+
node43
|
|
19
|
+
} from "./file-dm4t3jdg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./file-
|
|
21
|
+
node22
|
|
22
|
+
} from "./file-x9efqt87.js";
|
|
23
23
|
import {
|
|
24
24
|
Service7,
|
|
25
|
-
|
|
26
|
-
} from "./file-
|
|
25
|
+
node10
|
|
26
|
+
} from "./file-fz1pdqz4.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
29
|
} from "./file-9rqn6x4v.js";
|
|
@@ -43,11 +43,11 @@ import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
|
43
43
|
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
45
|
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
46
|
+
const location = yield* Service72;
|
|
47
|
+
const watcher = yield* Service39;
|
|
48
|
+
const bus = yield* Service76;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service74;
|
|
51
51
|
const policy = yield* Service7;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
105
105
|
var node2 = makeLocationNode({
|
|
106
106
|
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node43, FSUtil.node, node77, node79, node81, node22, node10]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
111
|
export { Service2, node2, exports_location_watcher };
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
RelativePath2
|
|
5
5
|
} from "./file-p8qxwesx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./file-
|
|
7
|
+
Service70,
|
|
8
|
+
node74
|
|
9
|
+
} from "./file-tymq08ss.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
12
|
} from "./file-5jvc5tg2.js";
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service69,
|
|
24
|
+
node: () => node73
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service69 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service70;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service69.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node73 = makeLocationNode({ service: Service69, layer, deps: [node74, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Error3, InvalidPatternError2, Service69, node73, exports_ripgrep };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./file-
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./file-7qhv6080.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
7
|
} from "./file-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./file-
|
|
10
|
+
} from "./file-ajc7k593.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./file-9rqn6x4v.js";
|
|
@@ -17,16 +17,16 @@ var exports_skill5 = {};
|
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event10,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info17,
|
|
23
23
|
Name: () => Name2,
|
|
24
24
|
Service: () => Service41,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node45,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event10 } from "@opencode-ai/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info17 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -74,25 +74,25 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
74
74
|
class Service41 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
76
|
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
77
|
-
const bus = yield*
|
|
77
|
+
const bus = yield* Service76;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
111
|
+
var node45 = makeLocationNode({
|
|
112
112
|
service: Service41,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node81]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info17, ID5, Name2, available2, toModelOutput3, prepare3, Service41, node45, exports_skill5, Event10 };
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
} from "./file-1ct4r87x.js";
|
|
4
4
|
import {
|
|
5
5
|
AmazonBedrockPlugin2
|
|
6
|
-
} from "./file-
|
|
6
|
+
} from "./file-crtth3kn.js";
|
|
7
7
|
import {
|
|
8
8
|
AnthropicPlugin2
|
|
9
|
-
} from "./file-
|
|
9
|
+
} from "./file-fjsjs8gs.js";
|
|
10
10
|
import {
|
|
11
11
|
AzurePlugin2
|
|
12
|
-
} from "./file-
|
|
12
|
+
} from "./file-dhv13n9b.js";
|
|
13
13
|
import {
|
|
14
14
|
CerebrasPlugin2
|
|
15
|
-
} from "./file-
|
|
15
|
+
} from "./file-ztxeb84j.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareAIGatewayPlugin2
|
|
18
|
-
} from "./file-
|
|
18
|
+
} from "./file-n5f8hq7m.js";
|
|
19
19
|
import {
|
|
20
20
|
CloudflareWorkersAIPlugin2
|
|
21
|
-
} from "./file-
|
|
21
|
+
} from "./file-wzds84qh.js";
|
|
22
22
|
import {
|
|
23
23
|
CoherePlugin2
|
|
24
24
|
} from "./file-5fmxt4p5.js";
|
|
@@ -30,70 +30,70 @@ import {
|
|
|
30
30
|
} from "./file-4r2nyarf.js";
|
|
31
31
|
import {
|
|
32
32
|
GithubCopilotPlugin2
|
|
33
|
-
} from "./file-
|
|
33
|
+
} from "./file-934h7amq.js";
|
|
34
34
|
import {
|
|
35
35
|
GitLabPlugin2
|
|
36
|
-
} from "./file-
|
|
36
|
+
} from "./file-hadacg6q.js";
|
|
37
37
|
import {
|
|
38
38
|
GoogleVertexPlugin2
|
|
39
|
-
} from "./file-
|
|
39
|
+
} from "./file-9z6xj13s.js";
|
|
40
40
|
import {
|
|
41
41
|
KiloPlugin2
|
|
42
|
-
} from "./file-
|
|
42
|
+
} from "./file-wefnnxbq.js";
|
|
43
43
|
import {
|
|
44
44
|
LLMGatewayPlugin2
|
|
45
|
-
} from "./file-
|
|
45
|
+
} from "./file-hw71hpyd.js";
|
|
46
46
|
import {
|
|
47
47
|
LMStudioPlugin2
|
|
48
|
-
} from "./file-
|
|
48
|
+
} from "./file-y3cm0t0c.js";
|
|
49
49
|
import {
|
|
50
50
|
MistralPlugin2
|
|
51
51
|
} from "./file-sba4qhjf.js";
|
|
52
52
|
import {
|
|
53
53
|
ModalPlugin2
|
|
54
|
-
} from "./file-
|
|
54
|
+
} from "./file-fhm8k5s2.js";
|
|
55
55
|
import {
|
|
56
56
|
NvidiaPlugin2
|
|
57
|
-
} from "./file-
|
|
57
|
+
} from "./file-8tq3sb4p.js";
|
|
58
58
|
import {
|
|
59
59
|
OllamaPlugin2
|
|
60
|
-
} from "./file-
|
|
60
|
+
} from "./file-0p6bnn4j.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./file-
|
|
62
|
+
OpenAIPlugin2
|
|
63
|
+
} from "./file-zy8c9jht.js";
|
|
64
64
|
import {
|
|
65
65
|
SnowflakeCortexPlugin2
|
|
66
|
-
} from "./file-
|
|
66
|
+
} from "./file-9vw7vcdh.js";
|
|
67
67
|
import {
|
|
68
68
|
OpenAICompatiblePlugin2
|
|
69
69
|
} from "./file-41nvscxy.js";
|
|
70
70
|
import {
|
|
71
71
|
OpencodePlugin2
|
|
72
|
-
} from "./file-
|
|
72
|
+
} from "./file-7yr2wfkw.js";
|
|
73
73
|
import {
|
|
74
74
|
OpenRouterPlugin2
|
|
75
|
-
} from "./file-
|
|
75
|
+
} from "./file-4pgqfzd8.js";
|
|
76
76
|
import {
|
|
77
77
|
PerplexityPlugin2
|
|
78
78
|
} from "./file-heyhwy2w.js";
|
|
79
79
|
import {
|
|
80
80
|
SapAICorePlugin2
|
|
81
|
-
} from "./file-
|
|
81
|
+
} from "./file-tyqynq3b.js";
|
|
82
82
|
import {
|
|
83
83
|
VercelPlugin2
|
|
84
|
-
} from "./file-
|
|
84
|
+
} from "./file-89cfd633.js";
|
|
85
85
|
import {
|
|
86
86
|
VenicePlugin2
|
|
87
87
|
} from "./file-2ht70gj7.js";
|
|
88
88
|
import {
|
|
89
89
|
VLLMPlugin2
|
|
90
|
-
} from "./file-
|
|
90
|
+
} from "./file-asf9wq49.js";
|
|
91
91
|
import {
|
|
92
92
|
XAIPlugin2
|
|
93
|
-
} from "./file-
|
|
93
|
+
} from "./file-8kpcqxj9.js";
|
|
94
94
|
import {
|
|
95
95
|
ZenmuxPlugin2
|
|
96
|
-
} from "./file-
|
|
96
|
+
} from "./file-s0gpr7nd.js";
|
|
97
97
|
|
|
98
98
|
// src/plugin/provider.ts
|
|
99
99
|
var ProviderPlugins2 = [
|
|
@@ -119,7 +119,7 @@ var ProviderPlugins2 = [
|
|
|
119
119
|
OpencodePlugin2,
|
|
120
120
|
SnowflakeCortexPlugin2,
|
|
121
121
|
OpenAICompatiblePlugin2,
|
|
122
|
-
|
|
122
|
+
OpenAIPlugin2,
|
|
123
123
|
OpenRouterPlugin2,
|
|
124
124
|
PerplexityPlugin2,
|
|
125
125
|
SapAICorePlugin2,
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make9(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make9 };
|