@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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
nativeSettings2,
|
|
6
6
|
timeouts2,
|
|
7
7
|
mergeOverlay2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-45xte6ee.js";
|
|
9
9
|
import {
|
|
10
10
|
stringify2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-7stb81gk.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/aisdk.ts
|
|
17
17
|
var exports_aisdk = {};
|
|
18
18
|
__export(exports_aisdk, {
|
|
19
19
|
AISDK: () => exports_aisdk,
|
|
20
20
|
InitError: () => InitError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service65,
|
|
22
22
|
locationLayer: () => locationLayer2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node69
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -153,7 +153,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
153
153
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
154
154
|
|
|
155
155
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
156
|
-
providerID:
|
|
156
|
+
providerID: ID14,
|
|
157
157
|
cause: Schema.Defect()
|
|
158
158
|
}) {
|
|
159
159
|
}
|
|
@@ -161,9 +161,9 @@ function initError(providerID) {
|
|
|
161
161
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class Service65 extends Context.Service()("@opencode/AISDK") {
|
|
165
165
|
}
|
|
166
|
-
var locationLayer2 = Layer.effect(
|
|
166
|
+
var locationLayer2 = Layer.effect(Service65, Effect.gen(function* () {
|
|
167
167
|
let sdkHooks = [];
|
|
168
168
|
let languageHooks = [];
|
|
169
169
|
const languages = new Map;
|
|
@@ -201,7 +201,7 @@ var locationLayer2 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
201
201
|
}
|
|
202
202
|
return event;
|
|
203
203
|
});
|
|
204
|
-
const service =
|
|
204
|
+
const service = Service65.of({
|
|
205
205
|
hook: {
|
|
206
206
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
207
207
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -863,6 +863,6 @@ function providerErrorMessage(error) {
|
|
|
863
863
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
864
864
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
865
865
|
}
|
|
866
|
-
var
|
|
866
|
+
var node69 = makeLocationNode({ service: Service65, layer: locationLayer2, deps: [] });
|
|
867
867
|
|
|
868
|
-
export { InitError2,
|
|
868
|
+
export { InitError2, Service65, locationLayer2, node69, exports_aisdk };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-1kmbt0nq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./mime-7qrckcvm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error4
|
|
9
|
+
} from "./mime-qsawh7eg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./mime-sg2p3jg1.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-z2dgfpsc.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-w4ykgd89.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-r542h3bh.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-y2bdgeyh.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-vzppetdn.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service86;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service37;
|
|
58
|
+
const toolOutput = yield* Service57;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make9 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error4({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -223,4 +223,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
223
223
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
224
224
|
};
|
|
225
225
|
|
|
226
|
-
export { Outcome2,
|
|
226
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./mime-bx6g05dx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./mime-r1b7wght.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service46
|
|
15
|
+
} from "./mime-ykcxy4jb.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-ape62p7n.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service66
|
|
24
|
+
} from "./mime-q5fg6nv3.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service19
|
|
27
|
+
} from "./mime-fym7nwga.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
@@ -35,9 +35,9 @@ __export(exports_glob, {
|
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
36
|
Input: () => Input3,
|
|
37
37
|
Output: () => Output3,
|
|
38
|
-
Plugin: () =>
|
|
38
|
+
Plugin: () => Plugin40,
|
|
39
39
|
name: () => name3,
|
|
40
|
-
toModelContent: () =>
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
@@ -56,21 +56,21 @@ var Input3 = Schema.Struct({
|
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
58
|
var Output3 = Schema.Array(Entry2);
|
|
59
|
-
var
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin40 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service53;
|
|
70
|
+
const ripgrep = yield* Service46;
|
|
71
|
+
const location = yield* Service78;
|
|
72
|
+
const access = yield* Service19;
|
|
73
|
+
const permission = yield* Service66;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
75
|
name: name3,
|
|
76
76
|
options: { codemode: false },
|
|
@@ -118,11 +118,11 @@ var Plugin39 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { name3, Input3, Output3,
|
|
128
|
+
export { name3, Input3, Output3, toModelContent2, Plugin40, exports_glob };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-4thnqhg3.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-tspwpfmw.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./mime-r1b7wght.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service53;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,42 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-45xte6ee.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-7q3qfmpr.js";
|
|
8
|
+
import {
|
|
9
|
+
Document3
|
|
10
|
+
} from "./mime-xp4cjnvy.js";
|
|
11
|
+
import {
|
|
12
|
+
Document2
|
|
13
|
+
} from "./mime-4dx1dgte.js";
|
|
8
14
|
import {
|
|
9
15
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
16
|
+
Service72
|
|
17
|
+
} from "./mime-kdd90951.js";
|
|
12
18
|
import {
|
|
13
19
|
supports2,
|
|
14
20
|
resolve2
|
|
15
|
-
} from "./
|
|
16
|
-
import {
|
|
17
|
-
Document2
|
|
18
|
-
} from "./image-k9zkdd2y.js";
|
|
21
|
+
} from "./mime-cpbq744t.js";
|
|
19
22
|
import {
|
|
20
23
|
observe2
|
|
21
|
-
} from "./
|
|
24
|
+
} from "./mime-hpg1pkwy.js";
|
|
22
25
|
import {
|
|
23
26
|
__export
|
|
24
|
-
} from "./
|
|
27
|
+
} from "./mime-9rqn6x4v.js";
|
|
25
28
|
|
|
26
29
|
// src/config/plugin/provider.ts
|
|
27
30
|
var exports_provider = {};
|
|
28
31
|
__export(exports_provider, {
|
|
29
32
|
ConfigProviderPlugin: () => exports_provider,
|
|
30
|
-
Plugin: () =>
|
|
33
|
+
Plugin: () => Plugin28,
|
|
31
34
|
integrate: () => integrate2
|
|
32
35
|
});
|
|
33
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
34
37
|
import { Money } from "@opencode/schema/money";
|
|
35
38
|
import { Effect } from "effect";
|
|
36
|
-
var
|
|
39
|
+
var Plugin28 = define({
|
|
37
40
|
id: "opencode.config.provider",
|
|
38
41
|
effect: Effect.fn(function* (ctx) {
|
|
39
|
-
const config = yield*
|
|
42
|
+
const config = yield* Service72;
|
|
40
43
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
41
44
|
yield* ctx.integration.transform((integrations) => {
|
|
42
45
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -128,7 +131,8 @@ var Plugin32 = define({
|
|
|
128
131
|
})
|
|
129
132
|
});
|
|
130
133
|
function configuredProviders(entries) {
|
|
131
|
-
|
|
134
|
+
const supplied = new Set(entries.filter((entry) => entry instanceof Document3).flatMap((document) => Object.keys(document.info.providers ?? {})));
|
|
135
|
+
return entries.filter((entry) => entry.type === "document" && !(entry instanceof Document3)).flatMap((file) => Object.entries(file.info.providers ?? {}).filter(([id]) => !supplied.has(id) || file instanceof Document2));
|
|
132
136
|
}
|
|
133
137
|
function integrate2(providers, document) {
|
|
134
138
|
for (const [providerID, item] of Object.entries(document.info.providers ?? {})) {
|
|
@@ -249,4 +253,4 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
|
|
|
249
253
|
});
|
|
250
254
|
}
|
|
251
255
|
|
|
252
|
-
export {
|
|
256
|
+
export { Plugin28, integrate2, exports_provider };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-hkv8mm0v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make6 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make5 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make6();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service72
|
|
4
|
+
} from "./mime-kdd90951.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
|
+
Condition2,
|
|
9
10
|
ID2,
|
|
11
|
+
Outcome3,
|
|
10
12
|
Request2,
|
|
11
|
-
When2,
|
|
12
13
|
Status2,
|
|
13
|
-
Outcome3,
|
|
14
14
|
toCreateInput2,
|
|
15
|
+
When2,
|
|
15
16
|
NotFoundError2,
|
|
16
17
|
DisabledError2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
18
|
+
Service16
|
|
19
|
+
} from "./mime-9kq27ct5.js";
|
|
19
20
|
import {
|
|
20
21
|
__export
|
|
21
|
-
} from "./
|
|
22
|
+
} from "./mime-9rqn6x4v.js";
|
|
22
23
|
|
|
23
24
|
// src/tool/plugin/schedule.ts
|
|
24
25
|
var exports_schedule = {};
|
|
25
26
|
__export(exports_schedule, {
|
|
26
27
|
IDInput: () => IDInput2,
|
|
27
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin38,
|
|
28
29
|
ScheduleTools: () => exports_schedule,
|
|
29
30
|
View: () => View2
|
|
30
31
|
});
|
|
@@ -33,7 +34,7 @@ import { optional } from "@opencode/schema/schema";
|
|
|
33
34
|
import { DateTime, Effect, Option, Schema } from "effect";
|
|
34
35
|
|
|
35
36
|
// src/plugin/command/schedule.txt
|
|
36
|
-
var schedule_default = 'Manage scheduled prompts for this session.\n\nRequest: $ARGUMENTS\n\nUse the schedule tools in the `opencode` namespace. They only see this session\'s schedules.\n\n- To schedule something, call `schedule_create`. Choose
|
|
37
|
+
var schedule_default = 'Manage scheduled prompts for this session.\n\nRequest: $ARGUMENTS\n\nUse the schedule tools in the `opencode` namespace. They only see this session\'s schedules.\n\n- To schedule something, call `schedule_create`. Choose `when` (`{ in: "20 minutes" }`, `{ at: "2026-10-27T09:00" }`, `{ every: "1 hour" }` or `{ cron: "0 9 * * 1-5" }`, optional with `until` which defaults to every 30s). Add `until: { run: "..." }` to wait once for a shell condition (exit 0, `is`, `matches`, or `changes: true`, defaulting to a 24h timeout), or `if: { run: "..." }` to gate each recurring slot without a model call. To stop a repeating schedule, add `ends`: `{ after: "8 hours" }`, `{ at: "..." }` or `{ times: 3 }`. Write `prompt` as the instruction you will receive when it wakes, with enough context to act on it without this conversation.\n- To pause, resume or delete one, find its id with `schedule_list`, then call `schedule_pause`, `schedule_resume` or `schedule_delete`.\n- If the request is empty, call `schedule_list` and show this session\'s schedules: name, when, status and next run.\n\nReply in one line: what changed and when it next fires.\n';
|
|
37
38
|
|
|
38
39
|
// src/tool/plugin/schedule.ts
|
|
39
40
|
var View2 = Schema.Struct({
|
|
@@ -41,6 +42,8 @@ var View2 = Schema.Struct({
|
|
|
41
42
|
name: Schema.String.pipe(optional),
|
|
42
43
|
when: When2,
|
|
43
44
|
tz: Schema.String,
|
|
45
|
+
if: Condition2.pipe(optional),
|
|
46
|
+
until: Condition2.pipe(optional),
|
|
44
47
|
prompt: Schema.String,
|
|
45
48
|
status: Status2,
|
|
46
49
|
nextDueAt: Schema.String.pipe(optional),
|
|
@@ -48,7 +51,8 @@ var View2 = Schema.Struct({
|
|
|
48
51
|
remainingRuns: Schema.Number.pipe(optional),
|
|
49
52
|
runCount: Schema.Number,
|
|
50
53
|
lastFiredAt: Schema.String.pipe(optional),
|
|
51
|
-
lastOutcome: Outcome3.pipe(optional)
|
|
54
|
+
lastOutcome: Outcome3.pipe(optional),
|
|
55
|
+
lastOutput: Schema.String.pipe(optional)
|
|
52
56
|
});
|
|
53
57
|
var ListOutput = Schema.Struct({
|
|
54
58
|
now: Schema.String.annotate({ description: "The current time, in UTC." }),
|
|
@@ -58,11 +62,11 @@ var IDInput2 = Schema.Struct({
|
|
|
58
62
|
id: ID2.annotate({ description: "Schedule id from schedule_list." })
|
|
59
63
|
});
|
|
60
64
|
var RemoveOutput = Schema.Struct({ id: ID2, removed: Schema.Boolean });
|
|
61
|
-
var
|
|
65
|
+
var Plugin38 = {
|
|
62
66
|
id: "opencode.tool.schedule",
|
|
63
67
|
effect: Effect.fn("ScheduleTools.Plugin")(function* (ctx) {
|
|
64
|
-
const config = yield*
|
|
65
|
-
const schedules = yield*
|
|
68
|
+
const config = yield* Service72;
|
|
69
|
+
const schedules = yield* Service16;
|
|
66
70
|
const loaded = yield* observe2(config, ctx.event, Effect.andThen(ctx.tool.reload(), ctx.command.reload()));
|
|
67
71
|
const enabled = () => latest2(loaded.entries, "experimental")?.schedules === true;
|
|
68
72
|
const allowed = (sessionID) => schedules.enabled(sessionID).pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError2)));
|
|
@@ -73,13 +77,14 @@ var Plugin42 = {
|
|
|
73
77
|
return;
|
|
74
78
|
editor.add({
|
|
75
79
|
name: "schedule_create",
|
|
76
|
-
description: "Schedule a prompt that wakes this session later: once after a delay, at a time, every interval,
|
|
80
|
+
description: "Schedule a prompt that wakes this session later: once after a delay, at a time, every interval, on a cron, or gated by an `if` / `until` shell check. Returns the schedule with its next run (or `done` immediately if `until` already matches).",
|
|
77
81
|
input: Request2,
|
|
78
82
|
output: View2,
|
|
79
83
|
options: { namespace: "opencode", codemode: true },
|
|
80
84
|
execute: (input, context) => schedules.create(toCreateInput2(context.sessionID, input)).pipe(Effect.map((info) => {
|
|
81
85
|
const view = toView(info);
|
|
82
|
-
|
|
86
|
+
const prefix = view.status === "done" && view.until !== undefined ? "Matched immediately" : "Scheduled";
|
|
87
|
+
return { output: view, content: `${prefix}: ${summary(view)}` };
|
|
83
88
|
}), Effect.mapError(failure))
|
|
84
89
|
});
|
|
85
90
|
editor.add({
|
|
@@ -140,15 +145,24 @@ var Plugin42 = {
|
|
|
140
145
|
});
|
|
141
146
|
})
|
|
142
147
|
};
|
|
148
|
+
function formatCondition(condition) {
|
|
149
|
+
switch (condition.type) {
|
|
150
|
+
case "shell":
|
|
151
|
+
return JSON.stringify(condition.run);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
143
154
|
function summary(view) {
|
|
144
155
|
const when = view.when;
|
|
145
156
|
const trigger = when.type === "in" ? `in ${when.in}` : when.type === "at" ? `at ${when.at}` : when.type === "every" ? `every ${when.every}` : `cron "${when.cron}"`;
|
|
157
|
+
const gate = view.until !== undefined ? `until ${formatCondition(view.until)}` : view.if !== undefined ? `if ${formatCondition(view.if)}` : undefined;
|
|
146
158
|
const prompt = view.prompt.length > 80 ? `${view.prompt.slice(0, 79)}…` : view.prompt;
|
|
147
159
|
return [
|
|
148
160
|
`${view.id}${view.name ? ` "${view.name}"` : ""}: ${trigger} (${view.tz})`,
|
|
161
|
+
gate,
|
|
149
162
|
view.status,
|
|
150
163
|
view.nextDueAt && `next ${view.nextDueAt}`,
|
|
151
|
-
`prompt: ${JSON.stringify(prompt)}
|
|
164
|
+
`prompt: ${JSON.stringify(prompt)}`,
|
|
165
|
+
view.lastOutput && `output: ${JSON.stringify(view.lastOutput)}`
|
|
152
166
|
].filter(Boolean).join(", ");
|
|
153
167
|
}
|
|
154
168
|
function toView(info) {
|
|
@@ -165,6 +179,8 @@ function toView(info) {
|
|
|
165
179
|
name: info.name,
|
|
166
180
|
when: info.when,
|
|
167
181
|
tz: info.tz,
|
|
182
|
+
if: info.if,
|
|
183
|
+
until: info.until,
|
|
168
184
|
prompt: info.action.prompt,
|
|
169
185
|
status: info.status,
|
|
170
186
|
nextDueAt: local(info.nextDueAt),
|
|
@@ -172,8 +188,9 @@ function toView(info) {
|
|
|
172
188
|
remainingRuns: info.remainingRuns,
|
|
173
189
|
runCount: info.runCount,
|
|
174
190
|
lastFiredAt: local(info.lastFiredAt),
|
|
175
|
-
lastOutcome: info.lastOutcome
|
|
191
|
+
lastOutcome: info.lastOutcome,
|
|
192
|
+
lastOutput: info.lastOutput
|
|
176
193
|
};
|
|
177
194
|
}
|
|
178
195
|
|
|
179
|
-
export { View2, IDInput2,
|
|
196
|
+
export { View2, IDInput2, Plugin38, exports_schedule };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service9,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node11
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service9 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node11 = makeLocationNode({
|
|
19
|
+
service: Service9,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service9, Service9.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service9, node11, bound2, exports_instance2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveModel2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-36qx82yz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/identity.ts
|
|
9
9
|
var exports_identity = {};
|
|
10
10
|
__export(exports_identity, {
|
|
11
11
|
IdentityPlugin: () => exports_identity,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin35,
|
|
13
13
|
identity: () => identity2
|
|
14
14
|
});
|
|
15
15
|
import { SystemPart } from "@opencode/ai/effect";
|
|
@@ -24,7 +24,7 @@ function identity2(model) {
|
|
|
24
24
|
].join(`
|
|
25
25
|
`);
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Plugin35 = define({
|
|
28
28
|
id: "opencode.prompt.identity",
|
|
29
29
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -37,4 +37,4 @@ var Plugin37 = define({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { identity2,
|
|
40
|
+
export { identity2, Plugin35, exports_identity };
|