@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./mime-kdd90951.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Info9,
|
|
9
9
|
ID7,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-4qxqnvmw.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill2 = {};
|
|
18
18
|
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin29,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
@@ -430,19 +430,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin29 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
438
|
+
editor.add(Info9.make({
|
|
439
439
|
id: ID7.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
445
|
+
editor.add(Info9.make({
|
|
446
446
|
id: ID7.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service72;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin29, exports_skill2 };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/config/managed.ts
|
|
6
|
+
var exports_managed = {};
|
|
7
|
+
__export(exports_managed, {
|
|
8
|
+
ConfigManaged: () => exports_managed,
|
|
9
|
+
Document: () => Document2
|
|
10
|
+
});
|
|
11
|
+
import { Config } from "@opencode/schema/config";
|
|
12
|
+
|
|
13
|
+
class Document2 extends Config.Document.extend("Config.ManagedDocument")({}) {
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { Document2, exports_managed };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-11hfp36g.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-rb9dy4dg.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-sa3fpqfw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -24,11 +24,11 @@ __export(exports_git3, {
|
|
|
24
24
|
Git: () => exports_git3,
|
|
25
25
|
OperationError: () => OperationError3,
|
|
26
26
|
Repository: () => Repository2,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service82,
|
|
28
28
|
TreeID: () => TreeID2,
|
|
29
29
|
Worktree: () => Worktree2,
|
|
30
30
|
WorktreeError: () => WorktreeError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node86
|
|
32
32
|
});
|
|
33
33
|
import os from "os";
|
|
34
34
|
import path from "path";
|
|
@@ -109,9 +109,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
109
109
|
}) {
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
class
|
|
112
|
+
class Service82 extends Context.Service()("@opencode/Git") {
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
115
115
|
const fs = yield* FSUtil.Service;
|
|
116
116
|
const proc = yield* AppProcess.Service;
|
|
117
117
|
const locks = makeUnsafe2();
|
|
@@ -834,7 +834,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
834
834
|
kind: index === 0 ? "main" : "linked"
|
|
835
835
|
}));
|
|
836
836
|
});
|
|
837
|
-
return
|
|
837
|
+
return Service82.of({
|
|
838
838
|
repo: { discover, fingerprint, clone, create },
|
|
839
839
|
remote: { get: remote },
|
|
840
840
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -851,7 +851,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
851
851
|
objects: { pack: packObjects }
|
|
852
852
|
});
|
|
853
853
|
}));
|
|
854
|
-
var
|
|
854
|
+
var node86 = makeGlobalNode({ service: Service82, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
855
855
|
function run(cwd, proc, args) {
|
|
856
856
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
857
857
|
}
|
|
@@ -918,4 +918,4 @@ function resolvePath(cwd, value) {
|
|
|
918
918
|
return path.resolve(cwd, normalized);
|
|
919
919
|
}
|
|
920
920
|
|
|
921
|
-
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2,
|
|
921
|
+
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2, Service82, node86, exports_git3 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-1kmbt0nq.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-204s3925.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
evaluate3
|
|
11
|
+
} from "./mime-q5fg6nv3.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/skill.ts
|
|
17
17
|
var exports_skill5 = {};
|
|
18
18
|
__export(exports_skill5, {
|
|
19
19
|
DirectorySource: () => DirectorySource2,
|
|
20
20
|
EmbeddedSource: () => EmbeddedSource2,
|
|
21
|
-
Event: () =>
|
|
21
|
+
Event: () => Event8,
|
|
22
22
|
ID: () => ID7,
|
|
23
|
-
Info: () =>
|
|
23
|
+
Info: () => Info9,
|
|
24
24
|
Name: () => Name2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service42,
|
|
26
26
|
Skill: () => exports_skill5,
|
|
27
27
|
Source: () => Source4,
|
|
28
28
|
UrlSource: () => UrlSource2,
|
|
29
|
-
available: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
available: () => available3,
|
|
30
|
+
node: () => node45,
|
|
31
31
|
prepare: () => prepare3,
|
|
32
32
|
toModelOutput: () => toModelOutput3
|
|
33
33
|
});
|
|
@@ -36,15 +36,15 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import path from "path";
|
|
37
37
|
import { Context, Effect, Layer } from "effect";
|
|
38
38
|
import { Skill } from "@opencode/schema/skill";
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event8 } from "@opencode/schema/skill";
|
|
40
40
|
var DirectorySource2 = Skill.DirectorySource;
|
|
41
41
|
var UrlSource2 = Skill.UrlSource;
|
|
42
42
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
43
43
|
var Source4 = Skill.Source;
|
|
44
|
-
var
|
|
44
|
+
var Info9 = Skill.Info;
|
|
45
45
|
var ID7 = Skill.ID;
|
|
46
46
|
var Name2 = Skill.Name;
|
|
47
|
-
var
|
|
47
|
+
var available3 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
|
|
48
48
|
var toModelOutput3 = (skill, files) => {
|
|
49
49
|
const directory = path.dirname(skill.path);
|
|
50
50
|
return [
|
|
@@ -79,9 +79,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
79
79
|
};
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service42 extends Context.Service()("@opencode/Skill") {
|
|
83
83
|
}
|
|
84
|
-
var layer = Layer.effect(
|
|
84
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service86;
|
|
86
86
|
const state = create3({
|
|
87
87
|
name: "skill",
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
106
106
|
}),
|
|
107
107
|
notify: changes2((data) => Array.from(data.skills.values()), () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
|
|
108
108
|
});
|
|
109
|
-
return
|
|
109
|
+
return Service42.of({
|
|
110
110
|
transform: state.transform,
|
|
111
111
|
reload: state.reload,
|
|
112
112
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -117,10 +117,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
117
117
|
})
|
|
118
118
|
});
|
|
119
119
|
}));
|
|
120
|
-
var
|
|
121
|
-
service:
|
|
120
|
+
var node45 = makeLocationNode({
|
|
121
|
+
service: Service42,
|
|
122
122
|
layer,
|
|
123
123
|
deps: [node90]
|
|
124
124
|
});
|
|
125
125
|
|
|
126
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
126
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info9, ID7, Name2, available3, toModelOutput3, prepare3, Service42, node45, exports_skill5, Event8 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
5
|
ID17,
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-nf5vm8zn.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service14,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
20
|
layer: () => layer10,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node16
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -37,9 +37,9 @@ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service14 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var layer10 = Layer.effect(
|
|
42
|
+
var layer10 = Layer.effect(Service14, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
44
|
const integrations = yield* Service83;
|
|
45
45
|
const findConnection = (provider, methods = ["key"]) => integrations.get(ID17.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
@@ -81,10 +81,10 @@ var layer10 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
81
81
|
...access
|
|
82
82
|
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service14.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
86
|
+
var node16 = makeLocationNode({
|
|
87
|
+
service: Service14,
|
|
88
88
|
layer: layer10,
|
|
89
89
|
deps: [node87, requestExecutor2]
|
|
90
90
|
});
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2, UnavailableError2,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError2, Service14, layer10, node16, exports_voice };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-xk2zn0cv.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-1kmbt0nq.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-gqwtxsn1.js";
|
|
11
11
|
import {
|
|
12
12
|
ID17,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-nf5vm8zn.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service76
|
|
20
|
+
} from "./mime-45xte6ee.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./mime-7q3qfmpr.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load4,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./mime-mpqhh0ff.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-91xttez3.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID11
|
|
33
|
+
} from "./mime-fg9n74ny.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
get5
|
|
36
|
+
} from "./mime-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -164,7 +164,7 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
167
|
+
const providers = yield* Service76;
|
|
168
168
|
const bus = yield* Service86;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
@@ -181,9 +181,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID14.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
|
-
try: () =>
|
|
186
|
+
try: () => load4(url, {
|
|
187
187
|
...provider?.headers,
|
|
188
188
|
Authorization: `Bearer ${credential.refresh}`,
|
|
189
189
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -203,13 +203,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID14.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
210
210
|
evt.add({
|
|
211
211
|
info: item.provider,
|
|
212
|
-
models: Array.from(
|
|
212
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
213
213
|
sourceConnection: loaded.connection
|
|
214
214
|
});
|
|
215
215
|
return;
|
|
@@ -231,8 +231,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID14.githubCopilot, ID13.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID14.githubCopilot, ID13.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID17.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,23 +250,23 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
257
257
|
}));
|
|
258
258
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
259
259
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
260
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
260
|
+
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID14.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID14.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID14.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-p015t6z3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node79
|
|
8
|
+
} from "./mime-7q3qfmpr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service64,
|
|
11
|
+
node68
|
|
12
|
+
} from "./mime-jw5zbn3z.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-wnhgecwx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
21
|
+
var exports_generate = {};
|
|
22
|
+
__export(exports_generate, {
|
|
23
|
+
Generate: () => exports_generate,
|
|
24
24
|
InvalidRequestError: () => InvalidRequestError3,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service23,
|
|
29
|
+
UnavailableError: () => UnavailableError4,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer12,
|
|
32
|
+
node: () => node26
|
|
33
33
|
});
|
|
34
34
|
import { Decision, DecisionClient, Image, ImageClient, LLM, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service23 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer12 = Layer.effect(Service23, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service64;
|
|
89
|
+
const models = yield* Service75;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError4({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError4({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(LLM.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service23.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node26 = makeLocationNode({
|
|
219
|
+
service: Service23,
|
|
220
|
+
layer: layer12,
|
|
221
|
+
deps: [node68, node79, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service23, layer12, node26, exports_generate };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin25
|
|
3
|
+
} from "./mime-gy1k9bkm.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin27
|
|
6
|
+
} from "./mime-k4s79gcj.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin24
|
|
9
|
+
} from "./mime-0rhd3fk1.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin26
|
|
12
|
+
} from "./mime-x2kc3zfh.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin19
|
|
15
|
+
} from "./mime-jjv1q8d4.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin25,
|
|
20
|
+
Plugin27,
|
|
21
|
+
Plugin24,
|
|
22
|
+
Plugin26,
|
|
23
|
+
Plugin19
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|