@opencode/core 0.0.0-dev-19659 → 0.0.0-dev-19661
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent.js +68 -68
- package/dist/aisdk-native.js +70 -70
- package/dist/aisdk.js +75 -75
- package/dist/app.js +7 -7
- package/dist/bus.js +57 -57
- package/dist/chunks/{aisdk-native-k51e4aw5.js → aisdk-native-023zadcs.js} +26 -26
- package/dist/chunks/{aisdk-native-g2wezmb8.js → aisdk-native-05r0pd4k.js} +22 -22
- package/dist/chunks/{aisdk-native-808kc461.js → aisdk-native-0cmdsdny.js} +4 -4
- package/dist/chunks/{aisdk-native-t550f9t1.js → aisdk-native-0gdmqesm.js} +3 -3
- package/dist/chunks/{aisdk-native-wje5afyb.js → aisdk-native-0n0zwxbt.js} +13 -13
- package/dist/chunks/{aisdk-native-m9rcy9e9.js → aisdk-native-0yxn2y41.js} +22 -22
- package/dist/chunks/{aisdk-native-fgxf6epx.js → aisdk-native-17ev268x.js} +4 -4
- package/dist/chunks/{aisdk-native-af9v6wdb.js → aisdk-native-182gb95e.js} +21 -21
- package/dist/chunks/{aisdk-native-73tb2d7t.js → aisdk-native-1bbkgx8g.js} +2 -2
- package/dist/chunks/{aisdk-native-yy5xejng.js → aisdk-native-1n2wahs4.js} +34 -34
- package/dist/chunks/{aisdk-native-451pjvrk.js → aisdk-native-1sfz7hzv.js} +10 -10
- package/dist/chunks/{aisdk-native-56gdpj1q.js → aisdk-native-1ygqh575.js} +7 -7
- package/dist/chunks/{aisdk-native-0hxaqekr.js → aisdk-native-2379zrkh.js} +16 -16
- package/dist/chunks/{aisdk-native-nfgpg7sz.js → aisdk-native-238t0ktd.js} +7 -7
- package/dist/chunks/{aisdk-native-6h73sxmp.js → aisdk-native-2402vzrj.js} +4 -4
- package/dist/chunks/{aisdk-native-xk747vep.js → aisdk-native-24dd53tp.js} +7 -7
- package/dist/chunks/{aisdk-native-qyknhhpm.js → aisdk-native-254jv3j6.js} +30 -30
- package/dist/chunks/{aisdk-native-nt0hfq1t.js → aisdk-native-297pfj8a.js} +19 -19
- package/dist/chunks/{aisdk-native-erpj0ymn.js → aisdk-native-2nsfm9h9.js} +12 -12
- package/dist/chunks/{aisdk-native-ejzsabnb.js → aisdk-native-2nzzx6r4.js} +22 -22
- package/dist/chunks/{aisdk-native-hd29hty9.js → aisdk-native-2qbt9ft8.js} +7 -7
- package/dist/chunks/{aisdk-native-hyv2nsj8.js → aisdk-native-2rnv70v8.js} +47 -47
- package/dist/chunks/{aisdk-native-kx9pe8v3.js → aisdk-native-344v8r7k.js} +22 -22
- package/dist/chunks/{aisdk-native-yv8wa7ky.js → aisdk-native-347x7wat.js} +36 -36
- package/dist/chunks/{aisdk-native-2f0bjgcj.js → aisdk-native-37s12vcn.js} +3 -3
- package/dist/chunks/{aisdk-native-2x2s87dx.js → aisdk-native-3ge5fqnw.js} +8 -8
- package/dist/chunks/{aisdk-native-wa0ja8bs.js → aisdk-native-3jbc3g36.js} +9 -9
- package/dist/chunks/{aisdk-native-1m0ke9tc.js → aisdk-native-3s810fg1.js} +7 -7
- package/dist/chunks/{aisdk-native-4w5f3qm5.js → aisdk-native-428ep8fh.js} +7 -7
- package/dist/chunks/{aisdk-native-67cjjfz3.js → aisdk-native-434kh90e.js} +20 -20
- package/dist/chunks/{aisdk-native-h6r3nrb9.js → aisdk-native-4dgbcxzg.js} +3 -3
- package/dist/chunks/{aisdk-native-y9ag30cx.js → aisdk-native-4f5m37fg.js} +7 -7
- package/dist/chunks/{aisdk-native-p0dy5qgw.js → aisdk-native-4kqw78yy.js} +177 -175
- package/dist/chunks/{aisdk-native-abbd0srp.js → aisdk-native-4rega36x.js} +30 -30
- package/dist/chunks/{aisdk-native-3kbz71ch.js → aisdk-native-556432ga.js} +3 -3
- package/dist/chunks/{aisdk-native-6x0h2hvg.js → aisdk-native-57ez7d0k.js} +7 -7
- package/dist/chunks/{aisdk-native-ycwrzegc.js → aisdk-native-5c90fea2.js} +3 -3
- package/dist/chunks/{aisdk-native-j4dhk6n6.js → aisdk-native-5cytww3c.js} +16 -16
- package/dist/chunks/{aisdk-native-wbt9zsn3.js → aisdk-native-5e1pzs32.js} +7 -7
- package/dist/chunks/{aisdk-native-3jsa4rg6.js → aisdk-native-5fq5rnmr.js} +16 -16
- package/dist/chunks/{aisdk-native-9kmbd9mt.js → aisdk-native-5frpvc34.js} +1 -1
- package/dist/chunks/{aisdk-native-7jt1dbyr.js → aisdk-native-5g2yzyfh.js} +14 -14
- package/dist/chunks/{aisdk-native-e3qxr5gk.js → aisdk-native-5qd3pb7m.js} +2 -2
- package/dist/chunks/{aisdk-native-ehb2gjf8.js → aisdk-native-5smky6em.js} +11 -11
- package/dist/chunks/{aisdk-native-rgax8w17.js → aisdk-native-5tvsfswc.js} +45 -45
- package/dist/chunks/{aisdk-native-3cx7b8c9.js → aisdk-native-69f01smw.js} +25 -25
- package/dist/chunks/{aisdk-native-s7z13rzp.js → aisdk-native-6k39b1y0.js} +17 -17
- package/dist/chunks/{aisdk-native-wse8x4gb.js → aisdk-native-6mbb5s1t.js} +13 -13
- package/dist/chunks/{aisdk-native-nr3rnpny.js → aisdk-native-6nnym848.js} +10 -10
- package/dist/chunks/{aisdk-native-qdsfqex4.js → aisdk-native-6wqj81eb.js} +15 -15
- package/dist/chunks/{aisdk-native-c0ff335f.js → aisdk-native-6yyyp1at.js} +17 -17
- package/dist/chunks/{aisdk-native-60m4dpxp.js → aisdk-native-706cadxd.js} +14 -14
- package/dist/chunks/{aisdk-native-24xf3npk.js → aisdk-native-70yndaw4.js} +6 -6
- package/dist/chunks/{aisdk-native-8f6haeyf.js → aisdk-native-71anqpyy.js} +26 -26
- package/dist/chunks/{aisdk-native-rdbxvgxv.js → aisdk-native-73wr5j5n.js} +9 -9
- package/dist/chunks/{aisdk-native-7nv2t5e7.js → aisdk-native-74v01gcw.js} +22 -22
- package/dist/chunks/{aisdk-native-wpfw97x8.js → aisdk-native-77gdyk7k.js} +12 -12
- package/dist/chunks/{aisdk-native-nshkq49p.js → aisdk-native-7d579zsz.js} +48 -48
- package/dist/chunks/{aisdk-native-96waysmg.js → aisdk-native-82wqn8fy.js} +11 -11
- package/dist/chunks/{aisdk-native-70kjzvqh.js → aisdk-native-864rq62z.js} +13 -13
- package/dist/chunks/{aisdk-native-baxt3tw0.js → aisdk-native-86tgy61v.js} +26 -26
- package/dist/chunks/{aisdk-native-7bq24f4k.js → aisdk-native-86wxc0s5.js} +13 -13
- package/dist/chunks/{aisdk-native-8v8qk05p.js → aisdk-native-89f3rvt3.js} +1 -1
- package/dist/chunks/{aisdk-native-kmb9ebe8.js → aisdk-native-8b9a1vnb.js} +30 -30
- package/dist/chunks/aisdk-native-8mc8rrk5.js +478 -0
- package/dist/chunks/{aisdk-native-ctzssw83.js → aisdk-native-8mfdap3f.js} +4 -4
- package/dist/chunks/{aisdk-native-0dsywrch.js → aisdk-native-8n473qvc.js} +19 -19
- package/dist/chunks/{aisdk-native-mf9m2v67.js → aisdk-native-8q7cq0y1.js} +2 -2
- package/dist/chunks/{aisdk-native-aydjvc15.js → aisdk-native-9a44ktbt.js} +17 -17
- package/dist/chunks/{aisdk-native-v2cfd9mg.js → aisdk-native-9cn34y8n.js} +16 -16
- package/dist/chunks/{aisdk-native-p37cw4rj.js → aisdk-native-9hn6k4tm.js} +7 -7
- package/dist/chunks/aisdk-native-9tp0xrnc.js +247 -0
- package/dist/chunks/{aisdk-native-kq0bb674.js → aisdk-native-9v9a7nyh.js} +18 -18
- package/dist/chunks/{aisdk-native-thz469sg.js → aisdk-native-9wkb9m04.js} +8 -8
- package/dist/chunks/{aisdk-native-6t298p2h.js → aisdk-native-ab8cnxkj.js} +8 -8
- package/dist/chunks/{aisdk-native-9efavmn1.js → aisdk-native-ahkm7jtq.js} +9 -9
- package/dist/chunks/{aisdk-native-888n06p8.js → aisdk-native-avcdwqa3.js} +7 -7
- package/dist/chunks/{aisdk-native-2gns7qzp.js → aisdk-native-b3fjr4a5.js} +9 -9
- package/dist/chunks/{aisdk-native-wna5sgbh.js → aisdk-native-bghmh87t.js} +19 -19
- package/dist/chunks/{aisdk-native-2cdbads6.js → aisdk-native-bje848qr.js} +6 -6
- package/dist/chunks/{aisdk-native-v30t9zn6.js → aisdk-native-bn6tr5ps.js} +6 -6
- package/dist/chunks/{aisdk-native-gp08z3nw.js → aisdk-native-bn7wsp1y.js} +4 -4
- package/dist/chunks/{aisdk-native-tddjggae.js → aisdk-native-bn8xvxc9.js} +15 -15
- package/dist/chunks/{aisdk-native-bpvf94qg.js → aisdk-native-bqcmh1d5.js} +25 -25
- package/dist/chunks/{aisdk-native-r3jjmetn.js → aisdk-native-bwq9mt9g.js} +6 -6
- package/dist/chunks/{aisdk-native-gwasxxyt.js → aisdk-native-c1a6g7fn.js} +26 -26
- package/dist/chunks/{aisdk-native-ae7djn2q.js → aisdk-native-c24azjc2.js} +12 -12
- package/dist/chunks/{aisdk-native-6jjmcewh.js → aisdk-native-c3g32xz6.js} +22 -22
- package/dist/chunks/{aisdk-native-jz717kwe.js → aisdk-native-c3tze8y7.js} +21 -21
- package/dist/chunks/{aisdk-native-hn0kr74v.js → aisdk-native-ccq8grnq.js} +25 -25
- package/dist/chunks/{aisdk-native-7y4g93zh.js → aisdk-native-cft9s2sz.js} +10 -10
- package/dist/chunks/{aisdk-native-gwqc9hw0.js → aisdk-native-crgeygmk.js} +19 -19
- package/dist/chunks/{aisdk-native-16zmxd5d.js → aisdk-native-czwyyt0b.js} +7 -7
- package/dist/chunks/{aisdk-native-4c2trx4e.js → aisdk-native-d0szqk1h.js} +3 -3
- package/dist/chunks/{aisdk-native-v23ngtav.js → aisdk-native-d295vwqg.js} +81 -81
- package/dist/chunks/{aisdk-native-7m61546t.js → aisdk-native-d70tcw3y.js} +8 -8
- package/dist/chunks/{aisdk-native-5nygbceh.js → aisdk-native-dbgsewpx.js} +7 -7
- package/dist/chunks/{aisdk-native-4fnbdv1x.js → aisdk-native-dfyaxeae.js} +1 -1
- package/dist/chunks/{aisdk-native-k074j3w6.js → aisdk-native-dm4njmma.js} +39 -39
- package/dist/chunks/{aisdk-native-359m9qke.js → aisdk-native-dn2z7ew9.js} +21 -21
- package/dist/chunks/{aisdk-native-y71avatq.js → aisdk-native-dpkg50ah.js} +3 -3
- package/dist/chunks/{aisdk-native-hx2g52bz.js → aisdk-native-dskzymh2.js} +4 -4
- package/dist/chunks/{aisdk-native-hcz3zddy.js → aisdk-native-e6hmchc5.js} +3 -3
- package/dist/chunks/{aisdk-native-byvpkk98.js → aisdk-native-edevpfks.js} +9 -9
- package/dist/chunks/{aisdk-native-9m87xy8c.js → aisdk-native-et90nqeb.js} +6 -6
- package/dist/chunks/{aisdk-native-0hna0z05.js → aisdk-native-evavga5b.js} +83 -83
- package/dist/chunks/{aisdk-native-m3sg1ew5.js → aisdk-native-ewc7fmt2.js} +6 -6
- package/dist/chunks/{aisdk-native-vfmr2m2j.js → aisdk-native-eyy1x1gz.js} +15 -15
- package/dist/chunks/{aisdk-native-4hv83k1t.js → aisdk-native-eztanwtt.js} +22 -22
- package/dist/chunks/{aisdk-native-yp2x3t23.js → aisdk-native-f2n192rq.js} +3 -3
- package/dist/chunks/{aisdk-native-pkkve4e3.js → aisdk-native-f31jkx3n.js} +5 -5
- package/dist/chunks/{aisdk-native-q13p9eja.js → aisdk-native-fakqx81w.js} +7 -7
- package/dist/chunks/{aisdk-native-b27vhd2z.js → aisdk-native-fdv30zvt.js} +6 -6
- package/dist/chunks/{aisdk-native-eswk50af.js → aisdk-native-fp088skr.js} +7 -7
- package/dist/chunks/{aisdk-native-zvfby6ng.js → aisdk-native-fveggg5b.js} +8 -8
- package/dist/chunks/{aisdk-native-nf5c5hdx.js → aisdk-native-g03q4hs5.js} +21 -21
- package/dist/chunks/{aisdk-native-axmvebxj.js → aisdk-native-g190xswt.js} +20 -20
- package/dist/chunks/{aisdk-native-agas1js3.js → aisdk-native-g29ecd2d.js} +5 -5
- package/dist/chunks/{aisdk-native-fc8gtdz2.js → aisdk-native-g6r9s5ra.js} +1 -1
- package/dist/chunks/{aisdk-native-r330a857.js → aisdk-native-ghb1r91n.js} +18 -15
- package/dist/chunks/{aisdk-native-79qaa2kf.js → aisdk-native-gjwgx2c5.js} +7 -7
- package/dist/chunks/aisdk-native-grr7jzxk.js +26 -0
- package/dist/chunks/{aisdk-native-xj33pkwb.js → aisdk-native-gx4b9ghh.js} +24 -24
- package/dist/chunks/{aisdk-native-v4wfwvtq.js → aisdk-native-gxr1dr9e.js} +6 -6
- package/dist/chunks/{aisdk-native-hy20qw0x.js → aisdk-native-gxv64e4w.js} +12 -12
- package/dist/chunks/{aisdk-native-xrjwjpzr.js → aisdk-native-gxv7kf4z.js} +1 -1
- package/dist/chunks/{aisdk-native-ydyy4a51.js → aisdk-native-gym91fzb.js} +7 -7
- package/dist/chunks/{aisdk-native-jp1wq4j5.js → aisdk-native-h6304w3t.js} +4 -4
- package/dist/chunks/{aisdk-native-qskfz9c0.js → aisdk-native-hcveegta.js} +32 -32
- package/dist/chunks/{aisdk-native-f96rndfk.js → aisdk-native-he5mgen4.js} +8 -8
- package/dist/chunks/{aisdk-native-m2e5j58z.js → aisdk-native-hffbynf2.js} +14 -14
- package/dist/chunks/{aisdk-native-e2hdwa5k.js → aisdk-native-hgsgykfd.js} +13 -13
- package/dist/chunks/{aisdk-native-dh7xq6zm.js → aisdk-native-hryj0jt1.js} +3 -3
- package/dist/chunks/{aisdk-native-ahvgrgdh.js → aisdk-native-j161s2v3.js} +17 -17
- package/dist/chunks/{aisdk-native-an7cqtb7.js → aisdk-native-j83byb14.js} +3 -3
- package/dist/chunks/{aisdk-native-23sxaqwc.js → aisdk-native-j8zzr2am.js} +3 -3
- package/dist/chunks/{aisdk-native-9yccxaet.js → aisdk-native-jmyhth9t.js} +50 -50
- package/dist/chunks/{aisdk-native-z45k2q9b.js → aisdk-native-jx560d4n.js} +12 -12
- package/dist/chunks/{aisdk-native-x01x7vs9.js → aisdk-native-k05gtj6k.js} +2 -2
- package/dist/chunks/{aisdk-native-b2da4m4w.js → aisdk-native-k5721584.js} +3 -3
- package/dist/chunks/{aisdk-native-748zbz0t.js → aisdk-native-kaqsmsnp.js} +40 -40
- package/dist/chunks/{aisdk-native-wasmnp9g.js → aisdk-native-kb2qx9e9.js} +2 -2
- package/dist/chunks/{aisdk-native-ywhsgpfh.js → aisdk-native-kbpq3c4q.js} +22 -22
- package/dist/chunks/{aisdk-native-e2335xen.js → aisdk-native-kdjz9kg3.js} +8 -8
- package/dist/chunks/{aisdk-native-6rtfy69a.js → aisdk-native-kg4jxx0b.js} +7 -7
- package/dist/chunks/{aisdk-native-0dxrdgf8.js → aisdk-native-kwhemyxj.js} +6 -6
- package/dist/chunks/{aisdk-native-n11baakf.js → aisdk-native-kz12zc3c.js} +10 -10
- package/dist/chunks/{aisdk-native-n0kdxk8f.js → aisdk-native-kz3knr4j.js} +10 -10
- package/dist/chunks/{aisdk-native-qe4vt3fh.js → aisdk-native-m09t7skk.js} +4 -4
- package/dist/chunks/{aisdk-native-ak2as40b.js → aisdk-native-m2m0mav4.js} +12 -12
- package/dist/chunks/{aisdk-native-rjt1w22v.js → aisdk-native-m3ta9d82.js} +4 -4
- package/dist/chunks/{aisdk-native-hh9m7f5s.js → aisdk-native-m7g9ty3v.js} +31 -31
- package/dist/chunks/{aisdk-native-331hptqa.js → aisdk-native-m7w5bw68.js} +1 -1
- package/dist/chunks/{aisdk-native-pqkjy9pg.js → aisdk-native-m83dfgrj.js} +25 -25
- package/dist/chunks/{aisdk-native-zgfg11tk.js → aisdk-native-m9h2htwt.js} +43 -43
- package/dist/chunks/{aisdk-native-qbxewh6p.js → aisdk-native-md88ay8y.js} +39 -39
- package/dist/chunks/{aisdk-native-t63nzm9r.js → aisdk-native-mq22jzzd.js} +29 -29
- package/dist/chunks/{aisdk-native-88sz8qcd.js → aisdk-native-msq0jde0.js} +3 -3
- package/dist/chunks/{aisdk-native-pbqf8yzy.js → aisdk-native-mzjqrkme.js} +4 -4
- package/dist/chunks/{aisdk-native-f6n9ymec.js → aisdk-native-n6fvx0v7.js} +23 -23
- package/dist/chunks/{aisdk-native-rn5qsgpz.js → aisdk-native-nf10vtm1.js} +1 -1
- package/dist/chunks/{aisdk-native-xf3xt1ha.js → aisdk-native-nntat7jz.js} +2 -2
- package/dist/chunks/{aisdk-native-geznyajv.js → aisdk-native-pb76g505.js} +23 -23
- package/dist/chunks/{aisdk-native-1wabnfeb.js → aisdk-native-pbbas732.js} +3 -3
- package/dist/chunks/{aisdk-native-7bc5tj51.js → aisdk-native-pf5z211q.js} +14 -14
- package/dist/chunks/{aisdk-native-7eexgf6y.js → aisdk-native-pfm0mfps.js} +11 -11
- package/dist/chunks/{aisdk-native-5vzxx5bm.js → aisdk-native-pp8ahakx.js} +16 -16
- package/dist/chunks/{aisdk-native-scq4khx8.js → aisdk-native-pstg3rfm.js} +1 -1
- package/dist/chunks/{aisdk-native-0wafeyhj.js → aisdk-native-q12gc53x.js} +4 -4
- package/dist/chunks/{aisdk-native-ht9hrq0m.js → aisdk-native-q8cmhkcw.js} +21 -21
- package/dist/chunks/{aisdk-native-msfpjnen.js → aisdk-native-qaz9f4ck.js} +21 -21
- package/dist/chunks/{aisdk-native-jcefac6b.js → aisdk-native-qbfny5ar.js} +44 -44
- package/dist/chunks/{aisdk-native-2k8khapm.js → aisdk-native-qgn6gcr1.js} +4 -4
- package/dist/chunks/{aisdk-native-86nf6q4d.js → aisdk-native-qhm3qz41.js} +16 -16
- package/dist/chunks/{aisdk-native-jnzjsk2z.js → aisdk-native-qnqvzbpj.js} +33 -33
- package/dist/chunks/{aisdk-native-9fz2jzqv.js → aisdk-native-r04jyq6d.js} +16 -16
- package/dist/chunks/{aisdk-native-kp8q1t60.js → aisdk-native-r9w3djhf.js} +8 -8
- package/dist/chunks/{aisdk-native-0gj0evhw.js → aisdk-native-rpg6kbz8.js} +9 -9
- package/dist/chunks/{aisdk-native-x16ewxve.js → aisdk-native-rqq8xd54.js} +15 -15
- package/dist/chunks/{aisdk-native-j5x2gm5w.js → aisdk-native-rsjan7rq.js} +3 -3
- package/dist/chunks/{aisdk-native-e248x3jn.js → aisdk-native-rtd6da40.js} +8 -8
- package/dist/chunks/{aisdk-native-mp6d0dty.js → aisdk-native-rzs3gq0x.js} +7 -7
- package/dist/chunks/{aisdk-native-nxhqveyz.js → aisdk-native-s8zy8myc.js} +3 -3
- package/dist/chunks/{aisdk-native-ppegfhjd.js → aisdk-native-sqr3fkms.js} +7 -7
- package/dist/chunks/{aisdk-native-scavptnn.js → aisdk-native-szxaz7kb.js} +19 -19
- package/dist/chunks/{aisdk-native-sxzvkvgj.js → aisdk-native-tcay1cqt.js} +5 -5
- package/dist/chunks/{aisdk-native-jjke4x7z.js → aisdk-native-tm9sbs98.js} +12 -12
- package/dist/chunks/{aisdk-native-nhhcxfy5.js → aisdk-native-tnmp8ffe.js} +23 -23
- package/dist/chunks/{aisdk-native-v7zr17ek.js → aisdk-native-tz3y59f8.js} +3 -3
- package/dist/chunks/{aisdk-native-1x11rq2a.js → aisdk-native-v1faaxn9.js} +4 -4
- package/dist/chunks/{aisdk-native-b1r5pdk4.js → aisdk-native-v1kmkjnd.js} +17 -17
- package/dist/chunks/{aisdk-native-wfszgscg.js → aisdk-native-vfn2zzmw.js} +26 -26
- package/dist/chunks/{aisdk-native-bajakh74.js → aisdk-native-vkxpz7g2.js} +1 -1
- package/dist/chunks/{aisdk-native-50p7p4wm.js → aisdk-native-vnbtwqd9.js} +5 -5
- package/dist/chunks/{aisdk-native-jkv0zw5y.js → aisdk-native-w3sncgk8.js} +24 -24
- package/dist/chunks/{aisdk-native-23pqda6t.js → aisdk-native-w4arg62q.js} +3 -3
- package/dist/chunks/{aisdk-native-e3ayzqwh.js → aisdk-native-w4axh9wz.js} +5 -5
- package/dist/chunks/{aisdk-native-wbghmt8t.js → aisdk-native-we30fdbd.js} +19 -19
- package/dist/chunks/{aisdk-native-xdce8axh.js → aisdk-native-wktpt5qp.js} +5 -5
- package/dist/chunks/{aisdk-native-bjn91642.js → aisdk-native-x0511brf.js} +3 -3
- package/dist/chunks/{aisdk-native-vdd4sn1x.js → aisdk-native-x90pca9b.js} +6 -6
- package/dist/chunks/{aisdk-native-9q3gb9j3.js → aisdk-native-xa98q82c.js} +12 -12
- package/dist/chunks/{aisdk-native-3mhvwx4s.js → aisdk-native-xak7szdq.js} +9 -9
- package/dist/chunks/{aisdk-native-hrywwc1n.js → aisdk-native-xk8kmkj3.js} +12 -12
- package/dist/chunks/{aisdk-native-n4xd5mbw.js → aisdk-native-xs2jpm2x.js} +7 -7
- package/dist/chunks/{aisdk-native-z84mk0fk.js → aisdk-native-yafv6bxz.js} +13 -13
- package/dist/chunks/{aisdk-native-f8pwhm1g.js → aisdk-native-ym5ee435.js} +25 -25
- package/dist/chunks/{aisdk-native-zctbk1s6.js → aisdk-native-ynk1nd5w.js} +36 -36
- package/dist/chunks/{aisdk-native-s4enseaf.js → aisdk-native-yrznvahk.js} +1 -1
- package/dist/chunks/{aisdk-native-4xr2831z.js → aisdk-native-z2x1npkm.js} +8 -8
- package/dist/chunks/{aisdk-native-hh7agjhc.js → aisdk-native-z4305a57.js} +34 -34
- package/dist/chunks/{aisdk-native-6z9sgxqn.js → aisdk-native-z4zm4h76.js} +39 -39
- package/dist/chunks/{aisdk-native-e1pmx1t0.js → aisdk-native-z63k4sg0.js} +13 -13
- package/dist/chunks/{aisdk-native-29x78va6.js → aisdk-native-z63w68vq.js} +4 -4
- package/dist/chunks/{aisdk-native-h0h5wsmg.js → aisdk-native-zdhkzmh8.js} +15 -15
- package/dist/chunks/{aisdk-native-tdbz4xj3.js → aisdk-native-zf7xdvsm.js} +4 -4
- package/dist/chunks/{aisdk-native-h610k8s8.js → aisdk-native-zjcf0rqn.js} +14 -14
- package/dist/chunks/{aisdk-native-28e4y2hv.js → aisdk-native-zjym0m08.js} +10 -10
- package/dist/chunks/{aisdk-native-pfzt5ex6.js → aisdk-native-zrt42jaw.js} +5 -5
- package/dist/chunks/{aisdk-native-34q1q4g3.js → aisdk-native-ztctrtvz.js} +1 -1
- package/dist/chunks/{aisdk-native-0f0361zd.js → aisdk-native-ztm0qtrx.js} +37 -37
- package/dist/chunks/{aisdk-native-2vs2nh1n.js → aisdk-native-zvt5dnpc.js} +3 -3
- package/dist/codemode/instructions.js +4 -4
- package/dist/command.js +72 -72
- package/dist/config/discovery.js +63 -63
- package/dist/config/normalize.js +85 -85
- package/dist/config/plugin/agent.js +100 -100
- package/dist/config/plugin/command.js +181 -181
- package/dist/config/plugin/compaction.js +127 -127
- package/dist/config/plugin/compatibility.js +116 -116
- package/dist/config/plugin/formatter.js +99 -99
- package/dist/config/plugin/image.js +98 -98
- package/dist/config/plugin/instruction.js +70 -70
- package/dist/config/plugin/location-watcher.js +100 -100
- package/dist/config/plugin/mcp.js +106 -106
- package/dist/config/plugin/policy.js +98 -98
- package/dist/config/plugin/provider.js +98 -98
- package/dist/config/plugin/reference.js +100 -100
- package/dist/config/plugin/shell.js +98 -98
- package/dist/config/plugin/skill-file.js +78 -78
- package/dist/config/plugin/skill.js +119 -119
- package/dist/config/plugin/snapshot.js +98 -98
- package/dist/config/plugin/source.js +101 -101
- package/dist/config/plugin/tool-output.js +100 -100
- package/dist/config/plugin/websearch.js +97 -97
- package/dist/config/plugin/worktree.js +100 -100
- package/dist/config/variable.js +2 -2
- package/dist/config.js +104 -104
- package/dist/credential.js +69 -69
- package/dist/database/database.js +55 -55
- package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +11 -11
- package/dist/database/migration.gen.js +39 -39
- package/dist/database/migration.js +40 -40
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +233 -233
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +71 -71
- package/dist/environment/index.js +73 -73
- package/dist/event-logger.js +10 -10
- package/dist/file-access.js +81 -81
- package/dist/file-mutation.js +72 -72
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +194 -194
- package/dist/filesystem/search.js +73 -73
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +78 -78
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +68 -68
- package/dist/generate.js +84 -84
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +80 -80
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +311 -311
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +68 -68
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +70 -70
- package/dist/job.js +63 -63
- package/dist/kv.js +60 -60
- package/dist/location-activity.js +54 -54
- package/dist/location-mutation.js +31 -31
- package/dist/location-service-map.js +67 -67
- package/dist/location-services.js +309 -309
- package/dist/location.js +68 -68
- package/dist/mcp/client.js +18 -18
- package/dist/mcp/index.js +82 -82
- package/dist/mcp/instructions.js +100 -100
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +68 -68
- package/dist/modal/models.js +80 -80
- package/dist/model-resolver.js +79 -79
- package/dist/model.js +81 -81
- package/dist/models-dev.js +87 -87
- package/dist/permission/saved.js +64 -64
- package/dist/permission.js +90 -90
- package/dist/persistent-pty/index.js +70 -70
- package/dist/persistent-pty.js +60 -60
- package/dist/plugin/agent.js +81 -81
- package/dist/plugin/command.js +79 -79
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +185 -185
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +288 -288
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +3 -3
- package/dist/plugin/plan.js +79 -79
- package/dist/plugin/provider/amazon-bedrock.js +71 -71
- package/dist/plugin/provider/azure.js +97 -97
- package/dist/plugin/provider/cloudflare-ai-gateway.js +96 -96
- package/dist/plugin/provider/cloudflare-workers-ai.js +96 -96
- package/dist/plugin/provider/configured.js +95 -95
- package/dist/plugin/provider/digitalocean.js +73 -73
- package/dist/plugin/provider/github-copilot.js +74 -74
- package/dist/plugin/provider/gitlab.js +72 -72
- package/dist/plugin/provider/google-vertex.js +71 -71
- package/dist/plugin/provider/llmgateway.js +63 -63
- package/dist/plugin/provider/lmstudio.js +96 -96
- package/dist/plugin/provider/modal.js +73 -73
- package/dist/plugin/provider/ollama.js +96 -96
- package/dist/plugin/provider/openai.js +72 -72
- package/dist/plugin/provider/opencode.js +73 -73
- package/dist/plugin/provider/openrouter.js +72 -72
- package/dist/plugin/provider/poe.js +63 -63
- package/dist/plugin/provider/prompt-cache-key.js +71 -71
- package/dist/plugin/provider/sap-ai-core.js +71 -71
- package/dist/plugin/provider/snowflake-cortex.js +97 -97
- package/dist/plugin/provider/vercel.js +71 -71
- package/dist/plugin/provider/vllm.js +96 -96
- package/dist/plugin/provider/xai.js +72 -72
- package/dist/plugin/provider.js +129 -129
- package/dist/plugin/sdk.js +64 -64
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +117 -117
- package/dist/plugin/supervisor.js +302 -302
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +67 -67
- package/dist/plugin/vcs/hg.js +67 -67
- package/dist/plugin/warming.js +97 -97
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +5 -5
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +192 -192
- package/dist/project/schema.js +7 -7
- package/dist/project.js +71 -71
- package/dist/provider.js +78 -78
- package/dist/pty.js +73 -73
- package/dist/reference/instructions.js +72 -72
- package/dist/reference.js +74 -74
- package/dist/repository-cache.js +65 -65
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +74 -74
- package/dist/rpc.js +67 -67
- package/dist/session/command.js +61 -61
- package/dist/session/compaction.js +100 -100
- package/dist/session/context.js +124 -124
- package/dist/session/diff.js +67 -67
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -6
- package/dist/session/execution/restart.js +119 -119
- package/dist/session/execution.js +105 -105
- package/dist/session/generate.js +125 -125
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +69 -69
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +61 -61
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +71 -71
- package/dist/session/model-request.js +91 -91
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +106 -106
- package/dist/session/projector.js +66 -66
- package/dist/session/prompt.js +81 -81
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +69 -69
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +192 -192
- package/dist/session/runner/model.js +79 -79
- package/dist/session/runner/retry.js +91 -91
- package/dist/session/runner/step.js +99 -99
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +143 -143
- package/dist/session/shell.js +111 -111
- package/dist/session/skill.js +80 -80
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +69 -69
- package/dist/session/subagent-job.js +178 -178
- package/dist/session/title.js +121 -121
- package/dist/session/to-session-error.js +88 -88
- package/dist/session/transfer.js +114 -114
- package/dist/session.js +185 -185
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +10 -10
- package/dist/shell.js +114 -114
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +84 -84
- package/dist/skill.js +87 -87
- package/dist/snapshot.js +72 -72
- package/dist/tool/mcp.js +97 -97
- package/dist/tool/plugin/edit.js +94 -94
- package/dist/tool/plugin/glob.js +98 -98
- package/dist/tool/plugin/grep.js +96 -96
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +96 -96
- package/dist/tool/plugin/question.js +78 -78
- package/dist/tool/plugin/read.js +98 -98
- package/dist/tool/plugin/shell.js +184 -184
- package/dist/tool/plugin/skill.js +90 -90
- package/dist/tool/plugin/subagent.js +187 -187
- package/dist/tool/plugin/webfetch.js +85 -85
- package/dist/tool/plugin/websearch.js +89 -89
- package/dist/tool/plugin/write.js +96 -96
- package/dist/tool/read-filesystem.js +72 -72
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +72 -72
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +74 -74
- package/dist/vcs.js +68 -68
- package/dist/websearch.js +66 -66
- package/dist/wellknown/plugin.js +62 -62
- package/dist/wellknown.js +67 -67
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +66 -66
- package/dist/worktree/git.js +6 -6
- package/dist/worktree/strategies.js +69 -69
- package/dist/worktree.js +75 -75
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-4144tsc8.js +0 -26
- package/dist/chunks/aisdk-native-esph3pet.js +0 -478
- package/dist/chunks/aisdk-native-vy5gba4s.js +0 -247
- /package/dist/chunks/{aisdk-native-gx8hye9g.js → aisdk-native-4vp46et4.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cfb3ja4.js → aisdk-native-94s48bjb.js} +0 -0
- /package/dist/chunks/{aisdk-native-nyvrwfsp.js → aisdk-native-98c88b32.js} +0 -0
- /package/dist/chunks/{aisdk-native-79k2e49w.js → aisdk-native-e6tgtk7f.js} +0 -0
|
@@ -10,7 +10,7 @@ var exports_attachment = {};
|
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info10
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info10 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info10, exports_attachment };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./aisdk-native-
|
|
3
|
+
} from "./aisdk-native-xs2jpm2x.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./aisdk-native-
|
|
6
|
+
} from "./aisdk-native-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./aisdk-native-9rqn6x4v.js";
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin5,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin5 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin35 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin35 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint5, Plugin5, exports_tinyfish };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./aisdk-native-
|
|
3
|
+
Service40
|
|
4
|
+
} from "./aisdk-native-kaqsmsnp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./aisdk-native-
|
|
6
|
+
Service50
|
|
7
|
+
} from "./aisdk-native-gxv64e4w.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
10
|
} from "./aisdk-native-qsdy395h.js";
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin34
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin34 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service40;
|
|
27
|
+
const shell = yield* Service50;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin26 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin34, exports_shell2 };
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./aisdk-native-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./aisdk-native-
|
|
6
|
+
} from "./aisdk-native-8q7cq0y1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error2 = {};
|
|
13
|
+
__export(exports_error2, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -19,9 +19,9 @@ __export(exports_error, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError9,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service62,
|
|
10
|
+
node: () => node64
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service62 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service62.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node64 = makeLocationNode({ service: Service62, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service62, node64, exports_hooks };
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
AbsolutePath2
|
|
3
3
|
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./aisdk-native-
|
|
5
|
+
Service78
|
|
6
|
+
} from "./aisdk-native-bn8xvxc9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./aisdk-native-
|
|
8
|
+
Service57
|
|
9
|
+
} from "./aisdk-native-2379zrkh.js";
|
|
10
10
|
import {
|
|
11
11
|
Service11
|
|
12
|
-
} from "./aisdk-native-
|
|
12
|
+
} from "./aisdk-native-kz3knr4j.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
15
|
} from "./aisdk-native-2a5m3afh.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service5
|
|
27
|
-
} from "./aisdk-native-
|
|
27
|
+
} from "./aisdk-native-et90nqeb.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./aisdk-native-9rqn6x4v.js";
|
|
@@ -32,17 +32,17 @@ import {
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Plugin: () => Plugin16,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name2,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name2 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input2 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin16 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service5;
|
|
62
|
-
const access = yield*
|
|
62
|
+
const access = yield* Service57;
|
|
63
63
|
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name2,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input2,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin12 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent2 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name2, Input2, Plugin16, toModelContent2, exports_read };
|
|
@@ -7,18 +7,18 @@ var exports_connection = {};
|
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info27,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info27 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info27, key2, exports_connection };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./aisdk-native-
|
|
4
|
+
} from "./aisdk-native-c1a6g7fn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./aisdk-native-
|
|
6
|
+
Service40
|
|
7
|
+
} from "./aisdk-native-kaqsmsnp.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./aisdk-native-
|
|
10
|
+
} from "./aisdk-native-bwq9mt9g.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -36,7 +36,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service40;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID11.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|