@opencode/core 0.0.0-dev-20974 → 0.0.0-dev-20978
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/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{config-p9kyc8hv.js → integration-02w9aj2p.js} +15 -15
- package/dist/chunks/{config-fpecnkgp.js → integration-0bg0bx69.js} +7 -7
- package/dist/chunks/{config-yqp7ktqq.js → integration-0mnr004b.js} +5 -5
- package/dist/chunks/{config-762r0j46.js → integration-0t098hqn.js} +5 -5
- package/dist/chunks/{config-0vbcp93d.js → integration-0vbcp93d.js} +2 -2
- package/dist/chunks/{config-mg0phvwk.js → integration-0znydvyz.js} +32 -32
- package/dist/chunks/{config-r6ev954a.js → integration-143r1wtc.js} +6 -6
- package/dist/chunks/{config-y0zfn4km.js → integration-1d70w6ay.js} +11 -11
- package/dist/chunks/{config-vy9xgsjc.js → integration-1h4g6m19.js} +13 -13
- package/dist/chunks/{config-wgsz0s88.js → integration-1kazj788.js} +28 -28
- package/dist/chunks/{config-g0dgwjh0.js → integration-1n9pygvy.js} +1 -1
- package/dist/chunks/{config-6arc5rjd.js → integration-1nv9sndm.js} +14 -14
- package/dist/chunks/{config-7z1vgh5h.js → integration-1wnyfqya.js} +11 -11
- package/dist/chunks/{config-02qraqzk.js → integration-20rck29a.js} +3 -3
- package/dist/chunks/{config-7xsq91gy.js → integration-24de4jcv.js} +24 -24
- package/dist/chunks/{config-2gxjzyzf.js → integration-2ax3e9e8.js} +18 -18
- package/dist/chunks/{config-ycbdgwcn.js → integration-2b2w9fpw.js} +11 -11
- package/dist/chunks/{config-hg4rnxb1.js → integration-2e2f6za3.js} +16 -16
- package/dist/chunks/{config-rvf0m9x6.js → integration-2eegacq4.js} +8 -8
- package/dist/chunks/{config-e5vvafs4.js → integration-2hnm9mt2.js} +21 -21
- package/dist/chunks/{config-7dqw4kz8.js → integration-2k8khapm.js} +5 -5
- package/dist/chunks/{config-62ks5ya3.js → integration-2pr04h36.js} +17 -17
- package/dist/chunks/{config-y0v97ece.js → integration-2vf0n9dc.js} +33 -33
- package/dist/chunks/{config-7dx94a8a.js → integration-2wjpsrg9.js} +29 -29
- package/dist/chunks/{config-w15zq9ba.js → integration-3bf6xksf.js} +26 -26
- package/dist/chunks/{config-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-wzyeza22.js → integration-3h9b6adj.js} +9 -9
- package/dist/chunks/{config-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3hwn7j4h.js → integration-3hwn7j4h.js} +2 -2
- package/dist/chunks/{config-z68zymx4.js → integration-3mfw0227.js} +20 -20
- package/dist/chunks/{config-e37pmz24.js → integration-3n2sy81e.js} +45 -45
- package/dist/chunks/{config-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-wcmqdx0x.js → integration-3tadswfh.js} +72 -72
- package/dist/chunks/{config-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-7yycy2h1.js → integration-3wcf5067.js} +7 -7
- package/dist/chunks/{config-60wyhera.js → integration-3xyzc1bb.js} +12 -12
- package/dist/chunks/{config-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-v5yb9q9d.js → integration-43k7rrm6.js} +18 -18
- package/dist/chunks/{config-yd1j78sb.js → integration-47hb4nwt.js} +20 -20
- package/dist/chunks/{config-b1a1n7cj.js → integration-48kw51zw.js} +3 -3
- package/dist/chunks/{config-xjj9wp7z.js → integration-4e3hx6a8.js} +11 -11
- package/dist/chunks/{config-8sfc0wey.js → integration-4gbbktzc.js} +54 -54
- package/dist/chunks/{config-r1gqh8rh.js → integration-4gt2rfw6.js} +11 -11
- package/dist/chunks/{config-fpcmnzzf.js → integration-4mj0xbb0.js} +4 -4
- package/dist/chunks/{config-2a6rn6yr.js → integration-4mwpykj0.js} +6 -6
- package/dist/chunks/{config-9c5qkdzp.js → integration-4mwv8fj8.js} +6 -6
- package/dist/chunks/{config-tk14y25j.js → integration-4xpgt2w9.js} +5 -5
- package/dist/chunks/{config-pr2b7jsw.js → integration-53yxdm32.js} +3 -3
- package/dist/chunks/{config-54ma36ye.js → integration-54ma36ye.js} +1 -1
- package/dist/chunks/{config-zrrd3yrk.js → integration-567mnytz.js} +9 -9
- package/dist/chunks/{config-v0sbr2ea.js → integration-57vd5ddd.js} +10 -10
- package/dist/chunks/{config-tf3222g3.js → integration-5awrnk09.js} +13 -13
- package/dist/chunks/{config-mydkn45y.js → integration-5g19k9bb.js} +4 -4
- package/dist/chunks/{config-3nfxskhp.js → integration-5j96nkwn.js} +17 -17
- package/dist/chunks/{config-hfvvqhdy.js → integration-5ka3t0tj.js} +12 -12
- package/dist/chunks/{config-5m9w47nd.js → integration-5m9w47nd.js} +1 -1
- package/dist/chunks/{config-re1p87d8.js → integration-5nwmvtjk.js} +4 -4
- package/dist/chunks/{config-wh7t4e1v.js → integration-5pws13cc.js} +18 -18
- package/dist/chunks/{config-e3qxr5gk.js → integration-5qd3pb7m.js} +2 -2
- package/dist/chunks/{config-cmwkp3r5.js → integration-5xtgfte3.js} +8 -8
- package/dist/chunks/{config-fekaqg6f.js → integration-61qq7rvz.js} +10 -10
- package/dist/chunks/{config-a0m6h5d3.js → integration-62w775d6.js} +18 -18
- package/dist/chunks/{config-1sswq13b.js → integration-67qn8gwf.js} +32 -32
- package/dist/chunks/{config-hp81bs06.js → integration-6j2hc47f.js} +5 -5
- package/dist/chunks/{config-rcax4tz4.js → integration-6n0vcawk.js} +38 -38
- package/dist/chunks/{config-ybb6cp0p.js → integration-6n6w6600.js} +24 -24
- package/dist/chunks/{config-6xb47vfp.js → integration-6xb47vfp.js} +1 -1
- package/dist/chunks/{config-775gj3j1.js → integration-775gj3j1.js} +2 -2
- package/dist/chunks/{config-acqajj8r.js → integration-79s4533m.js} +6 -6
- package/dist/chunks/{config-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-drcydny5.js → integration-7bwdhhvs.js} +11 -11
- package/dist/chunks/{config-py3kkmfq.js → integration-7fkffz83.js} +4 -4
- package/dist/chunks/{config-ay8psm0s.js → integration-7fqrvb5h.js} +11 -11
- package/dist/chunks/{config-4zmd8taf.js → integration-7jeawvpq.js} +24 -23
- package/dist/chunks/{config-tfgq103w.js → integration-7vg2c9yj.js} +4 -4
- package/dist/chunks/{config-1nwjghw1.js → integration-7yttvvbf.js} +318 -318
- package/dist/chunks/{config-yqc6bamn.js → integration-7zt5x37y.js} +1 -1
- package/dist/chunks/{config-84txncab.js → integration-84txncab.js} +1 -1
- package/dist/chunks/{config-mh47r7rz.js → integration-8bed88vs.js} +22 -22
- package/dist/chunks/{config-rqhfhy3z.js → integration-8cvaxj6f.js} +3 -3
- package/dist/chunks/integration-8h4qvcc4.js +26 -0
- package/dist/chunks/{config-zk1m31bd.js → integration-8kg6nsf3.js} +19 -19
- package/dist/chunks/{config-8m6m0r52.js → integration-8m6m0r52.js} +1 -1
- package/dist/chunks/{config-bv92v5ha.js → integration-8qx0ft9r.js} +11 -11
- package/dist/chunks/{config-x6ybfcbb.js → integration-8s6qdbp2.js} +17 -17
- package/dist/chunks/{config-sgbv3fe1.js → integration-8s8r1j5h.js} +11 -11
- package/dist/chunks/{config-0pr1y4jp.js → integration-8sdk6rd9.js} +18 -18
- package/dist/chunks/{config-0m8h2qr4.js → integration-8t93p44s.js} +16 -16
- package/dist/chunks/{config-91qna3x0.js → integration-91qna3x0.js} +3 -3
- package/dist/chunks/{config-qrnss6zx.js → integration-97rfbr3n.js} +22 -22
- package/dist/chunks/{config-t30ss7js.js → integration-99vjn2hc.js} +5 -5
- package/dist/chunks/{config-d5z3sgqd.js → integration-9e1pmf0a.js} +17 -17
- package/dist/chunks/{config-8hpp8qmv.js → integration-9j959tjb.js} +17 -17
- package/dist/chunks/{config-nwknn2xz.js → integration-9vqvxvb4.js} +21 -21
- package/dist/chunks/{config-jqgyhjm2.js → integration-a0hcwye6.js} +20 -20
- package/dist/chunks/{config-821yd112.js → integration-a2ph73j8.js} +11 -11
- package/dist/chunks/{config-v1vwb9d7.js → integration-a5qrcbjh.js} +19 -19
- package/dist/chunks/{config-67d29nrs.js → integration-ab80vq7k.js} +6 -6
- package/dist/chunks/{config-3knmp5hp.js → integration-acxhc3d6.js} +17 -17
- package/dist/chunks/{config-8tsdq50x.js → integration-afrtgck4.js} +4 -4
- package/dist/chunks/{config-6znvzgba.js → integration-ajfq1j2n.js} +3 -3
- package/dist/chunks/{config-xrhbkftf.js → integration-akfjyt7n.js} +5 -5
- package/dist/chunks/{config-bygy4jdg.js → integration-asp8172m.js} +8 -8
- package/dist/chunks/{config-kn3kp147.js → integration-b1mnze89.js} +25 -25
- package/dist/chunks/{config-cbct03g3.js → integration-b2hzcd3j.js} +9 -9
- package/dist/chunks/{config-mjketbfh.js → integration-b6w8dzf3.js} +10 -10
- package/dist/chunks/{config-y97p8kp8.js → integration-bcs2vc99.js} +18 -18
- package/dist/chunks/{config-c3cx5j4b.js → integration-bfagfvh3.js} +18 -18
- package/dist/chunks/{config-xdjq0qq8.js → integration-bn0s77k4.js} +20 -20
- package/dist/chunks/{config-z4ev155g.js → integration-bq7b46md.js} +11 -11
- package/dist/chunks/{config-s2b6ybff.js → integration-bxrxjfyz.js} +22 -22
- package/dist/chunks/{config-wjqb2vp5.js → integration-bydnjh3t.js} +9 -9
- package/dist/chunks/{config-c1fqxshp.js → integration-c1fqxshp.js} +3 -3
- package/dist/chunks/{config-kqa0z082.js → integration-c1sjg8rr.js} +34 -34
- package/dist/chunks/{config-629etcre.js → integration-c921sagg.js} +19 -19
- package/dist/chunks/{config-v42wcykj.js → integration-c9xq1me2.js} +7 -7
- package/dist/chunks/{config-7b13096f.js → integration-c9y7ddt1.js} +18 -18
- package/dist/chunks/{config-4xw4hb0k.js → integration-cgw0sr81.js} +4 -4
- package/dist/chunks/{config-kkjwt57m.js → integration-chm3ahxj.js} +20 -20
- package/dist/chunks/{config-j8m1p4p1.js → integration-cp937pt4.js} +4 -4
- package/dist/chunks/{config-syvjqvdx.js → integration-csxqjt7p.js} +13 -13
- package/dist/chunks/{config-fatcgzzf.js → integration-cw1rqfwx.js} +20 -20
- package/dist/chunks/{config-f2yaqbgc.js → integration-d43rxkgb.js} +8 -8
- package/dist/chunks/{config-w5md0twf.js → integration-d5szz41b.js} +16 -16
- package/dist/chunks/{config-f8raxs8b.js → integration-d7h31c5g.js} +32 -32
- package/dist/chunks/{config-d7x0sh0y.js → integration-d7x0sh0y.js} +2 -2
- package/dist/chunks/{config-y71avatq.js → integration-dpkg50ah.js} +4 -4
- package/dist/chunks/{config-dqxsqydv.js → integration-dqxsqydv.js} +1 -1
- package/dist/chunks/{config-4wm5gt0a.js → integration-dx252d9n.js} +14 -14
- package/dist/chunks/{config-t550f9t1.js → integration-eaj1djv9.js} +8 -8
- package/dist/chunks/{config-h2aqespm.js → integration-ecp0matg.js} +7 -7
- package/dist/chunks/{config-sxcaecc0.js → integration-ed1g29hy.js} +3 -3
- package/dist/chunks/{config-81wgj9qf.js → integration-ee85d589.js} +35 -35
- package/dist/chunks/{config-eej6y6fw.js → integration-eej6y6fw.js} +2 -2
- package/dist/chunks/{config-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-1382zh5k.js → integration-egy07wx7.js} +35 -35
- package/dist/chunks/{config-0xp4r1e6.js → integration-ek0npsg1.js} +25 -25
- package/dist/chunks/{config-wf32vpve.js → integration-fk9rnzxz.js} +6 -6
- package/dist/chunks/{config-ydgy0jv4.js → integration-fq08akcr.js} +8 -8
- package/dist/chunks/{config-jfqtm2ew.js → integration-fqb2p7cx.js} +4 -4
- package/dist/chunks/{config-58mhyp5h.js → integration-fzckcppe.js} +11 -11
- package/dist/chunks/{config-y16w4tpe.js → integration-g0cd9hz2.js} +46 -46
- package/dist/chunks/{config-m2bvq512.js → integration-g1xztdvv.js} +13 -13
- package/dist/chunks/{config-ammxr8ws.js → integration-g2vy875s.js} +20 -20
- package/dist/chunks/{config-4kek7zfx.js → integration-g65kktpc.js} +32 -32
- package/dist/chunks/{config-z16y9yvd.js → integration-gabnevyz.js} +24 -24
- package/dist/chunks/{config-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-z6c3x22d.js → integration-gj71zhbs.js} +5 -5
- package/dist/chunks/{config-x661k3y3.js → integration-gqtdsdt7.js} +4 -4
- package/dist/chunks/{config-h9wp8z5w.js → integration-gw7cjrad.js} +4 -4
- package/dist/chunks/{config-yqc6e8cm.js → integration-gwc9ta45.js} +172 -172
- package/dist/chunks/{config-hpfjbs68.js → integration-h20p4cmk.js} +319 -319
- package/dist/chunks/{config-jsx66tr6.js → integration-h4dbkbzh.js} +7 -7
- package/dist/chunks/{config-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-31xfzrxg.js → integration-h7s7r6s9.js} +5 -5
- package/dist/chunks/{config-x5wrmng7.js → integration-hcv80w8f.js} +11 -11
- package/dist/chunks/{config-zyk1yjk8.js → integration-hdkng2sj.js} +5 -5
- package/dist/chunks/{config-hgz4x7wa.js → integration-hgz4x7wa.js} +1 -1
- package/dist/chunks/{config-35rm8jax.js → integration-hj1nhez8.js} +11 -11
- package/dist/chunks/{config-v3q72hwj.js → integration-hvh251q6.js} +12 -12
- package/dist/chunks/{config-xd843k0n.js → integration-hvzwxxe5.js} +4 -4
- package/dist/chunks/{config-8hy7xyxr.js → integration-hxg598kt.js} +14 -14
- package/dist/chunks/{config-mfn9ttpf.js → integration-hy1zrb4s.js} +18 -18
- package/dist/chunks/{config-m34vwq7h.js → integration-hyj1ar3s.js} +19 -19
- package/dist/chunks/{config-abq2jbs0.js → integration-j1hr602b.js} +34 -34
- package/dist/chunks/{config-2afzx6zk.js → integration-j5qeqyf7.js} +15 -15
- package/dist/chunks/{config-p4tr9c0j.js → integration-j6bp08m6.js} +36 -36
- package/dist/chunks/{config-ctz7jbry.js → integration-jhpaar4x.js} +8 -8
- package/dist/chunks/{config-6g107h22.js → integration-jk540des.js} +2 -2
- package/dist/chunks/{config-y95647xg.js → integration-jrg0f122.js} +35 -35
- package/dist/chunks/{config-kz3zn8w7.js → integration-jx3w0egz.js} +50 -40
- package/dist/chunks/{config-7bvhxbpb.js → integration-jz0nyn5q.js} +34 -34
- package/dist/chunks/{config-khmqacep.js → integration-khmqacep.js} +1 -1
- package/dist/chunks/{config-d688864j.js → integration-km2wp4sk.js} +5 -5
- package/dist/chunks/{config-acwv26cp.js → integration-kmk73gfw.js} +24 -24
- package/dist/chunks/{config-3wyt1wgd.js → integration-kpwnyztm.js} +5 -5
- package/dist/chunks/{config-6q9tkmt3.js → integration-kqc63956.js} +15 -15
- package/dist/chunks/{config-zp5fwp4t.js → integration-kzgz5k2v.js} +8 -8
- package/dist/chunks/{config-fxrhxvn9.js → integration-m5xxn7ny.js} +15 -15
- package/dist/chunks/{config-d4he2qe1.js → integration-m8w6th39.js} +9 -9
- package/dist/chunks/{config-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-maspj1v3.js → integration-maspj1v3.js} +1 -1
- package/dist/chunks/{config-qdbr1wgb.js → integration-mde5fjw6.js} +65 -65
- package/dist/chunks/{config-60ydmhrz.js → integration-mqhkheas.js} +33 -33
- package/dist/chunks/{config-fxsms5jy.js → integration-nfyn2wym.js} +17 -17
- package/dist/chunks/{config-zbs031bc.js → integration-nhcf6tj5.js} +42 -42
- package/dist/chunks/{config-pqdg2k7x.js → integration-nnsxpg4r.js} +30 -30
- package/dist/chunks/{config-fww2ha2b.js → integration-npphdyeb.js} +10 -10
- package/dist/chunks/{config-7sveeffa.js → integration-nq6rswfa.js} +6 -6
- package/dist/chunks/{config-g1ybppcg.js → integration-p42aq5gt.js} +32 -32
- package/dist/chunks/{config-v8asj5jt.js → integration-p4jvcfcz.js} +9 -9
- package/dist/chunks/{config-d75zd3d9.js → integration-p5vzfqrn.js} +21 -21
- package/dist/chunks/{config-cefrfr20.js → integration-p67k4s07.js} +10 -10
- package/dist/chunks/{config-95dgek9s.js → integration-pc5ybacd.js} +25 -25
- package/dist/chunks/{config-x40ehy68.js → integration-pdtnc95m.js} +15 -15
- package/dist/chunks/{config-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{config-0j77ygfz.js → integration-q0xm7vwc.js} +6 -6
- package/dist/chunks/{config-kcv7yfyp.js → integration-q15769wk.js} +18 -18
- package/dist/chunks/{config-hzzv0zqs.js → integration-q31de0x9.js} +8 -8
- package/dist/chunks/{config-nsndhs4q.js → integration-q6j596eh.js} +1 -1
- package/dist/chunks/{config-t627dgbc.js → integration-qbmcevmj.js} +8 -8
- package/dist/chunks/integration-qc068m1q.js +18 -0
- package/dist/chunks/{config-qnc92qwc.js → integration-qnc92qwc.js} +1 -1
- package/dist/chunks/{config-xfkkasph.js → integration-qqeeq2t9.js} +7 -7
- package/dist/chunks/{config-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{config-jdfkyc7g.js → integration-qxwajnrg.js} +17 -17
- package/dist/chunks/{config-r953n9w9.js → integration-r953n9w9.js} +2 -2
- package/dist/chunks/{config-jfx5bm3g.js → integration-rdfnpc7e.js} +1 -1
- package/dist/chunks/{config-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-rert0e01.js → integration-rert0e01.js} +2 -2
- package/dist/chunks/{config-rj3eygr5.js → integration-rj3eygr5.js} +2 -2
- package/dist/chunks/{config-kkd969pe.js → integration-rkmnmadr.js} +50 -50
- package/dist/chunks/{config-mfx6szaj.js → integration-rq0xhyhm.js} +10 -10
- package/dist/chunks/{config-ktgr00t7.js → integration-rqa1jxse.js} +2 -2
- package/dist/chunks/{config-pj6xbwrr.js → integration-rs406pav.js} +9 -9
- package/dist/chunks/{config-bn7xy0g2.js → integration-s0pnqgv4.js} +19 -19
- package/dist/chunks/{config-e84fcybx.js → integration-s8g66bd6.js} +87 -87
- package/dist/chunks/{config-sa8ekw3f.js → integration-sa8ekw3f.js} +2 -2
- package/dist/chunks/{config-gb521b49.js → integration-shrp9z6x.js} +28 -28
- package/dist/chunks/{config-210p74nv.js → integration-skf2a03x.js} +6 -6
- package/dist/chunks/{config-qpb2p9cz.js → integration-spbp20tf.js} +8 -8
- package/dist/chunks/{config-zcptvvbb.js → integration-sqhrjh3n.js} +34 -34
- package/dist/chunks/{config-87erbqpq.js → integration-swjdfjnv.js} +9 -9
- package/dist/chunks/{config-syv4x271.js → integration-syv4x271.js} +1 -1
- package/dist/chunks/{config-dy5nq9xk.js → integration-t24nkpg8.js} +5 -5
- package/dist/chunks/{config-cvkmbkw4.js → integration-t7s9nfcw.js} +13 -13
- package/dist/chunks/{config-efprg161.js → integration-t8ggdyye.js} +11 -11
- package/dist/chunks/{config-vdmh41w0.js → integration-tan1p1hk.js} +33 -33
- package/dist/chunks/{config-zxxm1qm5.js → integration-tawpdk3z.js} +16 -16
- package/dist/chunks/{config-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-89znhe33.js → integration-tcezcvh9.js} +4 -4
- package/dist/chunks/{config-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{config-tm0kqsz3.js → integration-tm0kqsz3.js} +1 -1
- package/dist/chunks/{config-vt8aqadh.js → integration-tmvn36x1.js} +8 -8
- package/dist/chunks/{config-h0mcnnwj.js → integration-twafc98e.js} +18 -18
- package/dist/chunks/{config-96kn8jjj.js → integration-twwzjqdf.js} +9 -9
- package/dist/chunks/{config-1j6m29mr.js → integration-txm3e8qz.js} +9 -9
- package/dist/chunks/{config-tyytaxap.js → integration-tyytaxap.js} +1 -1
- package/dist/chunks/{config-rdaz5rtk.js → integration-v21nvywy.js} +19 -19
- package/dist/chunks/{config-mgv1kxv3.js → integration-v3j9tc6a.js} +38 -38
- package/dist/chunks/{config-v7p4zvkq.js → integration-v7p4zvkq.js} +2 -2
- package/dist/chunks/{config-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{config-myd2wbjp.js → integration-vj682sbm.js} +2 -2
- package/dist/chunks/{config-1mb0r1yn.js → integration-vmbrwsbp.js} +43 -43
- package/dist/chunks/{config-7845smmb.js → integration-vwdjqckc.js} +5 -5
- package/dist/chunks/{config-2ry68dgd.js → integration-vx00sn5p.js} +9 -9
- package/dist/chunks/{config-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-d0tcn3zk.js → integration-w94bxqdg.js} +11 -11
- package/dist/chunks/integration-w9fb4ef8.js +253 -0
- package/dist/chunks/{config-r7bgvb3r.js → integration-wc5yctqd.js} +21 -21
- package/dist/chunks/{config-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{config-qaj7jrkv.js → integration-wdpq3wk2.js} +4 -4
- package/dist/chunks/{config-pdb9fqzw.js → integration-wey6k149.js} +10 -10
- package/dist/chunks/{config-0b5g1ynf.js → integration-wg81ww38.js} +4 -4
- package/dist/chunks/{config-ywt8jp22.js → integration-wjr9rjd7.js} +6 -6
- package/dist/chunks/{config-x0a68chk.js → integration-wpt53rg3.js} +5 -5
- package/dist/chunks/{config-er289745.js → integration-wr15ww3q.js} +17 -17
- package/dist/chunks/{config-k0w1apbg.js → integration-xj1aydcy.js} +5 -5
- package/dist/chunks/{config-sqp6aczb.js → integration-xk34q5eg.js} +16 -16
- package/dist/chunks/{config-hcvd2ks1.js → integration-xmxvq9d2.js} +3 -3
- package/dist/chunks/{config-g7tq8gs4.js → integration-xn6qvp49.js} +60 -60
- package/dist/chunks/{config-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-kp3pkrp8.js → integration-y9y673vj.js} +24 -24
- package/dist/chunks/{config-b8nm55w8.js → integration-yeff6sje.js} +4 -4
- package/dist/chunks/{config-1acjjqhc.js → integration-yp2x3t23.js} +4 -4
- package/dist/chunks/{config-e80t8e7g.js → integration-yyvbvj38.js} +13 -13
- package/dist/chunks/{config-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-s2p6pb3y.js → integration-z37qhwhn.js} +43 -43
- package/dist/chunks/{config-wrba29ff.js → integration-z5mtfwfv.js} +15 -15
- package/dist/chunks/{config-ndn5nttk.js → integration-zab19jja.js} +9 -9
- package/dist/chunks/{config-zvt5dnpc.js → integration-zcrspsvn.js} +4 -4
- package/dist/chunks/{config-3sg62raj.js → integration-zhdm3a6y.js} +27 -27
- package/dist/chunks/{config-v7bc26ms.js → integration-zk149sv1.js} +32 -32
- package/dist/chunks/{config-vr7adbj2.js → integration-znzasaf5.js} +45 -45
- package/dist/chunks/{config-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -116
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/session/model-request.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/config-7x6nwwyx.js +0 -253
- package/dist/chunks/config-e1v6e2gb.js +0 -26
- package/dist/chunks/config-f81tjggh.js +0 -18
- /package/dist/chunks/{config-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2bv980vf.js → integration-2bv980vf.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3t0ybcrp.js → integration-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{config-6q2bdcd1.js → integration-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{config-84wd9syh.js → integration-84wd9syh.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hcxmzztb.js → integration-hcxmzztb.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jze0r7bz.js → integration-jze0r7bz.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-m18g726c.js → integration-m18g726c.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-pkyv6v7h.js → integration-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{config-pyv0edze.js → integration-pyv0edze.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-ve7vex1e.js → integration-ve7vex1e.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wjj7prxr.js → integration-wjj7prxr.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service84,
|
|
4
4
|
node88
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-4mj0xbb0.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer6,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer6 = Layer.effect(
|
|
25
|
+
var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service84;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node88] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer6, node7, exports_sdk };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./integration-2e2f6za3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4,
|
|
17
17
|
preferencePaths: () => preferencePaths2,
|
|
18
18
|
stripPreferenceMetadata: () => stripPreferenceMetadata2,
|
|
19
19
|
systemDirectory: () => systemDirectory2
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Global } from "@opencode/util/global";
|
|
26
|
-
var
|
|
26
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
27
27
|
function systemDirectory2(platform = process.platform, env = process.env) {
|
|
28
28
|
if (platform === "darwin")
|
|
29
29
|
return AbsolutePath2.make("/Library/Application Support/opencode");
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
71
71
|
const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
72
72
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
73
73
|
const parent = yield* fs.resolve(directory);
|
|
74
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
74
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
75
75
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
76
76
|
const globalEnabled = options?.global !== false;
|
|
77
|
-
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) =>
|
|
77
|
+
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
|
|
78
78
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
79
79
|
const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
|
|
80
80
|
return {
|
|
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
99
99
|
};
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
export {
|
|
102
|
+
export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./integration-znzasaf5.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service23,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-npphdyeb.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin17
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin17 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service57;
|
|
34
|
+
const managed = yield* Service23;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -69,4 +69,4 @@ var Plugin19 = define({
|
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Plugin17, exports_policy };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-m5xxn7ny.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./integration-bxrxjfyz.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./integration-2e2f6za3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./integration-znzasaf5.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-8bed88vs.js";
|
|
18
18
|
import {
|
|
19
19
|
Service7
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-d7x0sh0y.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-fk9rnzxz.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./integration-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill = {};
|
|
30
30
|
__export(exports_skill, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin14
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin14 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
42
|
+
const config = yield* Service57;
|
|
43
43
|
const discovery = yield* Service7;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service58;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin7 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin14, exports_skill };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./integration-xn6qvp49.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
19
|
Input: () => Input3,
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin38,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description3,
|
|
@@ -31,7 +31,7 @@ import { Duration, Effect, Schema } from "effect";
|
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
33
|
var name3 = "webfetch";
|
|
34
|
-
var
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,11 +92,11 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin38 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service74;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
101
|
name: name3,
|
|
102
102
|
options: { codemode: false },
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export { name3,
|
|
170
|
+
export { name3, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input3, Plugin38, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-dx252d9n.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make9 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make9();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make9, LMStudioPlugin2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./integration-xn6qvp49.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service73
|
|
10
|
+
} from "./integration-8bed88vs.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
18
|
Input: () => Input9,
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
19
|
+
Output: () => Output6,
|
|
20
|
+
Plugin: () => Plugin45,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
22
|
description: () => description5,
|
|
23
23
|
name: () => name9,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
@@ -28,9 +28,9 @@ import { Effect, Schema } from "effect";
|
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
var name9 = "skill";
|
|
30
30
|
var Input9 = Schema.Struct({
|
|
31
|
-
id:
|
|
31
|
+
id: ID12.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output6 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,18 +43,18 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin45 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service73;
|
|
51
|
+
const permission = yield* Service74;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
53
|
name: name9,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description5,
|
|
56
56
|
input: Input9,
|
|
57
|
-
output:
|
|
57
|
+
output: Output6,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
@@ -79,4 +79,4 @@ var Plugin30 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export { name9, Input9,
|
|
82
|
+
export { name9, Input9, Output6, description5, toModelOutput2, Plugin45, exports_skill3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load4() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load4 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service4,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service4, node6, bound2, exports_instance2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-8cvaxj6f.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service83,
|
|
17
|
+
node: () => node87
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service83 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service85).db;
|
|
26
|
-
return
|
|
26
|
+
return Service83.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node87 = makeGlobalNode({ service: Service83, layer, deps: [node89] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service83, node87, exports_kv };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-4mj0xbb0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./integration-61qq7rvz.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
21
|
ID: () => ID4,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
@@ -28,16 +28,16 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service25,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node28
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event6 } from "@opencode/schema/websearch";
|
|
41
41
|
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service25 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service84;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service83;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service25.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node28 = makeLocationNode({
|
|
188
|
+
service: Service25,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node88,
|
|
190
|
+
deps: [node88, node87]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2,
|
|
193
|
+
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service25, node28, exports_websearch3, Event6 };
|