@opencode/core 0.0.0-dev-1074 → 0.0.0-dev-1112
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +11 -11
- package/dist/artifact.js +235 -235
- package/dist/bus.js +84 -84
- package/dist/chunks/{flag-n7q3rp51.js → aisdk-01ptc41p.js} +99 -34
- package/dist/chunks/{flag-28mt2z7k.js → aisdk-0251024g.js} +10 -10
- package/dist/chunks/{flag-034tev2y.js → aisdk-034tev2y.js} +2 -2
- package/dist/chunks/{flag-eyv5mk44.js → aisdk-03ewxjkk.js} +22 -22
- package/dist/chunks/{flag-tzm8sen6.js → aisdk-048g2ar7.js} +26 -26
- package/dist/chunks/{flag-6es1dp4c.js → aisdk-0699g30z.js} +8 -8
- package/dist/chunks/{flag-wd77xymj.js → aisdk-093401fh.js} +46 -22
- package/dist/chunks/{flag-rq33375m.js → aisdk-09y06ssc.js} +45 -40
- package/dist/chunks/{flag-krq6hmv5.js → aisdk-0c7bpw4e.js} +4 -4
- package/dist/chunks/{flag-htg0q2sg.js → aisdk-0fa979nr.js} +59 -59
- package/dist/chunks/{flag-0j7gp832.js → aisdk-0j7gp832.js} +1 -1
- package/dist/chunks/{flag-0ma9gw4f.js → aisdk-0ma9gw4f.js} +2 -2
- package/dist/chunks/{flag-6ex4p21c.js → aisdk-0w42g7eg.js} +14 -14
- package/dist/chunks/aisdk-145rv6ez.js +18 -0
- package/dist/chunks/{flag-1aqsckx4.js → aisdk-1aqsckx4.js} +1 -1
- package/dist/chunks/{flag-1ep2p91f.js → aisdk-1ep2p91f.js} +2 -2
- package/dist/chunks/{flag-v19fhjf9.js → aisdk-1jfy5wvn.js} +353 -353
- package/dist/chunks/{flag-v8dhzynh.js → aisdk-1sr1b0bq.js} +24 -15
- package/dist/chunks/{flag-1x2knyw4.js → aisdk-1x2knyw4.js} +1 -1
- package/dist/chunks/{flag-1yq9hg58.js → aisdk-1yq9hg58.js} +1 -1
- package/dist/chunks/{flag-69n0j3d0.js → aisdk-1zt99jkx.js} +4 -4
- package/dist/chunks/{flag-y5w9jtb1.js → aisdk-248zxre3.js} +8 -8
- package/dist/chunks/{flag-tb2mrvc9.js → aisdk-26wfx3k0.js} +4 -4
- package/dist/chunks/{flag-jd3xq71t.js → aisdk-2d5a25de.js} +12 -12
- package/dist/chunks/{flag-f0ympyz5.js → aisdk-2esaf9pj.js} +12 -12
- package/dist/chunks/{flag-2fc7eemy.js → aisdk-2fc7eemy.js} +1 -1
- package/dist/chunks/{flag-4mnrzaa3.js → aisdk-2kppfj1b.js} +53 -53
- package/dist/chunks/{flag-fstdtr31.js → aisdk-2m2g9ynh.js} +4 -4
- package/dist/chunks/{flag-2p60zmnr.js → aisdk-2p60zmnr.js} +2 -2
- package/dist/chunks/{flag-0f1bzeag.js → aisdk-2psxvbys.js} +6 -6
- package/dist/chunks/{flag-b23g5v4w.js → aisdk-2qjfqfx7.js} +15 -15
- package/dist/chunks/{flag-hhrn2a5y.js → aisdk-2r0zfczt.js} +6 -6
- package/dist/chunks/{flag-2s9mae96.js → aisdk-2s9mae96.js} +3 -3
- package/dist/chunks/{flag-63ch0rt9.js → aisdk-2t1fmdkh.js} +13 -13
- package/dist/chunks/{flag-b5tshgn5.js → aisdk-2x568jyb.js} +18 -18
- package/dist/chunks/{flag-t0hc4t0r.js → aisdk-2yvs4pfz.js} +20 -20
- package/dist/chunks/{flag-mebsk1tv.js → aisdk-33wka8nz.js} +26 -19
- package/dist/chunks/{flag-csztv6mn.js → aisdk-34apybr3.js} +10 -10
- package/dist/chunks/{flag-90ct6wq4.js → aisdk-38aws4xb.js} +4 -4
- package/dist/chunks/{flag-0kpeq0we.js → aisdk-3dd7wymd.js} +4 -4
- package/dist/chunks/{flag-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{flag-3nnrz6f6.js → aisdk-3nnrz6f6.js} +1 -1
- package/dist/chunks/{flag-8t99kr38.js → aisdk-3qgwywyc.js} +4 -4
- package/dist/chunks/{flag-kc3vxs66.js → aisdk-3tdw4hdj.js} +8 -8
- package/dist/chunks/{flag-y1f42pkz.js → aisdk-3wmmp0rk.js} +16 -16
- package/dist/chunks/{flag-fyckznk3.js → aisdk-3z8c46tx.js} +20 -20
- package/dist/chunks/{flag-nysrxf73.js → aisdk-3zm31bad.js} +14 -14
- package/dist/chunks/{flag-40y6dtc2.js → aisdk-40y6dtc2.js} +1 -1
- package/dist/chunks/{flag-asqc9vne.js → aisdk-4154bhbd.js} +9 -9
- package/dist/chunks/{flag-mbk8h3wg.js → aisdk-43tas341.js} +9 -9
- package/dist/chunks/{flag-44pmzq9c.js → aisdk-44pmzq9c.js} +2 -2
- package/dist/chunks/{flag-y2e6369g.js → aisdk-46m2cxjs.js} +24 -18
- package/dist/chunks/{flag-7y8hgd6s.js → aisdk-4awwtg6e.js} +29 -29
- package/dist/chunks/{flag-j0ctama5.js → aisdk-4dvhvz1p.js} +18 -18
- package/dist/chunks/{flag-4dx1dgte.js → aisdk-4dx1dgte.js} +1 -1
- package/dist/chunks/{flag-4f25tdd0.js → aisdk-4f25tdd0.js} +1 -1
- package/dist/chunks/{flag-0kwzgdeb.js → aisdk-4fekkkk9.js} +34 -34
- package/dist/chunks/{flag-qzch5wfa.js → aisdk-4jmg6pfp.js} +39 -39
- package/dist/chunks/{flag-4pyp9zr9.js → aisdk-4pyp9zr9.js} +1 -1
- package/dist/chunks/{flag-4v008n1t.js → aisdk-4v008n1t.js} +1 -1
- package/dist/chunks/{flag-yfmbdz01.js → aisdk-4vw59fw4.js} +6 -6
- package/dist/chunks/{flag-13r4fayz.js → aisdk-4wcnmt49.js} +23 -23
- package/dist/chunks/{flag-2vskb396.js → aisdk-4x7cj5n9.js} +30 -30
- package/dist/chunks/{flag-yht0v6tc.js → aisdk-4y0k7ght.js} +28 -28
- package/dist/chunks/{flag-y81zskp9.js → aisdk-4zrce9xc.js} +15 -15
- package/dist/chunks/{flag-1x0b376f.js → aisdk-518vc1zc.js} +80 -80
- package/dist/chunks/{flag-d3hxh1w7.js → aisdk-521jdhz6.js} +9 -9
- package/dist/chunks/{flag-7e7kydwc.js → aisdk-534kvv4z.js} +64 -39
- package/dist/chunks/{flag-dqc4vexc.js → aisdk-5jqtt5qs.js} +18 -18
- package/dist/chunks/{flag-7hk66atm.js → aisdk-5k7wefb1.js} +7 -7
- package/dist/chunks/{flag-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
- package/dist/chunks/aisdk-5zcyx99g.js +16 -0
- package/dist/chunks/{flag-gajtttdk.js → aisdk-5znqbt6v.js} +3 -3
- package/dist/chunks/{flag-78p2h4ex.js → aisdk-61qraad9.js} +5 -5
- package/dist/chunks/{flag-2nnyjy97.js → aisdk-621cgn6g.js} +2 -2
- package/dist/chunks/{flag-b41p3mcf.js → aisdk-663wkvxd.js} +27 -27
- package/dist/chunks/{flag-749r8arz.js → aisdk-67kkbvg5.js} +27 -27
- package/dist/chunks/{flag-0rdd31y4.js → aisdk-6cv0k0x0.js} +1 -1
- package/dist/chunks/{flag-kzdam8c6.js → aisdk-6edbc7zm.js} +4 -4
- package/dist/chunks/{flag-r5xncg2p.js → aisdk-6ssgn520.js} +6 -6
- package/dist/chunks/{flag-8jkrp6cd.js → aisdk-7215dbqr.js} +6 -6
- package/dist/chunks/{flag-sa3qvtqf.js → aisdk-73xqd53c.js} +16 -16
- package/dist/chunks/{flag-ecj07vsr.js → aisdk-74zfrwb9.js} +5 -5
- package/dist/chunks/{flag-775hqbnd.js → aisdk-775hqbnd.js} +3 -3
- package/dist/chunks/{flag-fc0vyv5p.js → aisdk-7bcz3wnq.js} +25 -25
- package/dist/chunks/{flag-h26hgerk.js → aisdk-7bjj3ykm.js} +32 -32
- package/dist/chunks/{flag-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{flag-fp8qaqcz.js → aisdk-7c7s4462.js} +10 -10
- package/dist/chunks/{flag-1ty3xv4a.js → aisdk-7saqsvkc.js} +18 -18
- package/dist/chunks/{flag-7w2ypzdf.js → aisdk-7w2ypzdf.js} +1 -1
- package/dist/chunks/{flag-7weczvnd.js → aisdk-7weczvnd.js} +1 -1
- package/dist/chunks/{flag-80pdk984.js → aisdk-80pdk984.js} +1 -1
- package/dist/chunks/{flag-1hs6f0d4.js → aisdk-80y0c9px.js} +28 -28
- package/dist/chunks/{flag-d3r68fkq.js → aisdk-811yx5ch.js} +11 -11
- package/dist/chunks/{flag-3adw4bt5.js → aisdk-859w1rtj.js} +9 -9
- package/dist/chunks/{flag-85jq8dht.js → aisdk-85jq8dht.js} +1 -1
- package/dist/chunks/{flag-h4mysg09.js → aisdk-8a626w2p.js} +16 -16
- package/dist/chunks/{flag-8b3vzgkx.js → aisdk-8b3vzgkx.js} +1 -1
- package/dist/chunks/{flag-vbjndfas.js → aisdk-8d1sbyec.js} +8 -8
- package/dist/chunks/{flag-5qfz1mav.js → aisdk-8dvjtp32.js} +10 -10
- package/dist/chunks/{flag-8sxe6kv8.js → aisdk-8sxe6kv8.js} +2 -2
- package/dist/chunks/{flag-8wtp7s3z.js → aisdk-8wtp7s3z.js} +1 -1
- package/dist/chunks/{flag-e71bb87j.js → aisdk-8yktnay8.js} +8 -8
- package/dist/chunks/{flag-7rxm668g.js → aisdk-8zqzm5np.js} +12 -12
- package/dist/chunks/{flag-8zv0xmg5.js → aisdk-8zv0xmg5.js} +1 -1
- package/dist/chunks/{flag-3fvft6n0.js → aisdk-92z0smzv.js} +5 -11
- package/dist/chunks/{flag-07er45j8.js → aisdk-963hk181.js} +9 -9
- package/dist/chunks/{flag-23ef35a7.js → aisdk-9bm5fp1b.js} +9 -9
- package/dist/chunks/{flag-yvqbfgs2.js → aisdk-9ph6jh1v.js} +22 -22
- package/dist/chunks/{flag-ngbtdw7d.js → aisdk-9se26x77.js} +35 -35
- package/dist/chunks/{flag-bnwjjayw.js → aisdk-9ve8rats.js} +13 -13
- package/dist/chunks/{flag-vxp66wc3.js → aisdk-9z5wsyq9.js} +40 -40
- package/dist/chunks/{flag-bcm19mpq.js → aisdk-a1hp687s.js} +3 -3
- package/dist/chunks/{flag-1qjvkd3v.js → aisdk-a9yztjvj.js} +16 -16
- package/dist/chunks/{flag-6y2b864j.js → aisdk-agje4kmn.js} +4 -4
- package/dist/chunks/{flag-qdshsf4w.js → aisdk-agpxkb7q.js} +9 -9
- package/dist/chunks/{flag-a5as8n7c.js → aisdk-ar24jmbx.js} +19 -19
- package/dist/chunks/{flag-62b0mtf4.js → aisdk-asr2cxdd.js} +11 -11
- package/dist/chunks/{flag-anwt6rn6.js → aisdk-axew7gxr.js} +5 -5
- package/dist/chunks/{flag-djyxf4fb.js → aisdk-ayab4skc.js} +5 -5
- package/dist/chunks/{flag-10pn4eb5.js → aisdk-ayfytmn9.js} +5 -5
- package/dist/chunks/{flag-ayjs7tqn.js → aisdk-ayjs7tqn.js} +2 -2
- package/dist/chunks/{flag-n6fgs16y.js → aisdk-az9w126d.js} +50 -50
- package/dist/chunks/{flag-b26ddj6h.js → aisdk-b26ddj6h.js} +4 -4
- package/dist/chunks/{flag-k93rj7bk.js → aisdk-b3se4g6t.js} +11 -11
- package/dist/chunks/{flag-mym403hh.js → aisdk-b7nkz392.js} +1 -1
- package/dist/chunks/{flag-prw0raw9.js → aisdk-b95nhmbz.js} +7 -7
- package/dist/chunks/{flag-gh58psrt.js → aisdk-b9wgnq5g.js} +12 -12
- package/dist/chunks/{flag-zsr0j9xc.js → aisdk-bb65ze16.js} +6 -6
- package/dist/chunks/{flag-xtv3hy5v.js → aisdk-bek3b106.js} +41 -41
- package/dist/chunks/{flag-h2pzz84q.js → aisdk-bf5z6qzj.js} +9 -9
- package/dist/chunks/{flag-nvqn0jgd.js → aisdk-bg7031g9.js} +29 -29
- package/dist/chunks/{flag-e4059ec9.js → aisdk-bj0cvgjy.js} +6 -6
- package/dist/chunks/{flag-bstexjd6.js → aisdk-bstexjd6.js} +1 -1
- package/dist/chunks/{flag-1cnqgpws.js → aisdk-c68ma262.js} +13 -13
- package/dist/chunks/{flag-c6x7d2ts.js → aisdk-c6x7d2ts.js} +1 -1
- package/dist/chunks/{flag-c7cw818c.js → aisdk-c7cw818c.js} +2 -2
- package/dist/chunks/{flag-vve4apvj.js → aisdk-c9sqfffq.js} +13 -13
- package/dist/chunks/{flag-v88k3e1r.js → aisdk-cb67h20a.js} +5 -5
- package/dist/chunks/{flag-277htx7a.js → aisdk-cezj9qrt.js} +20 -20
- package/dist/chunks/{flag-ce0rhbcr.js → aisdk-ckk6j5sy.js} +43 -43
- package/dist/chunks/{flag-c631swd6.js → aisdk-cqyxpy8e.js} +13 -13
- package/dist/chunks/{flag-qfct020g.js → aisdk-cs0yymjb.js} +16 -16
- package/dist/chunks/{flag-t411jmby.js → aisdk-cshwsf51.js} +36 -36
- package/dist/chunks/{flag-gv1hzty8.js → aisdk-ct6w6bsw.js} +22 -22
- package/dist/chunks/{flag-de19fg2d.js → aisdk-cwr7rwff.js} +21 -21
- package/dist/chunks/{flag-cwrgdav8.js → aisdk-cwrgdav8.js} +2 -2
- package/dist/chunks/{flag-6py65z06.js → aisdk-cz8hbjw0.js} +22 -22
- package/dist/chunks/{flag-n2b2sxve.js → aisdk-d1wdfh78.js} +48 -48
- package/dist/chunks/{flag-jwarzfk1.js → aisdk-d2chmwwx.js} +20 -20
- package/dist/chunks/{flag-d4v9tmah.js → aisdk-d4v9tmah.js} +2 -2
- package/dist/chunks/{flag-51m2wpqb.js → aisdk-d89bvd5f.js} +3 -3
- package/dist/chunks/{flag-t48jrnqq.js → aisdk-dbatw319.js} +3 -3
- package/dist/chunks/{flag-tfsnnnpk.js → aisdk-dk0wz1ae.js} +9 -9
- package/dist/chunks/{flag-dt77769w.js → aisdk-dt77769w.js} +1 -1
- package/dist/chunks/{flag-a0p5xek2.js → aisdk-dwdy0wzw.js} +12 -12
- package/dist/chunks/{flag-tz757gp5.js → aisdk-dwtqbg9c.js} +31 -31
- package/dist/chunks/{flag-9909h7f5.js → aisdk-dzpvmyqr.js} +5 -5
- package/dist/chunks/{flag-17b8a7h3.js → aisdk-e0nd6rg0.js} +8 -8
- package/dist/chunks/{flag-5q95pcte.js → aisdk-e9369s4k.js} +35 -35
- package/dist/chunks/{flag-5ym4qw1m.js → aisdk-e9nsp44t.js} +18 -18
- package/dist/chunks/{flag-n8kk02wn.js → aisdk-edm37t96.js} +6 -6
- package/dist/chunks/{flag-be1w1smn.js → aisdk-epnejjn3.js} +59 -47
- package/dist/chunks/{flag-eqw4pqj1.js → aisdk-eqw4pqj1.js} +2 -2
- package/dist/chunks/{flag-mb4tbnzd.js → aisdk-f6dre40t.js} +1 -1
- package/dist/chunks/{flag-9bhwcwx3.js → aisdk-fc55cstj.js} +35 -35
- package/dist/chunks/{flag-fg9p65nk.js → aisdk-fg9p65nk.js} +2 -2
- package/dist/chunks/{flag-xbamcx65.js → aisdk-fnm76jkv.js} +29 -29
- package/dist/chunks/{flag-zcv8sgyy.js → aisdk-ft1zx3sy.js} +14 -14
- package/dist/chunks/{flag-kzhqjt3b.js → aisdk-fwr74dje.js} +85 -85
- package/dist/chunks/{flag-69kfgtv8.js → aisdk-fx2ayb4h.js} +14 -14
- package/dist/chunks/{flag-hhdkyhhw.js → aisdk-fxnx6rey.js} +9 -9
- package/dist/chunks/{flag-wr3re1en.js → aisdk-fznmdakp.js} +4 -4
- package/dist/chunks/{flag-w0avypsn.js → aisdk-fzwn6aqp.js} +5 -5
- package/dist/chunks/{flag-y9r2j4dk.js → aisdk-g6wnd0b0.js} +13 -13
- package/dist/chunks/{flag-h0a85q8s.js → aisdk-g8hfgh25.js} +11 -11
- package/dist/chunks/{flag-myrg2sx3.js → aisdk-g92w76w6.js} +5 -5
- package/dist/chunks/{flag-ck4z0wzc.js → aisdk-g9hjnc5y.js} +5 -5
- package/dist/chunks/{flag-gbjdnr5j.js → aisdk-gbjdnr5j.js} +2 -2
- package/dist/chunks/{flag-0cvmjxzj.js → aisdk-ge5ycmax.js} +4 -5
- package/dist/chunks/{flag-ghrv1g9c.js → aisdk-ghrv1g9c.js} +1 -1
- package/dist/chunks/{flag-9wbdrf72.js → aisdk-gr20hk7z.js} +7 -7
- package/dist/chunks/{flag-18y47bc0.js → aisdk-gtxbde8b.js} +5 -5
- package/dist/chunks/{flag-93vd13pj.js → aisdk-gvmysyy0.js} +17 -17
- package/dist/chunks/{flag-tf9r37f3.js → aisdk-gx16d8rj.js} +11 -11
- package/dist/chunks/{flag-1fk5m7tx.js → aisdk-gz2mqbrp.js} +15 -15
- package/dist/chunks/{flag-9sjmchs9.js → aisdk-h3ss9fmg.js} +24 -24
- package/dist/chunks/{flag-sxear5nx.js → aisdk-h53e1x1n.js} +17 -17
- package/dist/chunks/{flag-hgzwgvze.js → aisdk-hgzwgvze.js} +2 -2
- package/dist/chunks/{flag-jzpf4wf5.js → aisdk-hk3tqcvt.js} +6 -6
- package/dist/chunks/{flag-tnbe8zb9.js → aisdk-hqtemdaf.js} +12 -12
- package/dist/chunks/{flag-yxynkdzd.js → aisdk-hr033mnd.js} +5 -5
- package/dist/chunks/{flag-nbe4xnz9.js → aisdk-hv7t7dz9.js} +12 -12
- package/dist/chunks/{flag-rz5vsqxg.js → aisdk-hya8m49y.js} +28 -28
- package/dist/chunks/{flag-j9nxzz3g.js → aisdk-j9nxzz3g.js} +3 -3
- package/dist/chunks/{flag-h5nm911w.js → aisdk-jb1wrhc5.js} +13 -13
- package/dist/chunks/{flag-1v2g13eq.js → aisdk-jet8nhkm.js} +8 -8
- package/dist/chunks/aisdk-jgf64wv5.js +115 -0
- package/dist/chunks/{flag-jkdcm5hg.js → aisdk-jkdcm5hg.js} +1 -1
- package/dist/chunks/{flag-jm70asfg.js → aisdk-jm70asfg.js} +1 -1
- package/dist/chunks/{flag-bq4t7p48.js → aisdk-jwb9wgf0.js} +8 -8
- package/dist/chunks/{flag-e4ptapmk.js → aisdk-jz92pmt0.js} +20 -20
- package/dist/chunks/{flag-hj6fcrxw.js → aisdk-k5d5904b.js} +7 -7
- package/dist/chunks/{flag-wgntp26c.js → aisdk-k6gnfrnp.js} +51 -33
- package/dist/chunks/{flag-8apzqgqr.js → aisdk-k71nc3m3.js} +10 -10
- package/dist/chunks/{flag-6cqkw5v2.js → aisdk-k9hdmkpm.js} +3 -3
- package/dist/chunks/aisdk-k9y8ae24.js +35 -0
- package/dist/chunks/{flag-pmgs19gv.js → aisdk-kc34t9dh.js} +32 -32
- package/dist/chunks/{flag-yay1wkz3.js → aisdk-kgg4fc0v.js} +41 -41
- package/dist/chunks/{flag-awnn6p4w.js → aisdk-khs8p3qn.js} +32 -32
- package/dist/chunks/{flag-kj9n5bvh.js → aisdk-kj9n5bvh.js} +1 -1
- package/dist/chunks/{flag-nt907s04.js → aisdk-kn4zqwcq.js} +3 -3
- package/dist/chunks/{flag-6t40r86m.js → aisdk-knagcy2c.js} +11 -11
- package/dist/chunks/{flag-jrr82f3r.js → aisdk-kqcct7ns.js} +19 -19
- package/dist/chunks/{flag-tx08s06b.js → aisdk-kr8bzzc4.js} +11 -11
- package/dist/chunks/{flag-kt3bjfbg.js → aisdk-kt3bjfbg.js} +1 -1
- package/dist/chunks/{flag-hsntjmej.js → aisdk-kvz0zxqh.js} +7 -7
- package/dist/chunks/{flag-p4dpe8bh.js → aisdk-kxmcrrrz.js} +11 -11
- package/dist/chunks/{flag-kzczzf4v.js → aisdk-kzczzf4v.js} +1 -1
- package/dist/chunks/{flag-m1714858.js → aisdk-m1714858.js} +1 -1
- package/dist/chunks/{flag-kb5gnmd0.js → aisdk-m6zc1spb.js} +7 -7
- package/dist/chunks/{flag-vpa563n1.js → aisdk-m9j239kh.js} +18 -18
- package/dist/chunks/{flag-0m1bhm6r.js → aisdk-m9magbb1.js} +4 -4
- package/dist/chunks/{flag-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{flag-mb7mbhnz.js → aisdk-mb7mbhnz.js} +3 -3
- package/dist/chunks/{flag-48ywh6sc.js → aisdk-mbhk93xw.js} +10 -10
- package/dist/chunks/{flag-82k687r2.js → aisdk-mdcydf9k.js} +38 -38
- package/dist/chunks/{flag-j269w22v.js → aisdk-me15b9mr.js} +6 -6
- package/dist/chunks/{flag-kr05as7n.js → aisdk-mf4fvwy8.js} +12 -12
- package/dist/chunks/{flag-w35wzz9x.js → aisdk-mf63ygpr.js} +4 -4
- package/dist/chunks/{flag-yn38pgvr.js → aisdk-mk8hd79k.js} +8 -8
- package/dist/chunks/{flag-fcrd7kek.js → aisdk-n320gsn2.js} +4 -4
- package/dist/chunks/{flag-p7wsn8hq.js → aisdk-n4f3jvah.js} +17 -17
- package/dist/chunks/{flag-b40zfh34.js → aisdk-n52wshje.js} +10 -10
- package/dist/chunks/{flag-ed2vaebb.js → aisdk-n6eeqx5c.js} +18 -18
- package/dist/chunks/aisdk-n82s2r15.js +26 -0
- package/dist/chunks/{flag-ym36e6ms.js → aisdk-ncan4fqy.js} +14 -14
- package/dist/chunks/{flag-t2jj1q7e.js → aisdk-ncw2ck59.js} +8 -8
- package/dist/chunks/{flag-v8gdxbgn.js → aisdk-nfjat2xe.js} +33 -33
- package/dist/chunks/{flag-p6hyt91k.js → aisdk-nfmqhqkx.js} +16 -16
- package/dist/chunks/{flag-r7xr30vf.js → aisdk-nhv4nbmj.js} +5 -5
- package/dist/chunks/{flag-33r1frnd.js → aisdk-nm7y4zzb.js} +11 -11
- package/dist/chunks/{flag-qf5aknd5.js → aisdk-nndbp5zf.js} +47 -47
- package/dist/chunks/{flag-5m7msdtz.js → aisdk-p17g208b.js} +35 -35
- package/dist/chunks/{flag-mv034xfq.js → aisdk-pahysd91.js} +29 -29
- package/dist/chunks/{flag-yqsf7wkv.js → aisdk-pb8w10p1.js} +19 -19
- package/dist/chunks/{flag-mphfcbh2.js → aisdk-pbxf7rhd.js} +60 -60
- package/dist/chunks/{flag-a34m2tj3.js → aisdk-pfzsyf6s.js} +11 -11
- package/dist/chunks/{flag-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{flag-0q8fsvvw.js → aisdk-pp8095re.js} +18 -18
- package/dist/chunks/{flag-60bnsg3p.js → aisdk-pzm3g06n.js} +20 -20
- package/dist/chunks/{flag-q42tzrxa.js → aisdk-q42tzrxa.js} +1 -1
- package/dist/chunks/{flag-ecwxhh4d.js → aisdk-q47x93k0.js} +18 -18
- package/dist/chunks/{flag-1pvtqtz6.js → aisdk-q6ymsjmr.js} +176 -176
- package/dist/chunks/{flag-rf3vkmdk.js → aisdk-qcvxz073.js} +28 -28
- package/dist/chunks/{flag-82c4hw63.js → aisdk-qd56aqh6.js} +5 -5
- package/dist/chunks/{flag-aa1hstq6.js → aisdk-qhajft33.js} +23 -23
- package/dist/chunks/{flag-qp7r0hxv.js → aisdk-qp7r0hxv.js} +1 -1
- package/dist/chunks/{flag-9a8agz88.js → aisdk-qparrkpv.js} +41 -41
- package/dist/chunks/{flag-w72kfpv0.js → aisdk-qr0s79d5.js} +4 -4
- package/dist/chunks/{flag-t2w8e7sf.js → aisdk-qr8b207q.js} +33 -33
- package/dist/chunks/{flag-3beq3wdw.js → aisdk-qtf35215.js} +3 -3
- package/dist/chunks/{flag-s5zrq09q.js → aisdk-r0wrga32.js} +8 -8
- package/dist/chunks/{flag-40za9wsf.js → aisdk-r41sfy63.js} +6 -6
- package/dist/chunks/{flag-0js2qngn.js → aisdk-r8gyz9nz.js} +51 -51
- package/dist/chunks/{flag-r413b5dt.js → aisdk-rb70p4rj.js} +18 -18
- package/dist/chunks/{flag-rb9dy4dg.js → aisdk-rb9dy4dg.js} +1 -1
- package/dist/chunks/{flag-ygfne632.js → aisdk-rcschx3j.js} +4 -4
- package/dist/chunks/{flag-rgc9cx3e.js → aisdk-rgc9cx3e.js} +2 -2
- package/dist/chunks/{flag-px7qpgcn.js → aisdk-rj7j5fvs.js} +4 -4
- package/dist/chunks/{flag-8hdkvpj2.js → aisdk-rk5bp20e.js} +3 -3
- package/dist/chunks/{flag-8cg7mtm3.js → aisdk-s47rahr7.js} +4 -4
- package/dist/chunks/{flag-sbya78hr.js → aisdk-sbya78hr.js} +1 -1
- package/dist/chunks/{flag-dzxkcwf2.js → aisdk-se5ph0gb.js} +11 -11
- package/dist/chunks/{flag-s3s53skt.js → aisdk-sj1z5vnh.js} +12 -12
- package/dist/chunks/{flag-bkd4s5n3.js → aisdk-sr1rj8qz.js} +20 -20
- package/dist/chunks/{flag-xfh1sx4x.js → aisdk-sr40g57a.js} +5 -5
- package/dist/chunks/{flag-f0cr0yvp.js → aisdk-str9ggy9.js} +32 -41
- package/dist/chunks/{flag-m79wmg2b.js → aisdk-sv0bh4y3.js} +6 -6
- package/dist/chunks/{flag-svcy3p9a.js → aisdk-svcy3p9a.js} +1 -1
- package/dist/chunks/{flag-d4khjp6k.js → aisdk-t043artr.js} +29 -29
- package/dist/chunks/{flag-c64zn4v7.js → aisdk-t1ajcsad.js} +153 -153
- package/dist/chunks/{flag-6w8zbb77.js → aisdk-t20khq97.js} +50 -47
- package/dist/chunks/{flag-bfmm6xpm.js → aisdk-t62dywgn.js} +6 -6
- package/dist/chunks/{flag-77cykhvt.js → aisdk-t8fjs08g.js} +43 -43
- package/dist/chunks/{flag-tbpn7jtk.js → aisdk-tbpn7jtk.js} +1 -1
- package/dist/chunks/{flag-tczq8hjw.js → aisdk-tczq8hjw.js} +1 -1
- package/dist/chunks/{flag-160yv0cs.js → aisdk-tg1vr1qt.js} +8 -8
- package/dist/chunks/{flag-gxs71cxp.js → aisdk-tg7s7b5t.js} +4 -4
- package/dist/chunks/{flag-3mxnwz29.js → aisdk-tgnmwya8.js} +2 -2
- package/dist/chunks/{flag-ddxfxztf.js → aisdk-tk6nfwva.js} +26 -26
- package/dist/chunks/{flag-55jhk77d.js → aisdk-tmd1r8tg.js} +4 -4
- package/dist/chunks/{flag-tr8x705m.js → aisdk-tr8x705m.js} +1 -1
- package/dist/chunks/{flag-8h2dhp77.js → aisdk-tvcgpvd0.js} +16 -16
- package/dist/chunks/{flag-tvtps2q9.js → aisdk-tvtps2q9.js} +1 -1
- package/dist/chunks/{flag-twssxy5n.js → aisdk-twssxy5n.js} +2 -2
- package/dist/chunks/{flag-v2r1d0zg.js → aisdk-v2r1d0zg.js} +1 -1
- package/dist/chunks/{flag-1faxacy3.js → aisdk-v7yw4q3w.js} +22 -22
- package/dist/chunks/{flag-vjf35v1f.js → aisdk-vjf35v1f.js} +1 -1
- package/dist/chunks/{flag-1zzk7pqc.js → aisdk-vq69k8z8.js} +25 -25
- package/dist/chunks/{flag-xtsk5bdt.js → aisdk-vqpdh770.js} +11 -11
- package/dist/chunks/{flag-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/{flag-xz07m27x.js → aisdk-w4xw9ac5.js} +2 -2
- package/dist/chunks/{flag-5kk1xax8.js → aisdk-w97rc7e5.js} +25 -25
- package/dist/chunks/{flag-wakvkjy4.js → aisdk-wakvkjy4.js} +1 -1
- package/dist/chunks/{flag-ztjcysxb.js → aisdk-wb28mbz2.js} +11 -11
- package/dist/chunks/{flag-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{flag-wegkxhrn.js → aisdk-wegkxhrn.js} +2 -2
- package/dist/chunks/{flag-wfdx5ztx.js → aisdk-wfdx5ztx.js} +1 -1
- package/dist/chunks/{flag-6za54cjk.js → aisdk-wnd5csx8.js} +42 -42
- package/dist/chunks/{flag-2c6sxtb9.js → aisdk-x150ncgg.js} +2 -2
- package/dist/chunks/{flag-ef261vm2.js → aisdk-x6kgaymm.js} +17 -17
- package/dist/chunks/{flag-ctmpqb7w.js → aisdk-x7de2wha.js} +9 -9
- package/dist/chunks/{flag-x945cdt3.js → aisdk-x7v4wr3n.js} +8 -8
- package/dist/chunks/{flag-xjr6c8m4.js → aisdk-xjr6c8m4.js} +1 -1
- package/dist/chunks/{flag-3k5g6q0g.js → aisdk-xjtpaskz.js} +24 -24
- package/dist/chunks/{flag-qzgp0jr4.js → aisdk-xksw6ev0.js} +4 -4
- package/dist/chunks/{flag-z0w9vd8h.js → aisdk-xmkdjqrz.js} +23 -23
- package/dist/chunks/{flag-ze4fkgdz.js → aisdk-xn91r83q.js} +12 -12
- package/dist/chunks/{flag-kks1sbjd.js → aisdk-y2rde44a.js} +17 -17
- package/dist/chunks/{flag-zmv41ng7.js → aisdk-y3gp4bbp.js} +28 -28
- package/dist/chunks/{flag-fqz5xkqs.js → aisdk-y4rg7r9v.js} +81 -78
- package/dist/chunks/{flag-n5qh2tpm.js → aisdk-y5zfw3kp.js} +18 -18
- package/dist/chunks/{flag-yb20nhc3.js → aisdk-yb20nhc3.js} +1 -1
- package/dist/chunks/{flag-xe7df2tz.js → aisdk-yh7yh514.js} +9 -9
- package/dist/chunks/{flag-yr705xyq.js → aisdk-yr705xyq.js} +1 -1
- package/dist/chunks/{flag-918txkc6.js → aisdk-ysv2yksb.js} +20 -20
- package/dist/chunks/{flag-yvtc2x31.js → aisdk-yvtc2x31.js} +1 -1
- package/dist/chunks/{flag-d7prbx9s.js → aisdk-ywg2075s.js} +21 -21
- package/dist/chunks/{flag-pvqrc4ed.js → aisdk-z0ngpz35.js} +20 -20
- package/dist/chunks/{flag-pzz9yege.js → aisdk-z61db8ks.js} +24 -24
- package/dist/chunks/{flag-n9ptaqng.js → aisdk-z7sr261w.js} +9 -9
- package/dist/chunks/{flag-fze60c2f.js → aisdk-z7tv9sj4.js} +12 -12
- package/dist/chunks/{flag-bpfxs6nz.js → aisdk-zbdwez64.js} +5 -5
- package/dist/chunks/{flag-rb6qnysm.js → aisdk-zct4xg09.js} +9 -9
- package/dist/chunks/{flag-by8ty0bx.js → aisdk-zpdbqgja.js} +4 -4
- package/dist/chunks/{flag-w0rqan0q.js → aisdk-zq6v4bhr.js} +25 -25
- package/dist/chunks/{flag-xzjweb72.js → aisdk-zqars40t.js} +21 -21
- package/dist/chunks/{flag-1903bv4e.js → aisdk-zwz6ykmb.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +239 -239
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +96 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +104 -104
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +254 -254
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +133 -133
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +114 -114
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +116 -112
- 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 +432 -432
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +183 -183
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -159
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +122 -121
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +245 -245
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +410 -410
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode-watches.js +2 -2
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +420 -420
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +248 -248
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +250 -250
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +264 -264
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +134 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- 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 +248 -248
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +205 -205
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -140
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +167 -167
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +114 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +238 -238
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -248
- package/dist/session/usage.js +1 -1
- package/dist/session.js +240 -240
- package/dist/shared-cache.js +5 -5
- 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 +11 -11
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +161 -161
- package/dist/snapshot.js +102 -102
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +237 -237
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +171 -171
- package/dist/tool/plugin/image-generate.js +248 -248
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +256 -256
- package/dist/tool/plugin/shell.js +244 -244
- package/dist/tool/plugin/skill.js +154 -154
- package/dist/tool/plugin/subagent.js +245 -245
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/types/credential.d.ts +13 -2
- package/dist/types/flag.d.ts +2 -2
- package/dist/types/github-copilot/models.d.ts +95 -0
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/model-resolver.d.ts +2 -0
- package/dist/types/plugin/provider/claude-agent/claude/sessions.d.ts +0 -1
- package/dist/types/plugin/provider/opencode.d.ts +2 -1
- package/dist/types/session/context.d.ts +5 -1
- package/dist/types/session/generate.d.ts +6 -2
- package/dist/types/session/runner/model.d.ts +6 -1
- package/dist/types/session.d.ts +1 -1
- package/dist/types/v1/config/migrate.d.ts +3 -3
- package/dist/usage-limits.js +98 -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 +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +96 -96
- package/dist/voice.js +97 -97
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +98 -98
- package/dist/worktree.js +103 -103
- package/package.json +12 -12
- package/dist/chunks/flag-365eavge.js +0 -16
- package/dist/chunks/flag-7j9hf6qv.js +0 -86
- package/dist/chunks/flag-7yv5xa0k.js +0 -18
- package/dist/chunks/flag-q1cvymj3.js +0 -26
- package/dist/chunks/flag-s08zthfz.js +0 -35
- /package/dist/chunks/{flag-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{flag-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{flag-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{flag-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{flag-1kah00gy.js → aisdk-1kah00gy.js} +0 -0
- /package/dist/chunks/{flag-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
- /package/dist/chunks/{flag-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{flag-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{flag-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{flag-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{flag-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{flag-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{flag-4qk9sjk2.js → aisdk-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{flag-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{flag-5w3e23ze.js → aisdk-5w3e23ze.js} +0 -0
- /package/dist/chunks/{flag-6agm2x70.js → aisdk-6agm2x70.js} +0 -0
- /package/dist/chunks/{flag-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{flag-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{flag-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{flag-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{flag-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{flag-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
- /package/dist/chunks/{flag-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{flag-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{flag-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
- /package/dist/chunks/{flag-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{flag-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{flag-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{flag-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{flag-beh6qq61.js → aisdk-beh6qq61.js} +0 -0
- /package/dist/chunks/{flag-bhmrqjy3.js → aisdk-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{flag-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{flag-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{flag-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{flag-cqv5kn06.js → aisdk-cqv5kn06.js} +0 -0
- /package/dist/chunks/{flag-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{flag-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{flag-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{flag-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{flag-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{flag-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{flag-ean2d8b5.js → aisdk-ean2d8b5.js} +0 -0
- /package/dist/chunks/{flag-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{flag-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{flag-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{flag-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{flag-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{flag-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{flag-fkpq3x5p.js → aisdk-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{flag-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{flag-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{flag-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{flag-hcxmzztb.js → aisdk-hcxmzztb.js} +0 -0
- /package/dist/chunks/{flag-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{flag-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{flag-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
- /package/dist/chunks/{flag-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{flag-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{flag-jwr30sdr.js → aisdk-jwr30sdr.js} +0 -0
- /package/dist/chunks/{flag-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{flag-m18g726c.js → aisdk-m18g726c.js} +0 -0
- /package/dist/chunks/{flag-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{flag-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{flag-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{flag-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{flag-nh4v3znn.js → aisdk-nh4v3znn.js} +0 -0
- /package/dist/chunks/{flag-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{flag-p71gwv9c.js → aisdk-p71gwv9c.js} +0 -0
- /package/dist/chunks/{flag-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{flag-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{flag-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{flag-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{flag-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
- /package/dist/chunks/{flag-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{flag-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{flag-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{flag-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{flag-syrav9an.js → aisdk-syrav9an.js} +0 -0
- /package/dist/chunks/{flag-t03h4f5z.js → aisdk-t03h4f5z.js} +0 -0
- /package/dist/chunks/{flag-ty7weeps.js → aisdk-ty7weeps.js} +0 -0
- /package/dist/chunks/{flag-ve7vex1e.js → aisdk-ve7vex1e.js} +0 -0
- /package/dist/chunks/{flag-vtarvj67.js → aisdk-vtarvj67.js} +0 -0
- /package/dist/chunks/{flag-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{flag-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{flag-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{flag-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{flag-x4th4bpe.js → aisdk-x4th4bpe.js} +0 -0
- /package/dist/chunks/{flag-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{flag-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{flag-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{flag-z0h12gs8.js → aisdk-z0h12gs8.js} +0 -0
- /package/dist/chunks/{flag-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{flag-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
- /package/dist/chunks/{flag-zxpyjp51.js → aisdk-zxpyjp51.js} +0 -0
- /package/dist/chunks/{flag-zz5vv3aq.js → aisdk-zz5vv3aq.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./aisdk-xn91r83q.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-n320gsn2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID18,
|
|
14
|
+
Service86,
|
|
15
|
+
node88,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./aisdk-str9ggy9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service90,
|
|
20
|
+
node92
|
|
21
|
+
} from "./aisdk-tvcgpvd0.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider5 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider5, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event17,
|
|
35
|
+
ID: () => ID17,
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider5,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service85,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider5, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node87,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -331,8 +331,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
331
331
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
332
332
|
|
|
333
333
|
// src/provider.ts
|
|
334
|
-
import { Event as
|
|
335
|
-
var
|
|
334
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
335
|
+
var ID17 = Provider.ID;
|
|
336
336
|
var AISDK_PREFIX2 = "aisdk:";
|
|
337
337
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
338
338
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -358,6 +358,7 @@ var builtins = new Map([
|
|
|
358
358
|
["@opencode/ai/providers/alibaba/messages", () => import("@opencode/ai/providers/alibaba/messages")],
|
|
359
359
|
["@opencode/ai/providers/alibaba/responses", () => import("@opencode/ai/providers/alibaba/responses")],
|
|
360
360
|
["@opencode/ai/providers/alibaba/images", () => import("@opencode/ai/providers/alibaba/images")],
|
|
361
|
+
["@opencode/ai/providers/alibaba/embeddings", () => import("@opencode/ai/providers/alibaba/embeddings")],
|
|
361
362
|
["@opencode/ai/providers/amazon-bedrock", () => import("@opencode/ai/providers/amazon-bedrock")],
|
|
362
363
|
["@opencode/ai/providers/amazon-bedrock/mantle", () => import("@opencode/ai/providers/amazon-bedrock/mantle")],
|
|
363
364
|
[
|
|
@@ -378,6 +379,7 @@ var builtins = new Map([
|
|
|
378
379
|
["@opencode/ai/providers/azure/chat", () => import("@opencode/ai/providers/azure/chat")],
|
|
379
380
|
["@opencode/ai/providers/azure/responses", () => import("@opencode/ai/providers/azure/responses")],
|
|
380
381
|
["@opencode/ai/providers/azure/images", () => import("@opencode/ai/providers/azure/images")],
|
|
382
|
+
["@opencode/ai/providers/azure/embeddings", () => import("@opencode/ai/providers/azure/embeddings")],
|
|
381
383
|
["@opencode/ai/providers/azure/messages", () => import("@opencode/ai/providers/azure/messages")],
|
|
382
384
|
["@opencode/ai/providers/baseten", () => import("@opencode/ai/providers/baseten")],
|
|
383
385
|
["@opencode/ai/providers/baseten/decisions", () => import("@opencode/ai/providers/baseten/decisions")],
|
|
@@ -398,15 +400,20 @@ var builtins = new Map([
|
|
|
398
400
|
],
|
|
399
401
|
["@opencode/ai/providers/cohere", () => import("@opencode/ai/providers/cohere")],
|
|
400
402
|
["@opencode/ai/providers/cohere/chat", () => import("@opencode/ai/providers/cohere/chat")],
|
|
403
|
+
["@opencode/ai/providers/cohere/embeddings", () => import("@opencode/ai/providers/cohere/embeddings")],
|
|
401
404
|
["@opencode/ai/providers/deepinfra", () => import("@opencode/ai/providers/deepinfra")],
|
|
405
|
+
["@opencode/ai/providers/deepinfra/embeddings", () => import("@opencode/ai/providers/deepinfra/embeddings")],
|
|
402
406
|
["@opencode/ai/providers/deepseek", () => import("@opencode/ai/providers/deepseek")],
|
|
403
407
|
["@opencode/ai/providers/digitalocean", () => import("@opencode/ai/providers/digitalocean")],
|
|
404
408
|
["@opencode/ai/providers/digitalocean/decisions", () => import("@opencode/ai/providers/digitalocean/decisions")],
|
|
409
|
+
["@opencode/ai/providers/digitalocean/embeddings", () => import("@opencode/ai/providers/digitalocean/embeddings")],
|
|
405
410
|
["@opencode/ai/providers/digitalocean/images", () => import("@opencode/ai/providers/digitalocean/images")],
|
|
406
411
|
["@opencode/ai/providers/digitalocean/responses", () => import("@opencode/ai/providers/digitalocean/responses")],
|
|
407
412
|
["@opencode/ai/providers/fireworks", () => import("@opencode/ai/providers/fireworks")],
|
|
413
|
+
["@opencode/ai/providers/fireworks/embeddings", () => import("@opencode/ai/providers/fireworks/embeddings")],
|
|
408
414
|
["@opencode/ai/providers/google", () => import("@opencode/ai/providers/google")],
|
|
409
415
|
["@opencode/ai/providers/google/interactions", () => import("@opencode/ai/providers/google/interactions")],
|
|
416
|
+
["@opencode/ai/providers/google/embeddings", () => import("@opencode/ai/providers/google/embeddings")],
|
|
410
417
|
["@opencode/ai/providers/google/images", () => import("@opencode/ai/providers/google/images")],
|
|
411
418
|
["@opencode/ai/providers/google-vertex", () => import("@opencode/ai/providers/google-vertex")],
|
|
412
419
|
["@opencode/ai/providers/google-vertex/chat", () => import("@opencode/ai/providers/google-vertex/chat")],
|
|
@@ -418,6 +425,7 @@ var builtins = new Map([
|
|
|
418
425
|
["@opencode/ai/providers/google-vertex/messages", () => import("@opencode/ai/providers/google-vertex/messages")],
|
|
419
426
|
["@opencode/ai/providers/google-vertex/mistral", () => import("@opencode/ai/providers/google-vertex/mistral")],
|
|
420
427
|
["@opencode/ai/providers/google-vertex/responses", () => import("@opencode/ai/providers/google-vertex/responses")],
|
|
428
|
+
["@opencode/ai/providers/google-vertex/embeddings", () => import("@opencode/ai/providers/google-vertex/embeddings")],
|
|
421
429
|
["@opencode/ai/providers/google-vertex/images", () => import("@opencode/ai/providers/google-vertex/images")],
|
|
422
430
|
["@opencode/ai/providers/google-vertex-messages", () => import("@opencode/ai/providers/google-vertex-messages")],
|
|
423
431
|
["@opencode/ai/providers/groq", () => import("@opencode/ai/providers/groq")],
|
|
@@ -440,12 +448,17 @@ var builtins = new Map([
|
|
|
440
448
|
["@opencode/ai/providers/openai/chat", () => import("@opencode/ai/providers/openai/chat")],
|
|
441
449
|
["@opencode/ai/providers/openai/responses", () => import("@opencode/ai/providers/openai/responses")],
|
|
442
450
|
["@opencode/ai/providers/openai/images", () => import("@opencode/ai/providers/openai/images")],
|
|
451
|
+
["@opencode/ai/providers/openai/embeddings", () => import("@opencode/ai/providers/openai/embeddings")],
|
|
443
452
|
["@opencode/ai/providers/openai-compatible", () => import("@opencode/ai/providers/openai-compatible")],
|
|
444
453
|
[
|
|
445
454
|
"@opencode/ai/providers/openai-compatible/responses",
|
|
446
455
|
() => import("@opencode/ai/providers/openai-compatible/responses")
|
|
447
456
|
],
|
|
448
457
|
["@opencode/ai/providers/openai-compatible/images", () => import("@opencode/ai/providers/openai-compatible/images")],
|
|
458
|
+
[
|
|
459
|
+
"@opencode/ai/providers/openai-compatible/embeddings",
|
|
460
|
+
() => import("@opencode/ai/providers/openai-compatible/embeddings")
|
|
461
|
+
],
|
|
449
462
|
[
|
|
450
463
|
"@opencode/ai/providers/openai-compatible-responses",
|
|
451
464
|
() => import("@opencode/ai/providers/openai-compatible-responses")
|
|
@@ -453,6 +466,7 @@ var builtins = new Map([
|
|
|
453
466
|
["@opencode/ai/providers/opencode/decisions", () => import("@opencode/ai/providers/opencode/decisions")],
|
|
454
467
|
["@opencode/ai/providers/openrouter", () => import("@opencode/ai/providers/openrouter")],
|
|
455
468
|
["@opencode/ai/providers/openrouter/decisions", () => import("@opencode/ai/providers/openrouter/decisions")],
|
|
469
|
+
["@opencode/ai/providers/openrouter/embeddings", () => import("@opencode/ai/providers/openrouter/embeddings")],
|
|
456
470
|
["@opencode/ai/providers/openrouter/images", () => import("@opencode/ai/providers/openrouter/images")],
|
|
457
471
|
["@opencode/ai/providers/openrouter/responses", () => import("@opencode/ai/providers/openrouter/responses")],
|
|
458
472
|
["@opencode/ai/providers/togetherai", () => import("@opencode/ai/providers/togetherai")],
|
|
@@ -474,6 +488,10 @@ var builtins = new Map([
|
|
|
474
488
|
() => import("@opencode/ai/providers/vercel-ai-gateway/decisions")
|
|
475
489
|
],
|
|
476
490
|
["@opencode/ai/providers/vercel-ai-gateway/images", () => import("@opencode/ai/providers/vercel-ai-gateway/images")],
|
|
491
|
+
[
|
|
492
|
+
"@opencode/ai/providers/vercel-ai-gateway/embeddings",
|
|
493
|
+
() => import("@opencode/ai/providers/vercel-ai-gateway/embeddings")
|
|
494
|
+
],
|
|
477
495
|
["@opencode/ai/providers/xai", () => import("@opencode/ai/providers/xai")],
|
|
478
496
|
["@opencode/ai/providers/xai/images", () => import("@opencode/ai/providers/xai/images")],
|
|
479
497
|
["@opencode/ai/providers/zai", () => import("@opencode/ai/providers/zai")],
|
|
@@ -577,9 +595,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
577
595
|
var Cache2 = Provider.Cache;
|
|
578
596
|
var Transport2 = Provider.Transport;
|
|
579
597
|
var Settings2 = Provider.Settings;
|
|
580
|
-
var
|
|
598
|
+
var Info25 = Provider.Info;
|
|
581
599
|
|
|
582
|
-
class
|
|
600
|
+
class Service85 extends Context.Service()("@opencode/Provider") {
|
|
583
601
|
}
|
|
584
602
|
var definitions = new WeakMap;
|
|
585
603
|
function index(providerID, models) {
|
|
@@ -592,10 +610,10 @@ function index(providerID, models) {
|
|
|
592
610
|
definitions.set(models, indexes);
|
|
593
611
|
return result;
|
|
594
612
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
596
|
-
const bus = yield*
|
|
597
|
-
const integrations = yield*
|
|
598
|
-
const location = yield*
|
|
613
|
+
var layer = Layer.effect(Service85, Effect2.gen(function* () {
|
|
614
|
+
const bus = yield* Service93;
|
|
615
|
+
const integrations = yield* Service86;
|
|
616
|
+
const location = yield* Service90;
|
|
599
617
|
const state = create4({
|
|
600
618
|
name: "provider",
|
|
601
619
|
initial: () => new Map,
|
|
@@ -606,7 +624,7 @@ var layer = Layer.effect(Service83, Effect2.gen(function* () {
|
|
|
606
624
|
const current = records.get(id);
|
|
607
625
|
if (current)
|
|
608
626
|
return current;
|
|
609
|
-
const added = { provider:
|
|
627
|
+
const added = { provider: Info25.empty(id), models: new Map };
|
|
610
628
|
records.set(id, added);
|
|
611
629
|
maps.add(added.models);
|
|
612
630
|
return added;
|
|
@@ -687,7 +705,7 @@ var layer = Layer.effect(Service83, Effect2.gen(function* () {
|
|
|
687
705
|
const available = Array.from(records.values()).filter((record) => {
|
|
688
706
|
if (record.provider.activation === "disabled")
|
|
689
707
|
return false;
|
|
690
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
708
|
+
const integration = byID.get(record.provider.integrationID ?? ID18.make(record.provider.id));
|
|
691
709
|
if (record.sourceConnection && key3(record.sourceConnection) !== key3(integration?.connections[0]))
|
|
692
710
|
return false;
|
|
693
711
|
if (record.provider.activation === "enabled")
|
|
@@ -713,8 +731,8 @@ var layer = Layer.effect(Service83, Effect2.gen(function* () {
|
|
|
713
731
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
714
732
|
});
|
|
715
733
|
});
|
|
716
|
-
yield* bus.subscribe([
|
|
717
|
-
return
|
|
734
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
735
|
+
return Service85.of({
|
|
718
736
|
transform: state.transform,
|
|
719
737
|
reload: state.reload,
|
|
720
738
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +741,7 @@ var layer = Layer.effect(Service83, Effect2.gen(function* () {
|
|
|
723
741
|
snapshot
|
|
724
742
|
});
|
|
725
743
|
}));
|
|
726
|
-
var
|
|
744
|
+
var node87 = makeLocationNode({ service: Service85, layer, deps: [node95, node88, node92] });
|
|
727
745
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
746
|
const module = yield* Effect2.tryPromise({
|
|
729
747
|
try: () => {
|
|
@@ -745,4 +763,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
763
|
return module;
|
|
746
764
|
});
|
|
747
765
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
766
|
+
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service85, node87, exports_provider5, Event17 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./aisdk-2kppfj1b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./aisdk-pbxf7rhd.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin43,
|
|
16
16
|
register: () => register8
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin43 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register8(ctx.event.subscribe({ types: ["config.updated"] }));
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register8 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service79;
|
|
28
|
+
const mcp = yield* Service41;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register8 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin43, register8, exports_mcp2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-jkdcm5hg.js";
|
|
4
4
|
import {
|
|
5
5
|
make12
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-6edbc7zm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/query-options.ts
|
|
12
12
|
var exports_query_options = {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/app.ts
|
|
6
|
+
var exports_app = {};
|
|
7
|
+
__export(exports_app, {
|
|
8
|
+
App: () => exports_app,
|
|
9
|
+
Service: () => Service81,
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer28,
|
|
12
|
+
make: () => make34,
|
|
13
|
+
node: () => node83,
|
|
14
|
+
useragent: () => useragent2
|
|
15
|
+
});
|
|
16
|
+
import { Context, Layer } from "effect";
|
|
17
|
+
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
|
+
|
|
19
|
+
class Service81 extends Context.Service()("@opencode/App") {
|
|
20
|
+
}
|
|
21
|
+
function make34(input = {}) {
|
|
22
|
+
return {
|
|
23
|
+
name: input.name ?? "opencode",
|
|
24
|
+
version: input.version ?? "unknown",
|
|
25
|
+
channel: input.channel ?? "unknown"
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function useragent2(app) {
|
|
29
|
+
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
|
+
}
|
|
31
|
+
var layer28 = (input) => Layer.succeed(Service81, make34(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Service81, layer: layer28(input), deps: [] });
|
|
33
|
+
var node83 = configured11();
|
|
34
|
+
|
|
35
|
+
export { Service81, make34, useragent2, layer28, configured11, node83, exports_app };
|
|
@@ -2,39 +2,39 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service90,
|
|
8
|
+
node92
|
|
9
|
+
} from "./aisdk-tvcgpvd0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service54,
|
|
12
|
+
node57
|
|
13
|
+
} from "./aisdk-w97rc7e5.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event11,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError8,
|
|
34
|
+
Service: () => Service53,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node56
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError8 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
65
65
|
return `Access denied to directory: ${this.directory}`;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var Content3 = Schema.Struct({
|
|
69
69
|
uri: Schema.String,
|
|
70
70
|
name: Schema.String.pipe(Schema.optional),
|
|
71
71
|
content: Schema.String,
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event11 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service53 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service53, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service90;
|
|
102
|
+
const search = yield* Service54;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError8({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError8({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError8({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service53.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError8({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError8({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -159,10 +159,10 @@ var baseLayer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
159
159
|
})
|
|
160
160
|
});
|
|
161
161
|
}));
|
|
162
|
-
var
|
|
163
|
-
service:
|
|
162
|
+
var node56 = makeLocationNode({
|
|
163
|
+
service: Service53,
|
|
164
164
|
layer: baseLayer,
|
|
165
|
-
deps: [FSUtil.node,
|
|
165
|
+
deps: [FSUtil.node, node92, node57]
|
|
166
166
|
});
|
|
167
167
|
|
|
168
|
-
export { FindInput2, Write2,
|
|
168
|
+
export { FindInput2, Write2, NotFoundError8, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event11, Service53, node56, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./aisdk-zq6v4bhr.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service82
|
|
7
|
+
} from "./aisdk-qr8b207q.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service79
|
|
11
|
+
} from "./aisdk-2kppfj1b.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-qtf35215.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service60
|
|
17
|
+
} from "./aisdk-h53e1x1n.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./aisdk-wnd5csx8.js";
|
|
23
23
|
import {
|
|
24
24
|
Service30
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./aisdk-518vc1zc.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-0j7gp832.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service12
|
|
31
|
+
} from "./aisdk-nfmqhqkx.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input7,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin8,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name7
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name7 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -57,7 +57,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
57
57
|
].join(`
|
|
58
58
|
`)
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input7 = Schema.Struct({
|
|
61
61
|
agent: Schema.String.annotate({
|
|
62
62
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
63
63
|
}),
|
|
@@ -73,12 +73,12 @@ var Input8 = Schema.Struct({
|
|
|
73
73
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
|
-
var
|
|
76
|
+
var Output3 = Schema.Struct({
|
|
77
77
|
sessionID: SessionSchema2.ID,
|
|
78
78
|
status: Schema.Literals(["completed", "running"]),
|
|
79
79
|
output: Schema.String
|
|
80
80
|
});
|
|
81
|
-
var
|
|
81
|
+
var description4 = [
|
|
82
82
|
"Spawns an agent in a child session to work on the specified task.",
|
|
83
83
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
84
84
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -87,16 +87,16 @@ var description5 = [
|
|
|
87
87
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
88
88
|
].join(`
|
|
89
89
|
`);
|
|
90
|
-
var
|
|
90
|
+
var Plugin8 = {
|
|
91
91
|
id: "opencode.tool.subagent",
|
|
92
92
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
93
93
|
const sessions = yield* Service30;
|
|
94
|
-
const jobs = yield*
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const config = yield*
|
|
97
|
-
const permission = yield*
|
|
98
|
-
const models = yield*
|
|
99
|
-
const subagents = yield*
|
|
94
|
+
const jobs = yield* Service60;
|
|
95
|
+
const agents = yield* Service77;
|
|
96
|
+
const config = yield* Service79;
|
|
97
|
+
const permission = yield* Service73;
|
|
98
|
+
const models = yield* Service82;
|
|
99
|
+
const subagents = yield* Service12;
|
|
100
100
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
101
101
|
const ref = yield* Effect.try({
|
|
102
102
|
try: () => Ref3.parse(input),
|
|
@@ -118,11 +118,11 @@ var Plugin46 = {
|
|
|
118
118
|
return ref;
|
|
119
119
|
});
|
|
120
120
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
121
|
-
name:
|
|
121
|
+
name: name7,
|
|
122
122
|
options: { codemode: false },
|
|
123
|
-
description:
|
|
124
|
-
input:
|
|
125
|
-
output:
|
|
123
|
+
description: description4,
|
|
124
|
+
input: Input7,
|
|
125
|
+
output: Output3,
|
|
126
126
|
execute: (input, context) => Effect.gen(function* () {
|
|
127
127
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
128
128
|
let current = parent;
|
|
@@ -142,7 +142,7 @@ var Plugin46 = {
|
|
|
142
142
|
if (agent.mode === "primary")
|
|
143
143
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
144
144
|
yield* permission.assert({
|
|
145
|
-
action:
|
|
145
|
+
action: name7,
|
|
146
146
|
resources: [agent.id],
|
|
147
147
|
save: [agent.id],
|
|
148
148
|
...invocation2(context)
|
|
@@ -215,7 +215,7 @@ ${output.output}
|
|
|
215
215
|
})))
|
|
216
216
|
})).pipe(Effect.orDie);
|
|
217
217
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
218
|
-
if (event.tool !==
|
|
218
|
+
if (event.tool !== name7 || !Predicate.isObject(event.input))
|
|
219
219
|
return;
|
|
220
220
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
221
221
|
return;
|
|
@@ -227,13 +227,13 @@ ${output.output}
|
|
|
227
227
|
event.input = input;
|
|
228
228
|
}));
|
|
229
229
|
const hook = (event) => Effect.gen(function* () {
|
|
230
|
-
const tool = event.tools[
|
|
230
|
+
const tool = event.tools[name7];
|
|
231
231
|
if (!tool)
|
|
232
232
|
return;
|
|
233
233
|
const selected = yield* agents.resolve(event.agent);
|
|
234
234
|
if (!selected)
|
|
235
235
|
return;
|
|
236
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
236
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
237
237
|
if (available.length === 0)
|
|
238
238
|
return;
|
|
239
239
|
tool.description = [
|
|
@@ -250,4 +250,4 @@ ${output.output}
|
|
|
250
250
|
})
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
export {
|
|
253
|
+
export { name7, Input7, Output3, description4, Plugin8, exports_subagent };
|