@opencode/core 0.0.0-dev-248 → 0.0.0-dev-261
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 +89 -88
- package/dist/aisdk-native.js +101 -100
- package/dist/aisdk.js +107 -106
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -78
- package/dist/chunks/{image-034tev2y.js → mime-034tev2y.js} +2 -2
- package/dist/chunks/{image-qsv00416.js → mime-05ga3jym.js} +32 -32
- package/dist/chunks/{image-stv8d0fa.js → mime-09npetjp.js} +27 -27
- package/dist/chunks/{image-m11k789k.js → mime-0cjt6hj4.js} +17 -17
- package/dist/chunks/{image-jn88007r.js → mime-0eq01nmm.js} +9 -9
- package/dist/chunks/{image-w0sctsdt.js → mime-0h3385jp.js} +2 -2
- package/dist/chunks/{image-fznmdakp.js → mime-0h8y3ex8.js} +4 -4
- package/dist/chunks/{image-gbjdk4c3.js → mime-0j9k711p.js} +26 -26
- package/dist/chunks/{image-js1q3m86.js → mime-0rhd3fk1.js} +6 -6
- package/dist/chunks/{image-vx3jgdek.js → mime-107zh63q.js} +3 -3
- package/dist/chunks/{image-11hfp36g.js → mime-11hfp36g.js} +1 -1
- package/dist/chunks/{image-qy3khhnd.js → mime-17x7vgjp.js} +24 -24
- package/dist/chunks/{image-z38nccrw.js → mime-1aqsckx4.js} +4 -4
- package/dist/chunks/{image-pf7dnjhv.js → mime-1dtbfpzr.js} +27 -25
- package/dist/chunks/{image-8gxv70g9.js → mime-1dy1zrej.js} +85 -85
- package/dist/chunks/{image-q2akw4rt.js → mime-1ene02nc.js} +28 -28
- package/dist/chunks/{image-1ep2p91f.js → mime-1ep2p91f.js} +2 -2
- package/dist/chunks/mime-1hm0b4am.js +257 -0
- package/dist/chunks/{image-c4104nvq.js → mime-1hma5w09.js} +88 -88
- package/dist/chunks/{image-tn1wjjkb.js → mime-1kmbt0nq.js} +4 -4
- package/dist/chunks/{image-xt0z8zst.js → mime-1kn6jdkn.js} +4 -4
- package/dist/chunks/{image-a862c78z.js → mime-1nwvfgjk.js} +19 -19
- package/dist/chunks/{image-j8ypmtmr.js → mime-1w8p0a18.js} +12 -12
- package/dist/chunks/{image-avce3vrt.js → mime-1wpsahk2.js} +7 -7
- package/dist/chunks/{image-1x2knyw4.js → mime-1x2knyw4.js} +1 -1
- package/dist/chunks/{image-204s3925.js → mime-204s3925.js} +1 -1
- package/dist/chunks/{image-f3d4492r.js → mime-2135gcnk.js} +13 -13
- package/dist/chunks/{image-25h84942.js → mime-25h84942.js} +1 -1
- package/dist/chunks/{image-vk8647fk.js → mime-29db0j4x.js} +4 -4
- package/dist/chunks/{image-jy8nsvvz.js → mime-2b25mbj3.js} +5 -5
- package/dist/chunks/{image-2dkjcnxp.js → mime-2dkjcnxp.js} +1 -1
- package/dist/chunks/{image-nhjb6w3d.js → mime-2e3yfjq6.js} +8 -8
- package/dist/chunks/{image-kprvh3r4.js → mime-2hrk5wbs.js} +18 -18
- package/dist/chunks/{image-s7kyse9r.js → mime-2kg89srt.js} +4 -4
- package/dist/chunks/{image-86fy72ae.js → mime-2qwjmz35.js} +14 -14
- package/dist/chunks/{image-hqxkkta1.js → mime-2zp5a6yg.js} +3 -3
- package/dist/chunks/{image-e2ne77ac.js → mime-36qx82yz.js} +4 -4
- package/dist/chunks/{image-3bks771a.js → mime-3f6130kj.js} +36 -36
- package/dist/chunks/{image-p087ke4f.js → mime-3h56g0x5.js} +44 -44
- package/dist/chunks/{image-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-k0cyqgb5.js → mime-3k3cm4zk.js} +11 -11
- package/dist/chunks/{image-tmc7xdjs.js → mime-3nnrz6f6.js} +4 -4
- package/dist/chunks/{image-g8mt74n4.js → mime-3xm4v4zv.js} +20 -20
- package/dist/chunks/{image-nwarprta.js → mime-45xte6ee.js} +20 -20
- package/dist/chunks/{image-x219xq9r.js → mime-48es43h7.js} +10 -10
- package/dist/chunks/{image-ra36q08n.js → mime-4a1s8y4n.js} +12 -12
- package/dist/chunks/mime-4dx1dgte.js +16 -0
- package/dist/chunks/{image-20pjvqtm.js → mime-4hebgate.js} +12 -12
- package/dist/chunks/{image-4pyp9zr9.js → mime-4pyp9zr9.js} +1 -1
- package/dist/chunks/{image-8jf3czjf.js → mime-4qxqnvmw.js} +19 -19
- package/dist/chunks/{image-zm4870m6.js → mime-4tdcetb8.js} +11 -11
- package/dist/chunks/{image-k5jndtya.js → mime-4thnqhg3.js} +1 -1
- package/dist/chunks/{image-4v008n1t.js → mime-4v008n1t.js} +1 -1
- package/dist/chunks/{image-7zwtd1t5.js → mime-4yscp7k1.js} +34 -34
- package/dist/chunks/{image-mg0htjxc.js → mime-50x74c5d.js} +30 -30
- package/dist/chunks/mime-52zxaxjc.js +26 -0
- package/dist/chunks/{image-5enarcya.js → mime-5enarcya.js} +2 -2
- package/dist/chunks/{image-10gwmmpt.js → mime-5f3qf23k.js} +23 -23
- package/dist/chunks/{image-04dwygev.js → mime-5g59k7nb.js} +30 -30
- package/dist/chunks/{image-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{image-xg3m3sfb.js → mime-6447hfkj.js} +167 -167
- package/dist/chunks/{image-ydx4vg6d.js → mime-69nya0q4.js} +16 -16
- package/dist/chunks/{image-6esdw8yj.js → mime-6esdw8yj.js} +1 -1
- package/dist/chunks/{image-q4rvt96e.js → mime-6evmzryz.js} +9 -9
- package/dist/chunks/{image-dgy090gd.js → mime-6fpf7z8r.js} +5 -5
- package/dist/chunks/{image-trpj6qs6.js → mime-6vkwvj03.js} +14 -14
- package/dist/chunks/mime-6vmee23j.js +52 -0
- package/dist/chunks/{image-0v1smhm7.js → mime-6zh541c7.js} +62 -58
- package/dist/chunks/{image-76cb1hcw.js → mime-76cb1hcw.js} +1 -1
- package/dist/chunks/{image-f01y088k.js → mime-78p2h4ex.js} +7 -7
- package/dist/chunks/{image-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-jns4gqy7.js → mime-7h09t6vy.js} +4 -4
- package/dist/chunks/{image-cje1pfpn.js → mime-7q2ytnwk.js} +32 -32
- package/dist/chunks/{image-2m7vd2mn.js → mime-7q3qfmpr.js} +29 -29
- package/dist/chunks/{image-jqcfy5ts.js → mime-7qrckcvm.js} +23 -23
- package/dist/chunks/{image-n8x58739.js → mime-7s9zy64f.js} +11 -11
- package/dist/chunks/{image-5gmpzygr.js → mime-7ssbg7yb.js} +15 -15
- package/dist/chunks/{image-7w2ypzdf.js → mime-7w2ypzdf.js} +1 -1
- package/dist/chunks/{image-kssbtbt0.js → mime-85aybcep.js} +76 -76
- package/dist/chunks/{image-hex7e87k.js → mime-87vy0wwt.js} +11 -11
- package/dist/chunks/{image-67eerw5j.js → mime-8dnnkdqt.js} +15 -15
- package/dist/chunks/{image-pkx7b8zb.js → mime-8f7wz2tq.js} +16 -16
- package/dist/chunks/{image-2ap97v08.js → mime-8p46qq0s.js} +17 -17
- package/dist/chunks/{image-fysk4shs.js → mime-8pyn3tva.js} +4 -4
- package/dist/chunks/{image-8wtp7s3z.js → mime-8wtp7s3z.js} +1 -1
- package/dist/chunks/{image-bqdeah0e.js → mime-904xv1p5.js} +21 -21
- package/dist/chunks/{image-e6v5qvkg.js → mime-90g6tx1j.js} +11 -11
- package/dist/chunks/{image-90zstvax.js → mime-90zstvax.js} +1 -1
- package/dist/chunks/{image-kag6nkv4.js → mime-91a9ea02.js} +19 -19
- package/dist/chunks/{image-pfz9gkfy.js → mime-91xttez3.js} +11 -11
- package/dist/chunks/{image-8nkb1bb0.js → mime-98sj2w4a.js} +21 -21
- package/dist/chunks/{image-39m5thjs.js → mime-9e3hvwnw.js} +32 -32
- package/dist/chunks/{image-6b5m6t85.js → mime-9esxa6rs.js} +13 -13
- package/dist/chunks/{image-m4rznpxk.js → mime-9kq27ct5.js} +275 -66
- package/dist/chunks/{image-3w0ntz8g.js → mime-9pf0pmfk.js} +9 -9
- package/dist/chunks/{image-znxs0qdf.js → mime-9wkv0v86.js} +27 -27
- package/dist/chunks/{image-ack5fry6.js → mime-9zk9amhx.js} +20 -20
- package/dist/chunks/{image-hp23tba8.js → mime-abne355d.js} +42 -42
- package/dist/chunks/{image-5f9y2yjb.js → mime-aes06p6b.js} +5 -5
- package/dist/chunks/{image-fskffsfd.js → mime-ajntjgfc.js} +15 -15
- package/dist/chunks/{image-9vmwptcj.js → mime-ape62p7n.js} +31 -31
- package/dist/chunks/{image-3kdbrncp.js → mime-avgzkss2.js} +5 -5
- package/dist/chunks/{image-ayjs7tqn.js → mime-ayjs7tqn.js} +2 -2
- package/dist/chunks/{image-qqyrafx2.js → mime-b4hen3e4.js} +7 -7
- package/dist/chunks/{image-b6vsg801.js → mime-b6vsg801.js} +2 -2
- package/dist/chunks/{image-32epp8e4.js → mime-bcyfntnp.js} +9 -9
- package/dist/chunks/{image-9sqzj7jg.js → mime-bgwcavjj.js} +9 -9
- package/dist/chunks/{image-5v2ww1a5.js → mime-bpyckyws.js} +13 -13
- package/dist/chunks/{image-v1zexmjw.js → mime-br6xvyb6.js} +18 -18
- package/dist/chunks/{image-2haa1nrw.js → mime-bvk25jmh.js} +4 -4
- package/dist/chunks/{image-1bf8edtk.js → mime-bx6g05dx.js} +13 -13
- package/dist/chunks/{image-penn2v67.js → mime-c3gnxtmm.js} +14 -14
- package/dist/chunks/{image-a4ww6fpm.js → mime-c4phwmq5.js} +6 -6
- package/dist/chunks/{image-8b714bza.js → mime-c4vfmmrn.js} +8 -8
- package/dist/chunks/{image-yc8ck43p.js → mime-c5q03pmb.js} +3 -3
- package/dist/chunks/{image-c6x7d2ts.js → mime-c6x7d2ts.js} +1 -1
- package/dist/chunks/{image-xcx6w6h2.js → mime-cpbq744t.js} +3 -3
- package/dist/chunks/{image-kee8ykx2.js → mime-crttzga9.js} +8 -8
- package/dist/chunks/{image-m528r48h.js → mime-cw43sd18.js} +4 -4
- package/dist/chunks/{image-cwrgdav8.js → mime-cwrgdav8.js} +2 -2
- package/dist/chunks/{image-6v2f7dvw.js → mime-czey47wt.js} +4 -4
- package/dist/chunks/{image-pebb1b2g.js → mime-d1zc5akg.js} +10 -10
- package/dist/chunks/{image-8ykqf5wm.js → mime-d390zwf3.js} +8 -8
- package/dist/chunks/{image-d4v9tmah.js → mime-d4v9tmah.js} +2 -2
- package/dist/chunks/{image-4hhk1wq5.js → mime-d64mgb0d.js} +33 -33
- package/dist/chunks/{image-xsvq7cjt.js → mime-d8p3t516.js} +4 -4
- package/dist/chunks/{image-q0f5tnzd.js → mime-dbqn72gh.js} +37 -37
- package/dist/chunks/{image-hmthv8g3.js → mime-ddb1fpa4.js} +18 -18
- package/dist/chunks/{image-em6jm62j.js → mime-de5ev1ss.js} +1 -1
- package/dist/chunks/{image-v4ntjfa2.js → mime-dgy529yc.js} +23 -23
- package/dist/chunks/{image-3rt29ewr.js → mime-dgzhj2a3.js} +17 -17
- package/dist/chunks/{image-azte55v6.js → mime-dja1b12h.js} +2 -2
- package/dist/chunks/{image-ag44vf4f.js → mime-dmbvkkjp.js} +8 -8
- package/dist/chunks/{image-1sd3wnkk.js → mime-dn75kjkt.js} +12 -12
- package/dist/chunks/{image-dt77769w.js → mime-dt77769w.js} +1 -1
- package/dist/chunks/{image-fy9mjtsj.js → mime-dt8yqcce.js} +20 -20
- package/dist/chunks/{image-e16ncx1j.js → mime-dtpswqs3.js} +25 -25
- package/dist/chunks/{image-rnm2nekc.js → mime-e11a9bx3.js} +3 -3
- package/dist/chunks/{image-e834z07m.js → mime-e834z07m.js} +1 -1
- package/dist/chunks/{image-dajrwvna.js → mime-ean2d8b5.js} +1 -1
- package/dist/chunks/{image-ntqnj75s.js → mime-ecgyc3nf.js} +4 -4
- package/dist/chunks/{image-8zgx0mk8.js → mime-eek85r7s.js} +19 -15
- package/dist/chunks/{image-4vb4pv6c.js → mime-ej397f02.js} +4 -4
- package/dist/chunks/{image-f1qxk96b.js → mime-ekd6nmzx.js} +36 -19
- package/dist/chunks/{image-ydsespw1.js → mime-enkpkfwx.js} +8 -8
- package/dist/chunks/{image-28yqhrns.js → mime-ew1cbhhw.js} +5 -5
- package/dist/chunks/{image-frevgasg.js → mime-f004ykrw.js} +25 -25
- package/dist/chunks/{image-3qcna5dk.js → mime-f0ay53g6.js} +3 -3
- package/dist/chunks/{image-86g1pe6q.js → mime-f1md2d8q.js} +17 -17
- package/dist/chunks/{image-qz9nzpv7.js → mime-fddcjhj2.js} +24 -24
- package/dist/chunks/{image-fffv3p7h.js → mime-fffv3p7h.js} +1 -1
- package/dist/chunks/{image-ahzw090p.js → mime-fg9n74ny.js} +17 -17
- package/dist/chunks/{image-fg9p65nk.js → mime-fg9p65nk.js} +2 -2
- package/dist/chunks/{image-vpfyxq3b.js → mime-fym7nwga.js} +24 -24
- package/dist/chunks/{image-eahpwh8e.js → mime-gd8sx287.js} +4 -4
- package/dist/chunks/{image-s9r9y5yp.js → mime-ghzabfw7.js} +15 -15
- package/dist/chunks/{image-hcc6p5a3.js → mime-gqwtxsn1.js} +5 -5
- package/dist/chunks/{image-x5jjnb31.js → mime-gw7tqdxz.js} +5 -5
- package/dist/chunks/{image-9grvd76r.js → mime-gy1k9bkm.js} +8 -8
- package/dist/chunks/{image-2xwjc3g5.js → mime-h2atfgt1.js} +8 -8
- package/dist/chunks/{image-f9vfey2v.js → mime-h3pj7a7m.js} +16 -16
- package/dist/chunks/{image-hxh3sdms.js → mime-h5060pr3.js} +11 -11
- package/dist/chunks/{image-8g8ajnhh.js → mime-h6sym59v.js} +9 -9
- package/dist/chunks/{image-bdsr3j33.js → mime-hbe771na.js} +17 -17
- package/dist/chunks/{image-zp19ebaj.js → mime-hbqfs0kq.js} +15 -15
- package/dist/chunks/{image-sm9ekc7r.js → mime-hcaakz9a.js} +9 -9
- package/dist/chunks/{image-hh7kjqtw.js → mime-hh7kjqtw.js} +1 -1
- package/dist/chunks/{image-njw1ekhc.js → mime-hj8ktf3x.js} +8 -8
- package/dist/chunks/{image-5sb780hn.js → mime-hk82q6eb.js} +12 -12
- package/dist/chunks/{image-zeytg9j8.js → mime-hkv8mm0v.js} +14 -14
- package/dist/chunks/{image-hpg1pkwy.js → mime-hpg1pkwy.js} +1 -1
- package/dist/chunks/{image-g6car740.js → mime-hw311zkt.js} +41 -41
- package/dist/chunks/{image-wwv5we4j.js → mime-hz5a1k95.js} +2 -2
- package/dist/chunks/{image-6m42rt11.js → mime-j8c8vpy0.js} +27 -27
- package/dist/chunks/{image-jfaecv01.js → mime-jfaecv01.js} +1 -1
- package/dist/chunks/{image-heqea18d.js → mime-jgmjv1sa.js} +27 -27
- package/dist/chunks/{image-k0e45ge6.js → mime-jjmhfyts.js} +11 -11
- package/dist/chunks/{image-kqjfhnyk.js → mime-jjv1q8d4.js} +12 -12
- package/dist/chunks/{image-jtnps1zs.js → mime-jtnps1zs.js} +2 -2
- package/dist/chunks/{image-qp7zbdnj.js → mime-jw5zbn3z.js} +40 -40
- package/dist/chunks/{image-1z3wvqve.js → mime-k4s79gcj.js} +9 -9
- package/dist/chunks/{image-k814nvkf.js → mime-k814nvkf.js} +1 -1
- package/dist/chunks/{image-j0y2j2y9.js → mime-k989ntyt.js} +12 -12
- package/dist/chunks/{image-zge8sn7n.js → mime-k9xb07cm.js} +2 -2
- package/dist/chunks/{image-zr9mjdac.js → mime-kdd90951.js} +71 -42
- package/dist/chunks/{image-rj53dkn5.js → mime-kehv92bx.js} +41 -41
- package/dist/chunks/{image-7f054j3n.js → mime-kewx5hse.js} +7 -7
- package/dist/chunks/{image-4tkxmvmj.js → mime-kk2a6haj.js} +8 -8
- package/dist/chunks/{image-51y3dyvd.js → mime-kpj4bnmp.js} +5 -5
- package/dist/chunks/{image-j36nge33.js → mime-kprjpmw6.js} +40 -28
- package/dist/chunks/{image-4mkdw68v.js → mime-ksxm71aw.js} +6 -6
- package/dist/chunks/{image-kt3bjfbg.js → mime-kt3bjfbg.js} +1 -1
- package/dist/chunks/{image-3y081v33.js → mime-kt9zkheb.js} +52 -52
- package/dist/chunks/{image-qeqspr7f.js → mime-kzcsdwss.js} +3 -3
- package/dist/chunks/{image-m1714858.js → mime-m1714858.js} +1 -1
- package/dist/chunks/{image-yhrdpjcs.js → mime-m6jwak7z.js} +13 -13
- package/dist/chunks/{image-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-mb7mbhnz.js → mime-mb7mbhnz.js} +3 -3
- package/dist/chunks/{image-fe7b6z6g.js → mime-mf0cbe1f.js} +17 -17
- package/dist/chunks/{image-mg356nz4.js → mime-mg356nz4.js} +3 -3
- package/dist/chunks/{image-7bcfrs2x.js → mime-mgvjndd7.js} +6 -6
- package/dist/chunks/{image-xxbr9jsf.js → mime-mpc1wbnc.js} +24 -24
- package/dist/chunks/{image-awtxj99r.js → mime-mpqhh0ff.js} +22 -22
- package/dist/chunks/{image-y6jzwgk6.js → mime-msj7tqt3.js} +8 -8
- package/dist/chunks/{image-z4vm3w9s.js → mime-mz88wxq7.js} +15 -15
- package/dist/chunks/{image-nah043kf.js → mime-nah043kf.js} +1 -1
- package/dist/chunks/{image-4x8zw6t1.js → mime-nf5vm8zn.js} +6 -6
- package/dist/chunks/{image-gacpt71r.js → mime-nj6nnwwx.js} +30 -30
- package/dist/chunks/{image-wec13qf8.js → mime-njqr3cdm.js} +11 -11
- package/dist/chunks/{image-89embc53.js → mime-nym9wyb3.js} +6 -6
- package/dist/chunks/{image-p015t6z3.js → mime-p015t6z3.js} +2 -2
- package/dist/chunks/{image-q5gscbn2.js → mime-p36gpr4j.js} +5 -5
- package/dist/chunks/{image-1yq9hg58.js → mime-p7vhpwh8.js} +5 -5
- package/dist/chunks/{image-b0nx2azr.js → mime-p87480bx.js} +6 -6
- package/dist/chunks/{image-h3pnxjmh.js → mime-pcc4d2n5.js} +9 -9
- package/dist/chunks/{image-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{image-67xt1syw.js → mime-q5654s0t.js} +21 -21
- package/dist/chunks/{image-7x8d5pk9.js → mime-q5fg6nv3.js} +65 -45
- package/dist/chunks/{image-c2az2pbz.js → mime-q8jvga0v.js} +23 -23
- package/dist/chunks/{image-3ajqprdg.js → mime-qatgy48x.js} +32 -32
- package/dist/chunks/{image-mj7659ab.js → mime-qevqwm2d.js} +26 -26
- package/dist/chunks/{image-3gst0kgm.js → mime-qkevpenz.js} +12 -12
- package/dist/chunks/{image-m409210a.js → mime-qnt4yn7k.js} +5 -5
- package/dist/chunks/{image-qp7r0hxv.js → mime-qp7r0hxv.js} +1 -1
- package/dist/chunks/{image-qqvy8y24.js → mime-qqvy8y24.js} +1 -1
- package/dist/chunks/{image-25f6p34y.js → mime-qsawh7eg.js} +27 -27
- package/dist/chunks/{image-pd4ndcwr.js → mime-qx2f3s6n.js} +16 -16
- package/dist/chunks/{image-89ycw09x.js → mime-r1b7wght.js} +23 -23
- package/dist/chunks/{image-r542h3bh.js → mime-r542h3bh.js} +1 -1
- package/dist/chunks/{image-rb9dy4dg.js → mime-rb9dy4dg.js} +1 -1
- package/dist/chunks/{image-rt5dr6hb.js → mime-rt5dr6hb.js} +1 -1
- package/dist/chunks/{image-wpv0pemx.js → mime-s4fkafj4.js} +2 -2
- package/dist/chunks/{image-sa3fpqfw.js → mime-sa3fpqfw.js} +2 -2
- package/dist/chunks/{image-bhdy8mdp.js → mime-sdvfaqjv.js} +26 -26
- package/dist/chunks/mime-sefdxvs5.js +113 -0
- package/dist/chunks/{image-qcsh9g2y.js → mime-sg2p3jg1.js} +9 -9
- package/dist/chunks/{image-xpryaxy7.js → mime-sj7qk1wq.js} +17 -17
- package/dist/chunks/{image-9b00c1fb.js → mime-sqbb0ctm.js} +5 -5
- package/dist/chunks/{image-sqjzf8x2.js → mime-sqjzf8x2.js} +1 -1
- package/dist/chunks/{image-c9t2ty9q.js → mime-ssfehs1z.js} +4 -4
- package/dist/chunks/{image-qgfkghh1.js → mime-stkk57rt.js} +4 -0
- package/dist/chunks/{image-svcy3p9a.js → mime-svcy3p9a.js} +1 -1
- package/dist/chunks/mime-t03h4f5z.js +16 -0
- package/dist/chunks/{image-59few21w.js → mime-t6t8h010.js} +36 -36
- package/dist/chunks/{image-tczq8hjw.js → mime-tczq8hjw.js} +1 -1
- package/dist/chunks/{image-3jrww01t.js → mime-tdjh7w66.js} +45 -45
- package/dist/chunks/{image-q4jmz9te.js → mime-tr6n2pd7.js} +22 -22
- package/dist/chunks/{image-de8e9e1p.js → mime-tspwpfmw.js} +3 -3
- package/dist/chunks/{image-6r8yaq0c.js → mime-tt26s4vq.js} +8 -8
- package/dist/chunks/{image-twssxy5n.js → mime-twssxy5n.js} +2 -2
- package/dist/chunks/{image-v2r1d0zg.js → mime-v2r1d0zg.js} +1 -1
- package/dist/chunks/{image-j1k7c27p.js → mime-v4g74xq2.js} +16 -16
- package/dist/chunks/{image-9f3sjfep.js → mime-v7a0snhq.js} +9 -9
- package/dist/chunks/{image-c44160y8.js → mime-vf16q2b1.js} +6 -6
- package/dist/chunks/{image-5v3yzjvk.js → mime-vh5h3cx2.js} +35 -35
- package/dist/chunks/{image-g7esga4v.js → mime-vmfhgzt5.js} +5 -5
- package/dist/chunks/{image-jcqm84fr.js → mime-vrcsa8qx.js} +9 -9
- package/dist/chunks/{image-26x8chrq.js → mime-vzppetdn.js} +6 -6
- package/dist/chunks/{image-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-816kk8rv.js → mime-w4ykgd89.js} +13 -7
- package/dist/chunks/{image-6khf956j.js → mime-w81tm3vv.js} +17 -17
- package/dist/chunks/{image-wakvkjy4.js → mime-wakvkjy4.js} +1 -1
- package/dist/chunks/{image-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{image-fypmhnps.js → mime-wegkxhrn.js} +6 -2
- package/dist/chunks/{image-wnhgecwx.js → mime-wnhgecwx.js} +1 -1
- package/dist/chunks/{image-q4zyxfy7.js → mime-wwgpyqzb.js} +5 -5
- package/dist/chunks/{image-5cdcvw12.js → mime-x2kc3zfh.js} +5 -5
- package/dist/chunks/{image-5y4p2mbw.js → mime-x3a4n8aj.js} +14 -14
- package/dist/chunks/{image-bn6dytgp.js → mime-x6tax50b.js} +6 -6
- package/dist/chunks/{image-4eqwcsj2.js → mime-x7qkck9a.js} +15 -15
- package/dist/chunks/{image-n1c40vny.js → mime-xcmevbrr.js} +3 -3
- package/dist/chunks/{image-bstexjd6.js → mime-xd9cc171.js} +5 -5
- package/dist/chunks/{image-xk2zn0cv.js → mime-xk2zn0cv.js} +1 -1
- package/dist/chunks/{image-92zdzejd.js → mime-xmcerbsc.js} +18 -18
- package/dist/chunks/{image-k9zkdd2y.js → mime-xp4cjnvy.js} +20 -10
- package/dist/chunks/{image-2skrxz14.js → mime-xqpnzpk3.js} +16 -16
- package/dist/chunks/{image-47tv8dfp.js → mime-xr2mnjhn.js} +15 -15
- package/dist/chunks/{image-ha1g65f2.js → mime-y24rddh5.js} +11 -11
- package/dist/chunks/{image-9ztt5qj6.js → mime-y2bdgeyh.js} +3 -3
- package/dist/chunks/{image-wxae8jq7.js → mime-y3a4nh1w.js} +19 -19
- package/dist/chunks/{image-nz92z2sf.js → mime-ya13x5xa.js} +18 -18
- package/dist/chunks/{image-yara3q77.js → mime-yara3q77.js} +2 -2
- package/dist/chunks/{image-yb20nhc3.js → mime-yb20nhc3.js} +1 -1
- package/dist/chunks/{image-0tdbgf6t.js → mime-ych9pyce.js} +23 -23
- package/dist/chunks/{image-t2rnpzgv.js → mime-ykcxy4jb.js} +18 -18
- package/dist/chunks/{image-4c3xmdam.js → mime-ys5ht53z.js} +38 -38
- package/dist/chunks/{image-3t9dgkdy.js → mime-yvg33581.js} +11 -11
- package/dist/chunks/{image-h4p3pyf8.js → mime-z2dgfpsc.js} +6 -6
- package/dist/chunks/{image-58d281yc.js → mime-z6b5kr5f.js} +24 -24
- package/dist/chunks/mime-z8xs1n5t.js +222 -0
- package/dist/chunks/{image-e4v2mgyj.js → mime-zba90nwx.js} +10 -10
- package/dist/chunks/{image-qqsnbxa9.js → mime-zcf14pnt.js} +4 -4
- package/dist/chunks/{image-seap89fc.js → mime-zeba2tf9.js} +11 -11
- package/dist/chunks/{image-d8pnfqg9.js → mime-zeg6dwe8.js} +28 -28
- package/dist/chunks/{image-0hq318p0.js → mime-zfvpppwm.js} +16 -16
- package/dist/chunks/{image-n0ekdz40.js → mime-zjqm9jqg.js} +32 -32
- package/dist/chunks/{image-dxw797sb.js → mime-ztytxe50.js} +8 -8
- package/dist/chunks/{image-tkm3ck5b.js → mime-zw960apb.js} +328 -328
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +91 -90
- package/dist/config/discovery.js +94 -93
- package/dist/config/integration.js +11 -7
- package/dist/config/managed.js +8 -0
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -110
- package/dist/config/plugin/agent.js +129 -124
- package/dist/config/plugin/command.js +226 -222
- package/dist/config/plugin/compaction.js +169 -165
- package/dist/config/plugin/compatibility.js +149 -145
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -125
- package/dist/config/plugin/image.js +129 -124
- package/dist/config/plugin/instruction.js +129 -124
- package/dist/config/plugin/location-watcher.js +131 -126
- package/dist/config/plugin/mcp.js +134 -129
- package/dist/config/plugin/policy.js +129 -126
- package/dist/config/plugin/provider.js +129 -125
- package/dist/config/plugin/reference.js +131 -126
- package/dist/config/plugin/shell.js +129 -124
- package/dist/config/plugin/skill-file.js +145 -141
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +150 -146
- package/dist/config/plugin/snapshot.js +127 -122
- package/dist/config/plugin/source.js +132 -127
- package/dist/config/plugin/tool-output.js +130 -125
- package/dist/config/plugin/websearch.js +128 -123
- package/dist/config/plugin/worktree.js +131 -126
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -129
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -82
- package/dist/database/database.js +76 -75
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +6 -0
- package/dist/database/migration.gen.js +59 -58
- package/dist/database/migration.js +61 -60
- 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 +99 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +391 -388
- 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 +105 -104
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -106
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +80 -79
- package/dist/file-access.js +155 -151
- package/dist/file-mutation.js +106 -105
- 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/file-watch.js +87 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +241 -237
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -110
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -115
- package/dist/form.js +80 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -98
- package/dist/generate.js +119 -118
- package/dist/git.js +11 -11
- 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 +111 -110
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +382 -379
- package/dist/instruction-discovery.js +92 -91
- package/dist/instructions/builtins.js +99 -98
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -86
- package/dist/job.js +88 -87
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -82
- package/dist/location-activity.js +170 -166
- package/dist/location-lifecycle.js +149 -145
- package/dist/location-service-map.js +98 -97
- package/dist/location-services.js +379 -376
- package/dist/location.js +97 -96
- package/dist/managed-policy.js +11 -3
- package/dist/mcp/client.js +103 -102
- package/dist/mcp/index.js +115 -114
- package/dist/mcp/instructions.js +175 -171
- package/dist/mcp/oauth.js +85 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -101
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +111 -110
- package/dist/model-resolver.js +111 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +112 -111
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +90 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -146
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +100 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -84
- package/dist/plugin/agent.js +84 -83
- package/dist/plugin/command.js +112 -111
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +234 -230
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +358 -349
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -108
- package/dist/plugin/module.js +128 -126
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +145 -141
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -102
- package/dist/plugin/provider/azure.js +129 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -124
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -122
- package/dist/plugin/provider/configured.js +125 -120
- package/dist/plugin/provider/credential-settings.js +84 -83
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -104
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -106
- package/dist/plugin/provider/gitlab.js +106 -105
- package/dist/plugin/provider/google-vertex.js +126 -121
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -87
- package/dist/plugin/provider/lmstudio.js +138 -133
- package/dist/plugin/provider/local.js +135 -130
- package/dist/plugin/provider/modal.js +104 -103
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -133
- package/dist/plugin/provider/openai-context-caps.js +102 -101
- package/dist/plugin/provider/openai.js +129 -124
- package/dist/plugin/provider/opencode.js +131 -127
- package/dist/plugin/provider/openrouter.js +103 -102
- package/dist/plugin/provider/poe.js +89 -88
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -102
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -123
- package/dist/plugin/provider/vllm.js +138 -133
- package/dist/plugin/provider/xai.js +103 -102
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +179 -175
- package/dist/plugin/sdk.js +86 -85
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +146 -142
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +370 -367
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -97
- package/dist/plugin/vcs/hg.js +98 -97
- package/dist/plugin/verbosity.js +105 -104
- package/dist/plugin/warming.js +127 -122
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +237 -233
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +96 -95
- package/dist/provider.js +109 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +102 -101
- package/dist/reference/instructions.js +100 -99
- package/dist/reference.js +100 -99
- package/dist/repository-cache.js +92 -91
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -108
- package/dist/rpc.js +98 -97
- package/dist/schedule/check.js +251 -0
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -227
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +130 -125
- package/dist/session/command.js +84 -83
- package/dist/session/compaction.js +171 -167
- package/dist/session/context.js +195 -191
- package/dist/session/diff.js +100 -99
- 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 +236 -232
- package/dist/session/execution.js +159 -155
- package/dist/session/generate.js +197 -193
- package/dist/session/history.js +135 -130
- package/dist/session/inbox.js +146 -141
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -135
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +162 -158
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -159
- package/dist/session/projector.js +142 -137
- package/dist/session/prompt.js +147 -143
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -133
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +246 -242
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -111
- package/dist/session/runner/publish-llm-event.js +148 -144
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +161 -157
- package/dist/session/runner/to-llm-message.js +136 -131
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -175
- package/dist/session/shell.js +143 -138
- package/dist/session/skill.js +148 -144
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +83 -82
- package/dist/session/store.js +141 -136
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +226 -222
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +199 -195
- package/dist/session/to-session-error.js +147 -143
- package/dist/session/transfer.js +233 -229
- package/dist/session/usage.js +1 -1
- package/dist/session.js +232 -228
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +143 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +148 -144
- package/dist/skill.js +153 -149
- package/dist/snapshot.js +101 -100
- 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 +172 -168
- package/dist/tool/plugin/edit.js +163 -159
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +161 -157
- package/dist/tool/plugin/grep.js +167 -163
- package/dist/tool/plugin/image-generate.js +234 -230
- package/dist/tool/plugin/mcp-resource.js +159 -155
- package/dist/tool/plugin/opencode.js +160 -156
- package/dist/tool/plugin/patch.js +165 -161
- package/dist/tool/plugin/question.js +145 -141
- package/dist/tool/plugin/read.js +168 -164
- package/dist/tool/plugin/schedule.js +242 -222
- package/dist/tool/plugin/shell.js +229 -225
- package/dist/tool/plugin/skill.js +154 -150
- package/dist/tool/plugin/subagent.js +233 -229
- package/dist/tool/plugin/todo.js +150 -146
- package/dist/tool/plugin/webfetch.js +154 -150
- package/dist/tool/plugin/websearch.js +152 -148
- package/dist/tool/plugin/write.js +165 -161
- package/dist/tool/read-filesystem.js +112 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +16 -16
- package/dist/types/config/integration.d.ts +29 -7
- package/dist/types/config/managed.d.ts +10 -0
- package/dist/types/config/plugin/policy.d.ts +4 -1
- package/dist/types/database/migration/20261029165540_schedule_checks.d.ts +3 -0
- package/dist/types/managed-policy.d.ts +16 -2
- package/dist/types/permission.d.ts +10 -0
- package/dist/types/persistent-pty/index.d.ts +7 -1
- package/dist/types/schedule/check.d.ts +46 -0
- package/dist/types/schedule/sql.d.ts +75 -1
- package/dist/types/schedule.d.ts +4 -147
- package/dist/types/tool/plugin/schedule.d.ts +28 -1
- package/dist/types/websearch.d.ts +2 -0
- package/dist/usage-limits.js +99 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +3 -3
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +6 -6
- package/dist/v1/config/migrate.js +104 -103
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +103 -102
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +99 -98
- package/dist/voice.js +94 -93
- package/dist/websearch.js +94 -93
- package/dist/wellknown/plugin.js +86 -85
- package/dist/wellknown.js +89 -88
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -100
- package/dist/worktree.js +108 -107
- package/package.json +9 -9
- package/dist/chunks/image-4tpjns74.js +0 -76
- package/dist/chunks/image-n4r6va5a.js +0 -257
- package/dist/chunks/image-ymz7p2c9.js +0 -31
- package/dist/chunks/image-zx247qgx.js +0 -26
- /package/dist/chunks/{image-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kah00gy.js → mime-1kah00gy.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2bv980vf.js → mime-2bv980vf.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5w3e23ze.js → mime-5w3e23ze.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{image-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-7stb81gk.js → mime-7stb81gk.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{image-84wd9syh.js → mime-84wd9syh.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a058387c.js → mime-a058387c.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-beh6qq61.js → mime-beh6qq61.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cqv5kn06.js → mime-cqv5kn06.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fkpq3x5p.js → mime-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jwr30sdr.js → mime-jwr30sdr.js} +0 -0
- /package/dist/chunks/{image-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-m18g726c.js → mime-m18g726c.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-ncqqe42p.js → mime-ncqqe42p.js} +0 -0
- /package/dist/chunks/{image-nh4v3znn.js → mime-nh4v3znn.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-p71gwv9c.js → mime-p71gwv9c.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-ty7weeps.js → mime-ty7weeps.js} +0 -0
- /package/dist/chunks/{image-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./mime-bx6g05dx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID13,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-7q3qfmpr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service72
|
|
10
|
+
} from "./mime-kdd90951.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service53
|
|
13
|
+
} from "./mime-r1b7wght.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-0h8y3ex8.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-x6tax50b.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service72;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service53);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service78);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID13.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service72
|
|
7
|
+
} from "./mime-kdd90951.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service53
|
|
13
|
+
} from "./mime-r1b7wght.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service63
|
|
16
|
+
} from "./mime-69nya0q4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service66
|
|
19
|
+
} from "./mime-q5fg6nv3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service19,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-fym7nwga.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service77,
|
|
32
32
|
name17
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-y3a4nh1w.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError8,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service51
|
|
37
|
+
} from "./mime-kehv92bx.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./mime-1hma5w09.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./mime-vf16q2b1.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./mime-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: () => Input12,
|
|
53
|
+
Plugin: () => Plugin51,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name12 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
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.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input12 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
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."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin51 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service24;
|
|
124
|
+
const jobs = yield* Service63;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service53;
|
|
127
|
+
const access = yield* Service19;
|
|
128
|
+
const shell = yield* Service51;
|
|
129
|
+
const shellSelect = yield* Service77;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service66;
|
|
132
|
+
const config = yield* Service72;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin45 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name12,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin45 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name12,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input12,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name12,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name12];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin51, exports_shell2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-11hfp36g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-1kmbt0nq.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-gqwtxsn1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service78,
|
|
15
15
|
node82
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-bx6g05dx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service53,
|
|
19
|
+
node57
|
|
20
|
+
} from "./mime-r1b7wght.js";
|
|
21
21
|
import {
|
|
22
22
|
ID19,
|
|
23
23
|
Service85,
|
|
24
24
|
node89
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./mime-hz5a1k95.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-204s3925.js";
|
|
30
30
|
import {
|
|
31
31
|
ID17,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service83,
|
|
34
34
|
node87
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./mime-nf5vm8zn.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./mime-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service36,
|
|
53
53
|
Status: () => Status3,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured3,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer17,
|
|
57
|
+
node: () => node39
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -104,7 +104,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service36 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
109
|
var Options3 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -112,9 +112,9 @@ var Options3 = Schema.Struct({
|
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
115
|
+
var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service78;
|
|
117
|
+
const environment = yield* Service53;
|
|
118
118
|
const bus = yield* Service86;
|
|
119
119
|
const forms = yield* Service85;
|
|
120
120
|
const integration = yield* Service83;
|
|
@@ -272,7 +272,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service53, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service53, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -478,7 +478,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service36.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -613,12 +613,12 @@ function mergeCatalogs(catalogs) {
|
|
|
613
613
|
}
|
|
614
614
|
function configured3(options) {
|
|
615
615
|
return makeLocationNode({
|
|
616
|
-
service:
|
|
617
|
-
layer:
|
|
618
|
-
deps: [node82,
|
|
616
|
+
service: Service36,
|
|
617
|
+
layer: layer17(options),
|
|
618
|
+
deps: [node82, node57, node90, node89, node87, node88]
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
var
|
|
621
|
+
var node39 = configured3();
|
|
622
622
|
function toElicitationField(key, property, required) {
|
|
623
623
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
624
624
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
672
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service36, Options3, layer17, configured3, node39, exports_mcp4 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-91xttez3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-1kmbt0nq.js";
|
|
7
7
|
import {
|
|
8
8
|
ID18,
|
|
9
9
|
OAuth3,
|
|
10
10
|
Event19
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-gqwtxsn1.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-xk2zn0cv.js";
|
|
15
15
|
import {
|
|
16
16
|
ID17,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-nf5vm8zn.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
ID14
|
|
22
|
+
} from "./mime-45xte6ee.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
Remote3,
|
|
25
|
+
Document3,
|
|
26
|
+
make22
|
|
27
|
+
} from "./mime-xp4cjnvy.js";
|
|
26
28
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
make11
|
|
30
|
-
} from "./image-k9zkdd2y.js";
|
|
29
|
+
Service72
|
|
30
|
+
} from "./mime-kdd90951.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-eek85r7s.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./mime-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
ID5,
|
|
41
|
+
Input15,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./mime-1dtbfpzr.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -159,7 +159,7 @@ var OpencodePlugin2 = define({
|
|
|
159
159
|
const bus = yield* Service86;
|
|
160
160
|
const client = yield* HttpClient.HttpClient;
|
|
161
161
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
162
|
-
const config = yield*
|
|
162
|
+
const config = yield* Service72;
|
|
163
163
|
const scope = yield* Scope.Scope;
|
|
164
164
|
const loading = Semaphore.makeUnsafe(1);
|
|
165
165
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -196,10 +196,10 @@ var OpencodePlugin2 = define({
|
|
|
196
196
|
let integrated;
|
|
197
197
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
198
198
|
yield* config.integration?.(ID17.make("opencode"), document) ?? Effect.void;
|
|
199
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof
|
|
199
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID17.make("opencode"));
|
|
200
200
|
});
|
|
201
201
|
const publish = Effect.fnUntraced(function* (next) {
|
|
202
|
-
yield* integrate(next.remote && next.connection &&
|
|
202
|
+
yield* integrate(next.remote && next.connection && make22({
|
|
203
203
|
integrationID: ID17.make("opencode"),
|
|
204
204
|
connection: next.connection.type === "credential" ? { ...next.connection, id: ID18.make(next.connection.id) } : next.connection,
|
|
205
205
|
organization: next.organization,
|
|
@@ -221,7 +221,7 @@ var OpencodePlugin2 = define({
|
|
|
221
221
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
222
222
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
223
223
|
const server = yield* normalizeServer(server2(credential));
|
|
224
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
224
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
225
225
|
query: input.query,
|
|
226
226
|
providerID
|
|
227
227
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
integrate2(providers, integrated);
|
|
250
250
|
});
|
|
251
251
|
yield* ctx.provider.transform((providers) => {
|
|
252
|
-
const item = providers.get(
|
|
252
|
+
const item = providers.get(ID14.opencode);
|
|
253
253
|
if (!item)
|
|
254
254
|
return;
|
|
255
255
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -261,7 +261,7 @@ var OpencodePlugin2 = define({
|
|
|
261
261
|
});
|
|
262
262
|
});
|
|
263
263
|
yield* ctx.model.transform((models) => {
|
|
264
|
-
const item = models.provider.get(
|
|
264
|
+
const item = models.provider.get(ID14.opencode);
|
|
265
265
|
if (!item)
|
|
266
266
|
return;
|
|
267
267
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -276,7 +276,7 @@ var OpencodePlugin2 = define({
|
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
278
|
yield* ctx.websearch.transform((editor) => {
|
|
279
|
-
const provider =
|
|
279
|
+
const provider = ID5.make("opencode");
|
|
280
280
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
281
281
|
editor.add(search(provider, snapshot.connection));
|
|
282
282
|
});
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
316
316
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
317
317
|
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
318
|
-
|
|
318
|
+
ID14.opencode,
|
|
319
319
|
...Object.keys(next.remote?.providers ?? {})
|
|
320
320
|
]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
321
321
|
});
|
|
@@ -350,7 +350,7 @@ function fetchConfig(http, value) {
|
|
|
350
350
|
});
|
|
351
351
|
}
|
|
352
352
|
const body = yield* HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap((ok) => ok.json));
|
|
353
|
-
return yield* Schema.decodeUnknownEffect(
|
|
353
|
+
return yield* Schema.decodeUnknownEffect(Remote3)(body);
|
|
354
354
|
})), Effect.scoped);
|
|
355
355
|
}
|
|
356
356
|
function ssoUrl(server, connectionID) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-1kmbt0nq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./mime-bx6g05dx.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service36
|
|
10
|
+
} from "./mime-j8c8vpy0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin30
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin30 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service78;
|
|
200
|
+
const mcp = yield* Service36;
|
|
201
201
|
const bus = yield* Service86;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin30, exports_command2 };
|