@opencode/core 0.0.0-dev-20423 → 0.0.0-dev-20425
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-access-ndmv45hp.js → command-08rawchj.js} +3 -3
- package/dist/chunks/{file-access-6dgwpzzh.js → command-09nnxt9p.js} +25 -25
- package/dist/chunks/{file-access-y4z5w0q3.js → command-0gys68wh.js} +20 -20
- package/dist/chunks/{file-access-93ygb5af.js → command-0hf9g8pg.js} +6 -6
- package/dist/chunks/{file-access-q0xm7vwc.js → command-0j77ygfz.js} +6 -6
- package/dist/chunks/{file-access-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-access-n57qrn3a.js → command-0w1gqsy8.js} +4 -4
- package/dist/chunks/{file-access-mhsta9mw.js → command-0yc0bfdq.js} +5 -5
- package/dist/chunks/{file-access-69qt02rp.js → command-125a3gzs.js} +1 -1
- package/dist/chunks/{file-access-587pgjr5.js → command-12vfn7rq.js} +16 -16
- package/dist/chunks/{file-access-8jngx5jr.js → command-15nv6dks.js} +33 -33
- package/dist/chunks/{file-access-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-ffmntvx6.js → command-1rvfxwwy.js} +16 -16
- package/dist/chunks/{file-access-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-w876dfzh.js → command-22adywx4.js} +35 -35
- package/dist/chunks/{file-access-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-4ts7tf6z.js → command-2ccvkpx1.js} +2 -2
- package/dist/chunks/{file-access-ys1n1pef.js → command-2f06s3ns.js} +11 -11
- package/dist/chunks/{file-access-k70p9jzb.js → command-2j5hbwxg.js} +9 -9
- package/dist/chunks/{file-access-0ft9cg2j.js → command-2jmaghvr.js} +4 -4
- package/dist/chunks/{file-access-0maqqwr3.js → command-2ss4kerk.js} +11 -11
- package/dist/chunks/{file-access-rmk2c50f.js → command-2vgzs72b.js} +5 -5
- package/dist/chunks/{file-access-5xzgptxk.js → command-2ztps42y.js} +4 -4
- package/dist/chunks/{file-access-8d4fr1yn.js → command-32qqfmzq.js} +11 -11
- package/dist/chunks/{file-access-3rymjx9g.js → command-392y4h0x.js} +16 -16
- package/dist/chunks/{file-access-px76j0pk.js → command-3b9qt4hj.js} +9 -9
- package/dist/chunks/{file-access-h2b79v29.js → command-3cegwx68.js} +2 -2
- package/dist/chunks/{file-access-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-p42hj8p8.js → command-3hfr6h8q.js} +8 -8
- package/dist/chunks/{file-access-dbfpw9fe.js → command-3pcwt893.js} +3 -3
- package/dist/chunks/{file-access-ezk3vef6.js → command-3r3hs3sk.js} +9 -9
- package/dist/chunks/{file-access-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-3v5tjer0.js → command-3v5tjer0.js} +2 -2
- package/dist/chunks/{file-access-jmmkndc6.js → command-3yhkhgds.js} +28 -28
- package/dist/chunks/{file-access-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-access-svgvjres.js → command-435p94mv.js} +15 -15
- package/dist/chunks/{file-access-hnr8f6ws.js → command-44pdqs77.js} +4 -4
- package/dist/chunks/{file-access-15nepkqg.js → command-4c2df9zx.js} +8 -8
- package/dist/chunks/{file-access-jafprmqk.js → command-4ep12pyx.js} +30 -30
- package/dist/chunks/{file-access-b5nepgw1.js → command-4rsgbdp7.js} +45 -45
- package/dist/chunks/{file-access-djvcp36f.js → command-4s1v5szb.js} +24 -24
- package/dist/chunks/{file-access-xp36mjrh.js → command-4tmhkwhh.js} +32 -32
- package/dist/chunks/{file-access-054bnrcz.js → command-4v12cqac.js} +12 -12
- package/dist/chunks/{file-access-j4rw0q04.js → command-4xjmh1rg.js} +18 -18
- package/dist/chunks/{file-access-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{file-access-bt85z86c.js → command-569pzwc8.js} +15 -15
- package/dist/chunks/{file-access-56gdpj1q.js → command-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-access-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-h7f3g3sa.js → command-5dhr1a59.js} +16 -16
- package/dist/chunks/{file-access-1garg717.js → command-5dkrrsy6.js} +11 -11
- package/dist/chunks/{file-access-y1r30anr.js → command-5qfqt7q0.js} +8 -8
- package/dist/chunks/{file-access-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-9vmwh205.js → command-60cawxsn.js} +3 -3
- package/dist/chunks/{file-access-yk435ynq.js → command-654bmfkb.js} +4 -4
- package/dist/chunks/{file-access-46sp6zbs.js → command-65j7h7z0.js} +29 -29
- package/dist/chunks/{file-access-1dth1b1r.js → command-65zh2nvj.js} +15 -15
- package/dist/chunks/{file-access-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{file-access-jw80jp6b.js → command-6sr3ve8g.js} +21 -21
- package/dist/chunks/{file-access-288g8677.js → command-6t2wbhs5.js} +4 -4
- package/dist/chunks/{file-access-22d7tj50.js → command-6tj04ent.js} +9 -9
- package/dist/chunks/{file-access-m6qrnzrr.js → command-6z9y85k1.js} +12 -12
- package/dist/chunks/{file-access-vhw7yaa4.js → command-70h48ehn.js} +3 -3
- package/dist/chunks/{file-access-dg8dy2wg.js → command-7699xt8c.js} +27 -27
- package/dist/chunks/{file-access-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-qgn6gcr1.js → command-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-access-6ygnexhm.js → command-7fsqtpfs.js} +5 -5
- package/dist/chunks/{file-access-c1sht665.js → command-7ggg3cvf.js} +42 -42
- package/dist/chunks/{file-access-r5mpbhf6.js → command-7ghtgw7y.js} +11 -11
- package/dist/chunks/{file-access-w66xp1pe.js → command-7gjme12f.js} +10 -10
- package/dist/chunks/{file-access-07x4qw17.js → command-7nk06whx.js} +48 -48
- package/dist/chunks/{file-access-s5a4scn6.js → command-7skj7b3t.js} +11 -11
- package/dist/chunks/{file-access-k1byq2gr.js → command-7zextwbv.js} +43 -43
- package/dist/chunks/{file-access-q9gdr54j.js → command-82n2gc37.js} +9 -9
- package/dist/chunks/{file-access-1m0tad6c.js → command-83zswggx.js} +11 -11
- package/dist/chunks/{file-access-1dvck2a7.js → command-84h8c373.js} +2 -2
- package/dist/chunks/{file-access-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{file-access-e2mpdzhr.js → command-86efd22a.js} +6 -6
- package/dist/chunks/{file-access-y3mhqy61.js → command-86qnsy51.js} +5 -5
- package/dist/chunks/{file-access-ynzcn0sg.js → command-88npvcs0.js} +33 -33
- package/dist/chunks/{file-access-ae464gx1.js → command-8c3xbmtc.js} +8 -8
- package/dist/chunks/{file-access-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-43ka91pa.js → command-8pzy0y0s.js} +11 -11
- package/dist/chunks/{file-access-ynx1p25z.js → command-8xf89zsp.js} +2 -2
- package/dist/chunks/command-9hjw92a0.js +26 -0
- package/dist/chunks/{file-access-8ank75fn.js → command-9jbvj98d.js} +8 -8
- package/dist/chunks/{file-access-apk1tfew.js → command-9n47bnwc.js} +45 -19
- package/dist/chunks/{file-access-qcxzt1z7.js → command-9tmvx2dr.js} +16 -16
- package/dist/chunks/{file-access-1kxeax12.js → command-9yeatzar.js} +4 -4
- package/dist/chunks/{file-access-af6t3a03.js → command-9ynvqa68.js} +6 -6
- package/dist/chunks/{file-access-tkmwgdpd.js → command-a46v4e4v.js} +7 -7
- package/dist/chunks/{file-access-h8t7xzdm.js → command-a6wxqygz.js} +22 -22
- package/dist/chunks/{file-access-4xsrjhze.js → command-a8wbw237.js} +5 -5
- package/dist/chunks/{file-access-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-5f009fwt.js → command-apvpadp8.js} +45 -45
- package/dist/chunks/{file-access-wecqtg5s.js → command-b3f8fkhc.js} +5 -5
- package/dist/chunks/{file-access-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-zd30eb5w.js → command-b7b4ctej.js} +5 -5
- package/dist/chunks/{file-access-tzgjc6jt.js → command-b983vmxa.js} +23 -23
- package/dist/chunks/{file-access-phxk36rp.js → command-c4v9k59t.js} +28 -28
- package/dist/chunks/{file-access-4hrvpbem.js → command-c6ttkmc3.js} +4 -4
- package/dist/chunks/{file-access-6cgtmdw1.js → command-cbvt3nfp.js} +11 -11
- package/dist/chunks/{file-access-43qgvbm9.js → command-cgk007dh.js} +22 -22
- package/dist/chunks/{file-access-1cjqvqy6.js → command-cvw89d3k.js} +25 -25
- package/dist/chunks/{file-access-yertzaey.js → command-d7hcd0ym.js} +11 -11
- package/dist/chunks/{file-access-v91tw74e.js → command-darx1emg.js} +11 -11
- package/dist/chunks/{file-access-3jf042qv.js → command-dcqe2tda.js} +44 -44
- package/dist/chunks/{file-access-bct739vz.js → command-dfe8djrf.js} +4 -4
- package/dist/chunks/{file-access-dpkg50ah.js → command-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-access-78jsw4m4.js → command-dq0akw48.js} +22 -22
- package/dist/chunks/{file-access-47jkzegy.js → command-dsr2y3g9.js} +5 -5
- package/dist/chunks/{file-access-tksfqv8e.js → command-dw95s81m.js} +27 -27
- package/dist/chunks/{file-access-eph4bszk.js → command-e1m5s5bn.js} +2 -2
- package/dist/chunks/{file-access-b6eekeg6.js → command-e3p960dv.js} +3 -3
- package/dist/chunks/{file-access-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-access-eex14ffc.js → command-e4nkqe78.js} +31 -31
- package/dist/chunks/{file-access-et0rkxxj.js → command-e7710hd6.js} +8 -8
- package/dist/chunks/{file-access-xh77m8eb.js → command-ebq0q0d7.js} +4 -4
- package/dist/chunks/{file-access-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-qjz9g255.js → command-ennp2fy0.js} +44 -44
- package/dist/chunks/{file-access-sn8z9k01.js → command-eps6q5xj.js} +13 -13
- package/dist/chunks/{file-access-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-y6mjvh6p.js → command-eyhtqccb.js} +9 -9
- package/dist/chunks/{file-access-ennsf284.js → command-ez4dssjv.js} +15 -15
- package/dist/chunks/{file-access-tjwy6fh9.js → command-ezespax2.js} +315 -315
- package/dist/chunks/{file-access-bbxmjh93.js → command-f03kf16x.js} +3 -3
- package/dist/chunks/{file-access-v211f8gj.js → command-f69ve3h4.js} +16 -16
- package/dist/chunks/{file-access-71az546q.js → command-f75zav2x.js} +2 -2
- package/dist/chunks/{file-access-dkn8r4r6.js → command-ffh69xw9.js} +8 -8
- package/dist/chunks/{file-access-0x34zjfk.js → command-fjegnp40.js} +14 -14
- package/dist/chunks/{file-access-nks5f63d.js → command-fjp52ft7.js} +46 -46
- package/dist/chunks/{file-access-xkqsw4zh.js → command-fpq7b0ys.js} +8 -8
- package/dist/chunks/{file-access-9y6p8gkk.js → command-g53rxf0r.js} +5 -5
- package/dist/chunks/{file-access-y2j62e7h.js → command-g602k23t.js} +11 -11
- package/dist/chunks/{file-access-4432mf64.js → command-gbr9d7vf.js} +23 -23
- package/dist/chunks/{file-access-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-m92djcax.js → command-gfkmrq4p.js} +22 -22
- package/dist/chunks/{file-access-89rb888m.js → command-ghaqbwqb.js} +16 -16
- package/dist/chunks/{file-access-c765mh8b.js → command-gjwgx2c5.js} +9 -9
- package/dist/chunks/{file-access-70kv65rg.js → command-gtkdm2kv.js} +80 -80
- package/dist/chunks/{file-access-s06my820.js → command-gzxs6px7.js} +22 -22
- package/dist/chunks/{file-access-gm258srw.js → command-h3njkt71.js} +13 -13
- package/dist/chunks/{file-access-g7ewk93y.js → command-h6t4ec3e.js} +27 -27
- package/dist/chunks/{file-access-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-b3180kyy.js → command-h81fdr4s.js} +24 -24
- package/dist/chunks/{file-access-tzwh8jpw.js → command-h9th01k5.js} +9 -9
- package/dist/chunks/{file-access-pd7gvt3w.js → command-h9wp8z5w.js} +4 -4
- package/dist/chunks/{file-access-7zydptxx.js → command-hfdbewx1.js} +6 -6
- package/dist/chunks/{file-access-jzzgdak2.js → command-hpa0c1fz.js} +5 -5
- package/dist/chunks/{file-access-9bnev7a1.js → command-hs8jsmzr.js} +20 -20
- package/dist/chunks/command-ht5y0zrb.js +18 -0
- package/dist/chunks/{file-access-m8frsg49.js → command-htx2nwm0.js} +21 -21
- package/dist/chunks/{file-access-jeg27h1n.js → command-hv340q6g.js} +10 -10
- package/dist/chunks/{file-access-hxr59w64.js → command-j02g5jt1.js} +22 -22
- package/dist/chunks/{file-access-6jv65q7g.js → command-j1qpxjvn.js} +14 -14
- package/dist/chunks/{file-access-g6yfr6ja.js → command-j29a7fks.js} +5 -5
- package/dist/chunks/{file-access-ytav440t.js → command-j4z1869k.js} +17 -17
- package/dist/chunks/{file-access-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-jewzahs7.js → command-jewzahs7.js} +1 -1
- package/dist/chunks/{file-access-68yjs0jb.js → command-jfh4v34s.js} +24 -24
- package/dist/chunks/{file-access-b4twkq7r.js → command-jktqzjpa.js} +4 -4
- package/dist/chunks/{file-access-p5wv9msv.js → command-jkxz06wq.js} +6 -6
- package/dist/chunks/{file-access-8q7xev84.js → command-jqnhh969.js} +8 -8
- package/dist/chunks/{file-access-a6h4nhc6.js → command-k2736hxg.js} +3 -3
- package/dist/chunks/{file-access-ym15945z.js → command-k89vh9jf.js} +21 -21
- package/dist/chunks/{file-access-91z5rg67.js → command-k8b1rdw7.js} +6 -6
- package/dist/chunks/{file-access-16v1444e.js → command-k8zgzs4j.js} +7 -7
- package/dist/chunks/{file-access-33fsjrfc.js → command-ka0m6rdf.js} +21 -21
- package/dist/chunks/{file-access-m7b5ps2s.js → command-ka2772re.js} +11 -11
- package/dist/chunks/{file-access-9e5bzkjp.js → command-kb9j3d72.js} +3 -3
- package/dist/chunks/{file-access-k93tk05c.js → command-kcaq6mcn.js} +17 -17
- package/dist/chunks/{file-access-n7cst2s3.js → command-kh012ppf.js} +69 -69
- package/dist/chunks/{file-access-59s176qy.js → command-kk5zk3a0.js} +3 -3
- package/dist/chunks/{file-access-vhd5ymgm.js → command-kxv9wf7h.js} +14 -14
- package/dist/chunks/{file-access-wasxgqrf.js → command-m01y6ttg.js} +13 -13
- package/dist/chunks/{file-access-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-access-m58kmhef.js → command-m58kmhef.js} +2 -2
- package/dist/chunks/{file-access-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-mazbtkaa.js → command-mazbtkaa.js} +2 -2
- package/dist/chunks/{file-access-zc5g640q.js → command-mjqndqed.js} +5 -5
- package/dist/chunks/{file-access-29kk78yn.js → command-mnwrr1qs.js} +5 -5
- package/dist/chunks/{file-access-addxnjmp.js → command-mpk0rfs5.js} +4 -4
- package/dist/chunks/{file-access-skhcq9z8.js → command-mqafpt2f.js} +1 -1
- package/dist/chunks/{file-access-qmjvrsyr.js → command-mtk52xmd.js} +3 -3
- package/dist/chunks/{file-access-a1gpj94z.js → command-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-access-3c019r4e.js → command-n0pywpq4.js} +6 -6
- package/dist/chunks/{file-access-cbckqvqg.js → command-nf0mv796.js} +10 -10
- package/dist/chunks/{file-access-dxa0ydqz.js → command-nnxgyx76.js} +26 -26
- package/dist/chunks/{file-access-fyecwx5s.js → command-npmb1mqa.js} +27 -27
- package/dist/chunks/{file-access-6dy6aana.js → command-nynp1wzk.js} +29 -29
- package/dist/chunks/{file-access-k3c624dm.js → command-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-access-j899q2e9.js → command-p5pf3enj.js} +23 -23
- package/dist/chunks/{file-access-aej0er4j.js → command-p72k79qf.js} +15 -15
- package/dist/chunks/{file-access-40x2t3h9.js → command-paae1hnn.js} +29 -29
- package/dist/chunks/{file-access-47cwrk07.js → command-pd1qyk1g.js} +22 -22
- package/dist/chunks/{file-access-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-fqcgpcra.js → command-prq7hedt.js} +9 -9
- package/dist/chunks/{file-access-29tbwe98.js → command-ps47t8qh.js} +21 -21
- package/dist/chunks/{file-access-0e0js3rh.js → command-py3n4qdw.js} +18 -18
- package/dist/chunks/{file-access-f0mwhmn1.js → command-py4awywk.js} +8 -8
- package/dist/chunks/{file-access-mycw3te0.js → command-q03fcfcz.js} +16 -16
- package/dist/chunks/{file-access-tjseg5r3.js → command-q1xs28w9.js} +13 -13
- package/dist/chunks/{file-access-vs96cb1a.js → command-q3ezd169.js} +10 -10
- package/dist/chunks/{file-access-2htbg7xg.js → command-qe6tj4d9.js} +30 -30
- package/dist/chunks/{file-access-sxsbdwhb.js → command-qfcmt2yh.js} +9 -9
- package/dist/chunks/{file-access-qnc92qwc.js → command-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-access-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-xs2bmay3.js → command-qw2yw8z7.js} +19 -19
- package/dist/chunks/{file-access-d8mzv3s6.js → command-r71rh3b2.js} +20 -20
- package/dist/chunks/{file-access-2jyv8ggx.js → command-r7cqnzm4.js} +24 -24
- package/dist/chunks/{file-access-r651jaea.js → command-r7fzpv87.js} +46 -46
- package/dist/chunks/{file-access-r8xr0va3.js → command-r8xr0va3.js} +1 -1
- package/dist/chunks/{file-access-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-afdssyjb.js → command-rpg9c19m.js} +4 -4
- package/dist/chunks/{file-access-z6t04ysw.js → command-rv5kyjjz.js} +6 -6
- package/dist/chunks/{file-access-zfs8ae4p.js → command-rx9ava5n.js} +4 -4
- package/dist/chunks/{file-access-8mb668b9.js → command-ryr1jwcc.js} +9 -9
- package/dist/chunks/{file-access-gvzs7mpe.js → command-s1pfhd0y.js} +13 -13
- package/dist/chunks/{file-access-whtwaam7.js → command-s22d9hak.js} +17 -17
- package/dist/chunks/{file-access-d171acjh.js → command-s7wf03n2.js} +11 -11
- package/dist/chunks/{file-access-b4mn66r8.js → command-s7xm0994.js} +24 -24
- package/dist/chunks/{file-access-s8d7rejh.js → command-s8d7rejh.js} +1 -1
- package/dist/chunks/command-sftyyjfb.js +252 -0
- package/dist/chunks/{file-access-81mx0dd4.js → command-shxgfbnt.js} +7 -7
- package/dist/chunks/{file-access-8p7e9d70.js → command-sjtp893p.js} +17 -17
- package/dist/chunks/{file-access-wr5v5dbh.js → command-t8gtdgqz.js} +7 -7
- package/dist/chunks/{file-access-zmj7yvkd.js → command-t8w8mjvs.js} +12 -12
- package/dist/chunks/{file-access-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-ymkdd6f8.js → command-teep55cb.js} +18 -18
- package/dist/chunks/{file-access-8kwjs46x.js → command-tjvfc3yx.js} +18 -18
- package/dist/chunks/{file-access-447efrsq.js → command-tnvqwdy0.js} +10 -10
- package/dist/chunks/{file-access-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-9pas2tb1.js → command-v2tfw1yv.js} +10 -10
- package/dist/chunks/{file-access-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-32wjb5vy.js → command-vjbk48r7.js} +26 -26
- package/dist/chunks/{file-access-rkhbev71.js → command-vskhrygy.js} +11 -11
- package/dist/chunks/{file-access-5yv40649.js → command-vtk5qamb.js} +10 -10
- package/dist/chunks/{file-access-6d6skgds.js → command-vy7jzsr4.js} +16 -16
- package/dist/chunks/{file-access-10a0p2jb.js → command-vz9sc8m2.js} +13 -13
- package/dist/chunks/{file-access-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-access-h2qz4qj9.js → command-w08nn5n9.js} +13 -13
- package/dist/chunks/{file-access-4xp53jne.js → command-w17djjzg.js} +14 -14
- package/dist/chunks/{file-access-g5w8qwbj.js → command-w19d8598.js} +7 -7
- package/dist/chunks/{file-access-yraf8j13.js → command-w3hsnjjz.js} +23 -23
- package/dist/chunks/{file-access-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-nkbqs3g6.js → command-w5ystqj3.js} +3 -3
- package/dist/chunks/{file-access-tfzffy3q.js → command-wbsxrhdw.js} +11 -11
- package/dist/chunks/{file-access-a9vcwp68.js → command-wcw9m44b.js} +42 -42
- package/dist/chunks/{file-access-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-07esrmkr.js → command-whhdfx7x.js} +13 -13
- package/dist/chunks/{file-access-6z5zeb5k.js → command-wnfrb3a9.js} +15 -15
- package/dist/chunks/{file-access-ehtcgea1.js → command-wyjbmczw.js} +14 -14
- package/dist/chunks/{file-access-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-tj22pfav.js → command-xa8sx6te.js} +34 -34
- package/dist/chunks/{file-access-cggxzdeq.js → command-xerakxap.js} +82 -82
- package/dist/chunks/{file-access-d9245fkk.js → command-xf862nsz.js} +18 -18
- package/dist/chunks/{file-access-rwk1fma6.js → command-xjbtjqdb.js} +18 -18
- package/dist/chunks/{file-access-xkntkrq7.js → command-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-access-dkfn8ta6.js → command-xq9zaz6f.js} +20 -20
- package/dist/chunks/{file-access-0k4n424v.js → command-xs6tw54q.js} +57 -57
- package/dist/chunks/{file-access-6sf57f13.js → command-xxvyy5kb.js} +12 -12
- package/dist/chunks/{file-access-j5xd1zzt.js → command-y0m37wb8.js} +38 -38
- package/dist/chunks/{file-access-dwvzh0g2.js → command-y10wk092.js} +7 -7
- package/dist/chunks/{file-access-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-rk7s9xkn.js → command-y5rf7nzv.js} +4 -4
- package/dist/chunks/{file-access-3emr59yt.js → command-yf10kn3d.js} +8 -8
- package/dist/chunks/{file-access-2bh420nq.js → command-yjxvec77.js} +20 -20
- package/dist/chunks/{file-access-8q91hsbg.js → command-ynn332gn.js} +10 -10
- package/dist/chunks/{file-access-xxt1k2vd.js → command-ynyq5a7a.js} +17 -17
- package/dist/chunks/{file-access-8jx1rcbm.js → command-yp0e5902.js} +31 -31
- package/dist/chunks/{file-access-fdtxgpnc.js → command-ypa0y62e.js} +10 -10
- package/dist/chunks/{file-access-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-n66sb98d.js → command-ytfj295e.js} +159 -159
- package/dist/chunks/{file-access-fa4m3wax.js → command-ytws7ykb.js} +2 -2
- package/dist/chunks/{file-access-x0v4zbf6.js → command-yv60n1xn.js} +5 -5
- package/dist/chunks/{file-access-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-543tcfte.js → command-zfme70y8.js} +2 -2
- package/dist/chunks/{file-access-5tat9ppm.js → command-znsx74x0.js} +1 -1
- package/dist/chunks/{file-access-p3vbarsn.js → command-zqvjtgwh.js} +23 -23
- package/dist/chunks/{file-access-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- 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 +99 -99
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- 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 +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/types/filesystem.d.ts +15 -1
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/supervisor.d.ts +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- 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 +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/file-access-619r8v3y.js +0 -18
- package/dist/chunks/file-access-ccba3199.js +0 -26
- package/dist/chunks/file-access-q8av8z97.js +0 -252
- package/dist/types/util/identifier.d.ts +0 -1
- package/dist/util/identifier.js +0 -5
- /package/dist/chunks/{file-access-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-34c7v6d4.js → command-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-8xf89zsp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service77
|
|
12
|
+
} from "./command-ps47t8qh.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service20
|
|
16
|
+
} from "./command-teep55cb.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-9n47bnwc.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service56
|
|
26
|
+
} from "./command-xs6tw54q.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service13
|
|
29
|
+
} from "./command-wnfrb3a9.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./command-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin25,
|
|
41
|
+
name: () => name7,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name7 = "grep";
|
|
48
|
+
var Input7 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input2 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin25 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service77;
|
|
90
|
+
const ripgrep = yield* Service20;
|
|
91
91
|
const location = yield* Service80;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service13;
|
|
93
|
+
const permission = yield* Service56;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name7,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input7,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name7,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin2 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin2 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name7, Input7, Output7, toModelContent4, Plugin25, exports_grep };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./command-3b9qt4hj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./command-0hf9g8pg.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-ht5y0zrb.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service63
|
|
15
|
+
} from "./command-9jbvj98d.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-eyhtqccb.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service40
|
|
23
|
+
} from "./command-j02g5jt1.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service53;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service63;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service40;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service42;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-mpk0rfs5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-654bmfkb.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-12vfn7rq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-nnxgyx76.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID11,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service71
|
|
20
|
+
} from "./command-nynp1wzk.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID10
|
|
23
|
+
} from "./command-dw95s81m.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./command-cgk007dh.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-8c3xbmtc.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID8
|
|
33
|
+
} from "./command-jfh4v34s.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./command-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID12.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service71;
|
|
167
167
|
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID11.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID11.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
232
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID11.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID8.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID11.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID11.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./command-r7cqnzm4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./command-y0m37wb8.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-rv5kyjjz.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin3
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin3 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service66;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service67;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin27 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin3, exports_compatibility };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service5,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service5 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service5.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node6 = makeGlobalNode({ service: Service5, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service5, node6, exports_discovery };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_lsp, {
|
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
10
|
Entry: () => Entry3,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info21,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info21 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info21, exports_lsp };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./command-y0m37wb8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service75
|
|
7
|
+
} from "./command-vjbk48r7.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin9
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin9 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service66;
|
|
27
|
+
const snapshot = yield* Service75;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin18 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin9, exports_snapshot };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./command-ps47t8qh.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service77;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|