@opencode/core 0.0.0-dev-20425 → 0.0.0-dev-20427
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 +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{command-npmb1mqa.js → schema-00hg8mdp.js} +35 -35
- package/dist/chunks/{command-dfe8djrf.js → schema-00z3vp5f.js} +4 -4
- package/dist/chunks/{command-nf0mv796.js → schema-01jce939.js} +13 -13
- package/dist/chunks/{command-7skj7b3t.js → schema-03xyy9gs.js} +11 -11
- package/dist/chunks/{command-3yhkhgds.js → schema-076g5gtq.js} +25 -25
- package/dist/chunks/{command-4s1v5szb.js → schema-0a25p3r5.js} +25 -25
- package/dist/chunks/{command-8xf89zsp.js → schema-0dfv3dc6.js} +14 -14
- package/dist/chunks/{command-xjbtjqdb.js → schema-0e8fjg4b.js} +19 -19
- package/dist/chunks/{command-9yeatzar.js → schema-0fk84ear.js} +4 -4
- package/dist/chunks/{command-p5pf3enj.js → schema-0jcwpj80.js} +26 -26
- package/dist/chunks/{command-r7cqnzm4.js → schema-0mc57tk4.js} +24 -24
- package/dist/chunks/{command-6z9y85k1.js → schema-0msk7f2d.js} +12 -12
- package/dist/chunks/{command-tjvfc3yx.js → schema-0ns8nkzq.js} +18 -18
- package/dist/chunks/{command-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-ryr1jwcc.js → schema-0ppje3yj.js} +13 -13
- package/dist/chunks/{command-s1pfhd0y.js → schema-0tfh6cbg.js} +13 -13
- package/dist/chunks/{command-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-jfh4v34s.js → schema-164n2a8b.js} +27 -27
- package/dist/chunks/{command-r8xr0va3.js → schema-1acjjqhc.js} +4 -4
- package/dist/chunks/{command-q3ezd169.js → schema-1cm1abtm.js} +10 -10
- package/dist/chunks/{command-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-5dhr1a59.js → schema-1dfjj4a2.js} +24 -24
- package/dist/chunks/{command-84h8c373.js → schema-1dvck2a7.js} +2 -2
- package/dist/chunks/{command-paae1hnn.js → schema-1f62gqxs.js} +26 -26
- package/dist/chunks/{command-cbvt3nfp.js → schema-1mr0tf63.js} +11 -11
- package/dist/chunks/{command-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{command-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-5dkrrsy6.js → schema-2dhyt72p.js} +11 -11
- package/dist/chunks/{command-2j5hbwxg.js → schema-2j5hbwxg.js} +2 -2
- package/dist/chunks/{command-wbsxrhdw.js → schema-2ndfqft8.js} +18 -18
- package/dist/chunks/{command-b7b4ctej.js → schema-2p623br6.js} +5 -5
- package/dist/chunks/{command-ynyq5a7a.js → schema-2v8phk0m.js} +25 -25
- package/dist/chunks/{command-j02g5jt1.js → schema-2vkncht2.js} +26 -26
- package/dist/chunks/{command-yp0e5902.js → schema-2yjg5v3n.js} +36 -36
- package/dist/chunks/{command-yjxvec77.js → schema-33s4cs7k.js} +17 -17
- package/dist/chunks/{command-4rsgbdp7.js → schema-3av0r9g0.js} +43 -43
- package/dist/chunks/{command-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-7zextwbv.js → schema-3g00cn95.js} +43 -43
- package/dist/chunks/{command-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-4v12cqac.js → schema-3jtvz2c8.js} +18 -18
- package/dist/chunks/{command-9tmvx2dr.js → schema-3p0qyp3j.js} +17 -17
- package/dist/chunks/{command-0hf9g8pg.js → schema-3ppptnan.js} +6 -6
- package/dist/chunks/{command-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-3v5tjer0.js → schema-3v5tjer0.js} +2 -2
- package/dist/chunks/{command-4c2df9zx.js → schema-3ymztgxb.js} +8 -8
- package/dist/chunks/{command-shxgfbnt.js → schema-3yvx2c16.js} +7 -7
- package/dist/chunks/{command-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-mqafpt2f.js → schema-44w1d694.js} +1 -1
- package/dist/chunks/{command-9jbvj98d.js → schema-4a0nv7mx.js} +8 -8
- package/dist/chunks/{command-2ccvkpx1.js → schema-4ts7tf6z.js} +2 -2
- package/dist/chunks/{command-teep55cb.js → schema-50qbwwxg.js} +18 -18
- package/dist/chunks/{command-gzxs6px7.js → schema-51eyhnsv.js} +26 -26
- package/dist/chunks/{command-54ma36ye.js → schema-54ma36ye.js} +1 -1
- package/dist/chunks/{command-ez4dssjv.js → schema-5agx6kaf.js} +18 -18
- package/dist/chunks/{command-qw2yw8z7.js → schema-5atn9wfq.js} +22 -22
- package/dist/chunks/{command-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{command-htx2nwm0.js → schema-5gn7zxfa.js} +21 -21
- package/dist/chunks/{command-392y4h0x.js → schema-5jpgchb0.js} +21 -21
- package/dist/chunks/{command-tnvqwdy0.js → schema-5k2jxtxf.js} +10 -10
- package/dist/chunks/{command-ypa0y62e.js → schema-5nxa4r0r.js} +10 -10
- package/dist/chunks/{command-7699xt8c.js → schema-5pmpx3tn.js} +36 -36
- package/dist/chunks/{command-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
- package/dist/chunks/{command-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-ka2772re.js → schema-5w9cwpmd.js} +8 -8
- package/dist/chunks/{command-c4v9k59t.js → schema-5wk64npe.js} +28 -28
- package/dist/chunks/{command-xa8sx6te.js → schema-613r56za.js} +42 -42
- package/dist/chunks/{command-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{command-zqvjtgwh.js → schema-66x1gf3g.js} +26 -26
- package/dist/chunks/{command-ennp2fy0.js → schema-6ew4nd0q.js} +44 -44
- package/dist/chunks/{command-gtkdm2kv.js → schema-6k5d2hav.js} +89 -89
- package/dist/chunks/{command-e4nkqe78.js → schema-6mf5w0g3.js} +31 -31
- package/dist/chunks/{command-darx1emg.js → schema-6nmnvwva.js} +9 -9
- package/dist/chunks/{command-435p94mv.js → schema-6vgan4aw.js} +19 -19
- package/dist/chunks/{command-j29a7fks.js → schema-6yz0wx8n.js} +5 -5
- package/dist/chunks/{command-f75zav2x.js → schema-71az546q.js} +2 -2
- package/dist/chunks/{command-h6t4ec3e.js → schema-74sfygzs.js} +38 -38
- package/dist/chunks/{command-jqnhh969.js → schema-75re34rt.js} +10 -10
- package/dist/chunks/{command-ezespax2.js → schema-790j68qn.js} +321 -321
- package/dist/chunks/{command-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-7dqw4kz8.js → schema-7dqw4kz8.js} +1 -1
- package/dist/chunks/{command-wcw9m44b.js → schema-7ekw9ay4.js} +43 -43
- package/dist/chunks/{command-mnwrr1qs.js → schema-7hp7v40b.js} +5 -5
- package/dist/chunks/{command-a46v4e4v.js → schema-7sbkp4xb.js} +4 -4
- package/dist/chunks/{command-ka0m6rdf.js → schema-7sf05c4f.js} +24 -24
- package/dist/chunks/{command-fpq7b0ys.js → schema-7szz14f0.js} +8 -8
- package/dist/chunks/{command-t8gtdgqz.js → schema-7xjhysdy.js} +9 -9
- package/dist/chunks/{command-84txncab.js → schema-84txncab.js} +1 -1
- package/dist/chunks/{command-eyhtqccb.js → schema-884bfwk0.js} +7 -7
- package/dist/chunks/{command-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-kk5zk3a0.js → schema-8gbsj511.js} +3 -3
- package/dist/chunks/{command-1rvfxwwy.js → schema-8nst9j1y.js} +16 -16
- package/dist/chunks/{command-ghaqbwqb.js → schema-8wha04vy.js} +13 -13
- package/dist/chunks/{command-3r3hs3sk.js → schema-8wjfwe4f.js} +6 -6
- package/dist/chunks/{command-rv5kyjjz.js → schema-908m4j2d.js} +6 -6
- package/dist/chunks/{command-65zh2nvj.js → schema-91q34nvd.js} +17 -17
- package/dist/chunks/{command-2vgzs72b.js → schema-9b00c1fb.js} +5 -5
- package/dist/chunks/{command-vy7jzsr4.js → schema-9bqmr884.js} +15 -15
- package/dist/chunks/{command-g602k23t.js → schema-9cqw126c.js} +13 -13
- package/dist/chunks/{command-kb9j3d72.js → schema-9e5bzkjp.js} +3 -3
- package/dist/chunks/{command-5qfqt7q0.js → schema-a1hhf2r6.js} +23 -23
- package/dist/chunks/{command-3b9qt4hj.js → schema-a7bcxdzj.js} +9 -9
- package/dist/chunks/{command-jewzahs7.js → schema-a89e0tac.js} +4 -4
- package/dist/chunks/{command-ps47t8qh.js → schema-a8kgewhr.js} +24 -24
- package/dist/chunks/{command-70h48ehn.js → schema-a8m135tr.js} +5 -5
- package/dist/chunks/{command-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{command-2jmaghvr.js → schema-ab9238g2.js} +6 -6
- package/dist/chunks/{command-7ghtgw7y.js → schema-acmb6w5b.js} +11 -11
- package/dist/chunks/{command-kcaq6mcn.js → schema-acv9cqfs.js} +18 -18
- package/dist/chunks/{command-2ztps42y.js → schema-arhaqhb4.js} +4 -4
- package/dist/chunks/{command-y10wk092.js → schema-b0awdqvx.js} +6 -6
- package/dist/chunks/{command-2ss4kerk.js → schema-b2jc6q54.js} +11 -11
- package/dist/chunks/{command-b3f8fkhc.js → schema-b3f8fkhc.js} +2 -2
- package/dist/chunks/{command-vjbk48r7.js → schema-b49zbxty.js} +33 -33
- package/dist/chunks/{command-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/schema-bng5gf7f.js +252 -0
- package/dist/chunks/{command-15nv6dks.js → schema-btnx3k07.js} +35 -35
- package/dist/chunks/{command-88npvcs0.js → schema-btt5ky6n.js} +40 -40
- package/dist/chunks/schema-bvmv4qm1.js +26 -0
- package/dist/chunks/{command-hs8jsmzr.js → schema-bzd62h0k.js} +23 -23
- package/dist/chunks/{command-m01y6ttg.js → schema-c358x8ws.js} +15 -15
- package/dist/chunks/{command-82n2gc37.js → schema-c3r8r2c7.js} +9 -9
- package/dist/chunks/{command-mtk52xmd.js → schema-cd1hpav8.js} +11 -11
- package/dist/chunks/{command-apvpadp8.js → schema-ce128ryg.js} +54 -54
- package/dist/chunks/{command-w17djjzg.js → schema-cgw81b0z.js} +21 -21
- package/dist/chunks/{command-vz9sc8m2.js → schema-chrxq3ex.js} +16 -16
- package/dist/chunks/{command-gbr9d7vf.js → schema-cshgsf68.js} +23 -23
- package/dist/chunks/{command-e3p960dv.js → schema-cxrcevmg.js} +3 -3
- package/dist/chunks/{command-3hfr6h8q.js → schema-czfptnv9.js} +8 -8
- package/dist/chunks/{command-yf10kn3d.js → schema-d2094b0z.js} +8 -8
- package/dist/chunks/{command-dw95s81m.js → schema-d87tmwdg.js} +29 -29
- package/dist/chunks/{command-e7710hd6.js → schema-dhtadd1m.js} +8 -8
- package/dist/chunks/{command-32qqfmzq.js → schema-dk3fapr1.js} +8 -8
- package/dist/chunks/{command-xkntkrq7.js → schema-dmqcgk4z.js} +5 -5
- package/dist/chunks/{command-mpk0rfs5.js → schema-dnxkq42g.js} +4 -4
- package/dist/chunks/{command-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
- package/dist/chunks/{command-7gjme12f.js → schema-drf7jsh9.js} +12 -12
- package/dist/chunks/{command-w5ystqj3.js → schema-dyvwp316.js} +8 -8
- package/dist/chunks/{command-r71rh3b2.js → schema-e31x7ahd.js} +22 -22
- package/dist/chunks/{command-h81fdr4s.js → schema-ebpmbt03.js} +35 -35
- package/dist/chunks/{command-xerakxap.js → schema-ed1pdgvd.js} +92 -92
- package/dist/chunks/{command-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-k89vh9jf.js → schema-en1ae6kt.js} +30 -30
- package/dist/chunks/{command-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-86efd22a.js → schema-evgg74h5.js} +6 -6
- package/dist/chunks/{command-whhdfx7x.js → schema-f28an6tq.js} +15 -15
- package/dist/chunks/{command-h9wp8z5w.js → schema-f29mbr7f.js} +4 -4
- package/dist/chunks/{command-xq9zaz6f.js → schema-f2jhgqeb.js} +24 -24
- package/dist/chunks/{command-pd1qyk1g.js → schema-f9jvv9fd.js} +27 -27
- package/dist/chunks/{command-xxvyy5kb.js → schema-fa2nx576.js} +12 -12
- package/dist/chunks/{command-12vfn7rq.js → schema-fcmr8hvx.js} +29 -29
- package/dist/chunks/{command-8c3xbmtc.js → schema-ffb4je5h.js} +11 -11
- package/dist/chunks/{command-wnfrb3a9.js → schema-fk0bqkbn.js} +18 -18
- package/dist/chunks/{command-9n47bnwc.js → schema-g2axpq5m.js} +30 -30
- package/dist/chunks/{command-zfme70y8.js → schema-ga0xt9e2.js} +2 -2
- package/dist/chunks/{command-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-sjtp893p.js → schema-gqx7042s.js} +20 -20
- package/dist/chunks/{command-rpg9c19m.js → schema-gst7axd9.js} +4 -4
- package/dist/chunks/{command-y0m37wb8.js → schema-gtz8s5m7.js} +46 -46
- package/dist/chunks/schema-gyce5qg1.js +18 -0
- package/dist/chunks/{command-w3hsnjjz.js → schema-h23hyb4a.js} +12 -12
- package/dist/chunks/{command-3cegwx68.js → schema-h2b79v29.js} +2 -2
- package/dist/chunks/{command-q1xs28w9.js → schema-h4c8g149.js} +13 -13
- package/dist/chunks/{command-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-n0pywpq4.js → schema-h7w9m21h.js} +6 -6
- package/dist/chunks/{command-ffh69xw9.js → schema-hc7nmvs9.js} +8 -8
- package/dist/chunks/{command-dq0akw48.js → schema-hpxy8090.js} +31 -31
- package/dist/chunks/{command-mvfsc1pv.js → schema-j028xdjb.js} +3 -3
- package/dist/chunks/{command-0gys68wh.js → schema-j0drmkjr.js} +25 -25
- package/dist/chunks/{command-hv340q6g.js → schema-j1z04ftp.js} +10 -10
- package/dist/chunks/{command-v2tfw1yv.js → schema-j34d9wvd.js} +12 -12
- package/dist/chunks/{command-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{command-s7xm0994.js → schema-jeacqz11.js} +24 -24
- package/dist/chunks/{command-6tj04ent.js → schema-jhymbn69.js} +9 -9
- package/dist/chunks/{command-60cawxsn.js → schema-jm3yycek.js} +3 -3
- package/dist/chunks/{command-fjegnp40.js → schema-k2maas8p.js} +14 -14
- package/dist/chunks/{command-nzks3jc8.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{command-08rawchj.js → schema-k6yq57aq.js} +2 -2
- package/dist/chunks/{command-vtk5qamb.js → schema-knrf1btg.js} +7 -7
- package/dist/chunks/{command-hpa0c1fz.js → schema-kpfrge9a.js} +5 -5
- package/dist/chunks/{command-4xjmh1rg.js → schema-kx3tazm0.js} +22 -22
- package/dist/chunks/{command-cvw89d3k.js → schema-m0jvvp9j.js} +23 -23
- package/dist/chunks/{command-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{command-m58kmhef.js → schema-m58kmhef.js} +2 -2
- package/dist/chunks/{command-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-qfcmt2yh.js → schema-m9xh49tw.js} +6 -6
- package/dist/chunks/{command-mazbtkaa.js → schema-mazbtkaa.js} +2 -2
- package/dist/chunks/{command-654bmfkb.js → schema-mdqp54e4.js} +16 -16
- package/dist/chunks/{command-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{command-6sr3ve8g.js → schema-mjymc32g.js} +21 -21
- package/dist/chunks/{command-0w1gqsy8.js → schema-mqzwkyay.js} +6 -6
- package/dist/chunks/{command-a8wbw237.js → schema-mszav1c8.js} +5 -5
- package/dist/chunks/{command-ytws7ykb.js → schema-myhy7sh9.js} +2 -2
- package/dist/chunks/{command-7fsqtpfs.js → schema-n6bzx4yk.js} +5 -5
- package/dist/chunks/{command-h9th01k5.js → schema-n9ape9rz.js} +9 -9
- package/dist/chunks/{command-86qnsy51.js → schema-nam3yqey.js} +5 -5
- package/dist/chunks/{command-h3njkt71.js → schema-ncnxs0cm.js} +17 -17
- package/dist/chunks/{command-2f06s3ns.js → schema-njy42cgf.js} +11 -11
- package/dist/chunks/{command-nynp1wzk.js → schema-nscs897a.js} +29 -29
- package/dist/chunks/{command-ynn332gn.js → schema-nxentx58.js} +13 -13
- package/dist/chunks/{command-4ep12pyx.js → schema-p1s1983h.js} +32 -32
- package/dist/chunks/{command-83zswggx.js → schema-p2s1jj4p.js} +11 -11
- package/dist/chunks/{command-k2736hxg.js → schema-p9xxkds4.js} +3 -3
- package/dist/chunks/{command-s22d9hak.js → schema-pcmm8ydh.js} +23 -23
- package/dist/chunks/{command-y5rf7nzv.js → schema-pgp1nwjn.js} +4 -4
- package/dist/chunks/{command-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-65j7h7z0.js → schema-pk5j9peg.js} +32 -32
- package/dist/chunks/{command-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{command-p72k79qf.js → schema-pnafm5rd.js} +17 -17
- package/dist/chunks/{command-jktqzjpa.js → schema-py3kkmfq.js} +8 -8
- package/dist/chunks/{command-ytfj295e.js → schema-pyy44cbc.js} +177 -177
- package/dist/chunks/{command-0j77ygfz.js → schema-q0xm7vwc.js} +6 -6
- package/dist/chunks/{command-9ynvqa68.js → schema-q2hf1xmk.js} +8 -8
- package/dist/chunks/{command-wyjbmczw.js → schema-q2q20c0d.js} +17 -17
- package/dist/chunks/{command-09nnxt9p.js → schema-qfhvag9a.js} +22 -22
- package/dist/chunks/{command-7nk06whx.js → schema-qhgb43ta.js} +48 -48
- package/dist/chunks/{command-k8zgzs4j.js → schema-qmf8xmg7.js} +7 -7
- package/dist/chunks/{command-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
- package/dist/chunks/{command-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{command-b983vmxa.js → schema-qwhmp407.js} +35 -35
- package/dist/chunks/{command-vskhrygy.js → schema-qzrkvpeb.js} +11 -11
- package/dist/chunks/{command-mjqndqed.js → schema-r44petzp.js} +12 -12
- package/dist/chunks/{command-eps6q5xj.js → schema-r4h4t1nf.js} +16 -16
- package/dist/chunks/{command-jkxz06wq.js → schema-r832v3f0.js} +9 -9
- package/dist/chunks/{command-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-gjwgx2c5.js → schema-rey5gbxv.js} +9 -9
- package/dist/chunks/{command-j4z1869k.js → schema-rhty04x1.js} +17 -17
- package/dist/chunks/{command-znsx74x0.js → schema-rk1r2hx8.js} +1 -1
- package/dist/chunks/{command-c6ttkmc3.js → schema-rtwmwkb1.js} +4 -4
- package/dist/chunks/{command-qe6tj4d9.js → schema-rvw4nqpr.js} +35 -35
- package/dist/chunks/{command-8pzy0y0s.js → schema-ry36hy20.js} +11 -11
- package/dist/chunks/{command-a6wxqygz.js → schema-s077a73h.js} +25 -25
- package/dist/chunks/{command-s8d7rejh.js → schema-s8d7rejh.js} +1 -1
- package/dist/chunks/{command-kh012ppf.js → schema-sdexfqp0.js} +63 -63
- package/dist/chunks/{command-dcqe2tda.js → schema-sk3dx986.js} +47 -47
- package/dist/chunks/{command-d7hcd0ym.js → schema-smwxesx6.js} +11 -11
- package/dist/chunks/{command-569pzwc8.js → schema-sseg7a2b.js} +29 -29
- package/dist/chunks/{command-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{command-w08nn5n9.js → schema-tfbfrq56.js} +13 -13
- package/dist/chunks/{command-g53rxf0r.js → schema-tm55b6qc.js} +5 -5
- package/dist/chunks/{command-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{command-yv60n1xn.js → schema-tyfhy1xa.js} +5 -5
- package/dist/chunks/{command-xs6tw54q.js → schema-v65w0t96.js} +53 -53
- package/dist/chunks/{command-3pcwt893.js → schema-v978r2zh.js} +3 -3
- package/dist/chunks/{command-ebq0q0d7.js → schema-vap9bzaw.js} +4 -4
- package/dist/chunks/{command-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{command-f69ve3h4.js → schema-ver7ymjs.js} +18 -18
- package/dist/chunks/{command-7ggg3cvf.js → schema-vt1v0sxt.js} +50 -50
- package/dist/chunks/{command-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-nnxgyx76.js → schema-w2pt7pe3.js} +27 -27
- package/dist/chunks/{command-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-hfdbewx1.js → schema-w55xx4k1.js} +6 -6
- package/dist/chunks/{command-q03fcfcz.js → schema-wcantn69.js} +15 -15
- package/dist/chunks/{command-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{command-py4awywk.js → schema-wp2jv443.js} +5 -5
- package/dist/chunks/{command-fjp52ft7.js → schema-wpk418tb.js} +54 -54
- package/dist/chunks/{command-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-r7fzpv87.js → schema-x254e9t3.js} +43 -43
- package/dist/chunks/{command-gfkmrq4p.js → schema-x6rmv6e6.js} +25 -25
- package/dist/chunks/{command-k8b1rdw7.js → schema-xakdp5s2.js} +8 -8
- package/dist/chunks/{command-w19d8598.js → schema-xfkkasph.js} +5 -5
- package/dist/chunks/{command-22adywx4.js → schema-xkf0j60n.js} +34 -34
- package/dist/chunks/{command-e1m5s5bn.js → schema-xkw3h4yy.js} +2 -2
- package/dist/chunks/{command-f03kf16x.js → schema-xmqeavvf.js} +3 -3
- package/dist/chunks/{command-0yc0bfdq.js → schema-xmx5bapj.js} +5 -5
- package/dist/chunks/{command-prq7hedt.js → schema-xrpg47n6.js} +9 -9
- package/dist/chunks/{command-44pdqs77.js → schema-xxndcd6m.js} +4 -4
- package/dist/chunks/{command-t8w8mjvs.js → schema-y0aje2pb.js} +12 -12
- package/dist/chunks/{command-125a3gzs.js → schema-y0kv9337.js} +1 -1
- package/dist/chunks/{command-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-j1qpxjvn.js → schema-y23bhd53.js} +11 -11
- package/dist/chunks/{command-6t2wbhs5.js → schema-y853g6y0.js} +4 -4
- package/dist/chunks/{command-cgk007dh.js → schema-ygrbgkqb.js} +11 -11
- package/dist/chunks/{command-kxv9wf7h.js → schema-yh7gpy6m.js} +15 -15
- package/dist/chunks/{command-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-py3n4qdw.js → schema-ytswgsqe.js} +30 -30
- package/dist/chunks/{command-xf862nsz.js → schema-yze7y2ew.js} +25 -25
- package/dist/chunks/{command-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-dsr2y3g9.js → schema-z6c3x22d.js} +5 -5
- package/dist/chunks/{command-4tmhkwhh.js → schema-z892f7j6.js} +34 -34
- package/dist/chunks/{command-s7wf03n2.js → schema-z8k62dd3.js} +11 -11
- package/dist/chunks/{command-rx9ava5n.js → schema-zfs8ae4p.js} +4 -4
- package/dist/chunks/{command-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-zxq2ej10.js → schema-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 +83 -83
- 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 +128 -128
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +81 -81
- package/dist/database/database.js +70 -70
- 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 +79 -79
- 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 +74 -74
- 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 +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +91 -91
- 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 +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- 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 +85 -85
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +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 +3 -3
- 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 +4 -4
- 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 +95 -95
- 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 +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- 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 +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +93 -93
- package/dist/session/message-updater.js +4 -4
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- 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 +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- 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 +124 -124
- 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 +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +3 -3
- 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 +5 -5
- 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 +1 -1
- 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 +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/command-9hjw92a0.js +0 -26
- package/dist/chunks/command-ht5y0zrb.js +0 -18
- package/dist/chunks/command-sftyyjfb.js +0 -252
- /package/dist/chunks/{command-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./schema-gtz8s5m7.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service77
|
|
13
|
-
} from "./command-ps47t8qh.js";
|
|
10
|
+
} from "./schema-2a5m3afh.js";
|
|
14
11
|
import {
|
|
15
12
|
Service60
|
|
16
|
-
} from "./
|
|
13
|
+
} from "./schema-a8kgewhr.js";
|
|
14
|
+
import {
|
|
15
|
+
Service58
|
|
16
|
+
} from "./schema-91q34nvd.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service65
|
|
19
|
+
} from "./schema-v65w0t96.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service32,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-fk0bqkbn.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service50,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-5atn9wfq.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service24
|
|
37
|
+
} from "./schema-vt1v0sxt.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service14
|
|
40
|
+
} from "./schema-6k5d2hav.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./schema-y853g6y0.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./schema-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input7,
|
|
53
|
+
Plugin: () => Plugin43,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name7
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name7 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input7 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin43 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service14;
|
|
123
|
+
const jobs = yield* Service58;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service60;
|
|
126
|
+
const access = yield* Service32;
|
|
127
|
+
const shell = yield* Service24;
|
|
128
|
+
const shellSelect = yield* Service50;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service65;
|
|
131
|
+
const config = yield* Service47;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin32 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name7,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin32 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name7,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input7,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin32 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name7,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name7];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin43, exports_shell2 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service84,
|
|
17
|
+
node88
|
|
18
|
+
} from "./schema-a7bcxdzj.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service68,
|
|
21
|
+
node71
|
|
22
|
+
} from "./schema-4a0nv7mx.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service29,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node32
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service29 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service68;
|
|
58
|
+
const image = yield* Service84;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service29.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node32 = makeLocationNode({
|
|
277
|
+
service: Service29,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node71, node88]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service29, node32, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./schema-yze7y2ew.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./schema-3ppptnan.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-gyce5qg1.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service40;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
9
|
make: () => make15,
|
|
10
|
-
render: () =>
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
32
|
function make15(tools) {
|
|
33
|
-
return
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export { make15,
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-dnxkq42g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./schema-mdqp54e4.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./schema-fcmr8hvx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-w2pt7pe3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service75
|
|
20
|
+
} from "./schema-nscs897a.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./schema-d87tmwdg.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-ygrbgkqb.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-ffb4je5h.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID10
|
|
33
|
+
} from "./schema-164n2a8b.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./schema-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: ID14.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ 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*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service75;
|
|
167
|
+
const bus = yield* Service82;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,7 +180,7 @@ 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(ID13.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ 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(ID13.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -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(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID13.githubCopilot, ID12.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(
|
|
232
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.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 !== ID13.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 !== ID13.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: ID13.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID13.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: ID10.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: ID13.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID13.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: ID13.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID13.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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./schema-d87tmwdg.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-fcmr8hvx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-w2pt7pe3.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service7,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service7 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service7.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service7, node8, exports_update };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin39,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin39 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin29 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin39, exports_opencode };
|