@opencode/core 0.0.0-dev-20648 → 0.0.0-dev-20649
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{pty-pr3txkn9.js → mime-00qg2tcw.js} +13 -13
- package/dist/chunks/{pty-bt3wk4ae.js → mime-03d19y83.js} +4 -4
- package/dist/chunks/{pty-7pgwfb4h.js → mime-04mq6ee8.js} +27 -27
- package/dist/chunks/{pty-ckf8nxjz.js → mime-06x8he3q.js} +4 -4
- package/dist/chunks/{pty-csn018d7.js → mime-070fvye4.js} +42 -42
- package/dist/chunks/{pty-d45sg6xs.js → mime-0fan8waa.js} +20 -20
- package/dist/chunks/{pty-acg7byny.js → mime-0hwq8h39.js} +9 -9
- package/dist/chunks/{pty-q0xm7vwc.js → mime-0j77ygfz.js} +6 -6
- package/dist/chunks/{pty-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
- package/dist/chunks/{pty-f33yc4k3.js → mime-0yzyde6c.js} +21 -21
- package/dist/chunks/{pty-a2hf6yb4.js → mime-12n08y7q.js} +8 -8
- package/dist/chunks/{pty-1qq73t15.js → mime-13qx119e.js} +10 -10
- package/dist/chunks/{pty-f34j0f4a.js → mime-16c21bq7.js} +10 -10
- package/dist/chunks/{pty-d3mnj8kh.js → mime-170w37en.js} +1 -1
- package/dist/chunks/{pty-g9jfc9ac.js → mime-1b37m1mh.js} +15 -15
- package/dist/chunks/{pty-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-84h8c373.js → mime-1dvck2a7.js} +2 -2
- package/dist/chunks/{pty-09pca8az.js → mime-1j858gve.js} +24 -24
- package/dist/chunks/{pty-tb7q8jz9.js → mime-1mdr38wd.js} +18 -18
- package/dist/chunks/{pty-yrcj3v3g.js → mime-1rn5pcm9.js} +4 -4
- package/dist/chunks/{pty-1ygqh575.js → mime-1ygqh575.js} +2 -2
- package/dist/chunks/{pty-vpxjmme6.js → mime-23h4de3k.js} +16 -16
- package/dist/chunks/{pty-27qxacty.js → mime-27xqmrb2.js} +15 -15
- package/dist/chunks/{pty-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-b56sn4ad.js → mime-2at4bpy3.js} +10 -10
- package/dist/chunks/{pty-4ts7tf6z.js → mime-2ccvkpx1.js} +2 -2
- package/dist/chunks/{pty-2k8khapm.js → mime-2k8khapm.js} +1 -1
- package/dist/chunks/{pty-anfgajne.js → mime-2nhfnjcw.js} +16 -16
- package/dist/chunks/{pty-cwtckkf6.js → mime-2nthby9b.js} +27 -27
- package/dist/chunks/{pty-q0jcpdgf.js → mime-2sdz7qh7.js} +48 -48
- package/dist/chunks/{pty-wpybfb3e.js → mime-2vdde78z.js} +9 -9
- package/dist/chunks/{pty-bvjche96.js → mime-2wjfq3y1.js} +2 -2
- package/dist/chunks/{pty-ad0bmy2v.js → mime-31b5zmy0.js} +25 -25
- package/dist/chunks/{pty-rfyh9d2c.js → mime-34vqaa0j.js} +27 -27
- package/dist/chunks/{pty-vxp3kcg3.js → mime-38adaqc0.js} +5 -5
- package/dist/chunks/{pty-p1a0bpjp.js → mime-393wq71a.js} +25 -25
- package/dist/chunks/{pty-yas84py3.js → mime-3ch2ac9z.js} +13 -13
- package/dist/chunks/{pty-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-nkxt7aqy.js → mime-3fw4vykw.js} +33 -33
- package/dist/chunks/{pty-4c91ejxn.js → mime-3h16yct6.js} +7 -7
- package/dist/chunks/{pty-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-ehypbcz6.js → mime-3hx84xbv.js} +27 -27
- package/dist/chunks/{pty-em95cejf.js → mime-3ktk39h6.js} +12 -12
- package/dist/chunks/{pty-6pdpv8kk.js → mime-3py696r4.js} +11 -11
- package/dist/chunks/{pty-g3msn0ej.js → mime-3qhg2zya.js} +5 -5
- package/dist/chunks/{pty-89rvcjqs.js → mime-3rd28rcz.js} +11 -11
- package/dist/chunks/{pty-b3jqpnzw.js → mime-3rz5q6jx.js} +13 -13
- package/dist/chunks/{pty-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-k9s9h972.js → mime-3thfs4vd.js} +3 -3
- package/dist/chunks/{pty-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-48km10qy.js → mime-43efg38y.js} +14 -14
- package/dist/chunks/mime-459hb6np.js +253 -0
- package/dist/chunks/{pty-mt3n9ssm.js → mime-4tamdkr5.js} +5 -5
- package/dist/chunks/{pty-bp8hqz04.js → mime-4x0vy5hp.js} +3 -3
- package/dist/chunks/{pty-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{pty-sv5c54x8.js → mime-564aqkfr.js} +40 -40
- package/dist/chunks/{pty-xexk5p4t.js → mime-58phr483.js} +70 -70
- package/dist/chunks/{pty-9rh5dvbx.js → mime-59s0kgwy.js} +3 -3
- package/dist/chunks/{pty-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-ph20cxtq.js → mime-5fb55ywp.js} +9 -9
- package/dist/chunks/{pty-j17byzzq.js → mime-5g9khqm3.js} +11 -11
- package/dist/chunks/{pty-gtmxr1a9.js → mime-5g9tk4c4.js} +23 -23
- package/dist/chunks/{pty-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{pty-tp4ajszw.js → mime-5mqyks12.js} +36 -36
- package/dist/chunks/{pty-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-c19p4hyh.js → mime-5wn8k982.js} +25 -25
- package/dist/chunks/{pty-a2zg833y.js → mime-61zpm44j.js} +11 -11
- package/dist/chunks/{pty-5rz2hsq0.js → mime-6540dvt1.js} +7 -7
- package/dist/chunks/{pty-kpxf0xq6.js → mime-6cpwc79d.js} +24 -24
- package/dist/chunks/{pty-kvvk39gs.js → mime-6m42r3np.js} +21 -21
- package/dist/chunks/{pty-6xb47vfp.js → mime-6xb47vfp.js} +1 -1
- package/dist/chunks/{pty-f75zav2x.js → mime-71az546q.js} +2 -2
- package/dist/chunks/{pty-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-923rcr6j.js → mime-7hwp9pe8.js} +11 -11
- package/dist/chunks/{pty-r79jpe1g.js → mime-7zx1qa5e.js} +14 -14
- package/dist/chunks/{pty-84txncab.js → mime-84txncab.js} +1 -1
- package/dist/chunks/{pty-2k71kv7p.js → mime-86qzxe6p.js} +4 -4
- package/dist/chunks/{pty-tcezcvh9.js → mime-89znhe33.js} +4 -4
- package/dist/chunks/{pty-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-rtjv9fpq.js → mime-8gxsn6kg.js} +35 -35
- package/dist/chunks/{pty-q8zbp1h0.js → mime-8nzt4413.js} +11 -11
- package/dist/chunks/{pty-dmpsdkb3.js → mime-93exgp6v.js} +54 -54
- package/dist/chunks/{pty-kyr1z5gy.js → mime-93ymncz8.js} +21 -21
- package/dist/chunks/{pty-zt18z2tx.js → mime-93z3pz9m.js} +32 -32
- package/dist/chunks/{pty-0retw3c6.js → mime-99773vnq.js} +37 -37
- package/dist/chunks/{pty-qs7m5bs1.js → mime-9cnwn640.js} +16 -16
- package/dist/chunks/{pty-kb9j3d72.js → mime-9e5bzkjp.js} +3 -3
- package/dist/chunks/{pty-cmwkp3r5.js → mime-9hn6k4tm.js} +8 -8
- package/dist/chunks/{pty-h921bxg9.js → mime-9hyysrhy.js} +11 -11
- package/dist/chunks/{pty-ndphwy30.js → mime-9ne60yjh.js} +20 -20
- package/dist/chunks/{pty-ctdhhp9a.js → mime-9pnm2vv9.js} +30 -30
- package/dist/chunks/{pty-vgd5xkr1.js → mime-9qvg3h9w.js} +85 -85
- package/dist/chunks/{pty-6rhsmm9b.js → mime-a1nag75j.js} +4 -4
- package/dist/chunks/{pty-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-mxvxcxwy.js → mime-addxnjmp.js} +4 -4
- package/dist/chunks/{pty-f8m0k53h.js → mime-aet780dh.js} +9 -9
- package/dist/chunks/{pty-nm21rvpv.js → mime-ag7r9101.js} +11 -11
- package/dist/chunks/{pty-sqvzcy4n.js → mime-as7cf5zz.js} +4 -4
- package/dist/chunks/{pty-scgrse2b.js → mime-b3f8fkhc.js} +5 -5
- package/dist/chunks/{pty-c8449nhm.js → mime-b644w2ar.js} +11 -11
- package/dist/chunks/{pty-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-ksx0wd75.js → mime-bryryzyy.js} +11 -11
- package/dist/chunks/{pty-nche7t88.js → mime-bxcw0mka.js} +8 -8
- package/dist/chunks/{pty-mt4678g7.js → mime-c2hscm47.js} +26 -26
- package/dist/chunks/{pty-d7jcpxfr.js → mime-c9e1chd6.js} +13 -13
- package/dist/chunks/{pty-8jypv1cv.js → mime-cca1v9sb.js} +10 -10
- package/dist/chunks/{pty-4kbb9d62.js → mime-ccdh6zge.js} +10 -10
- package/dist/chunks/{pty-6tsxpv82.js → mime-cn48saaq.js} +19 -19
- package/dist/chunks/{pty-8k3tzzhw.js → mime-cs0pyha6.js} +45 -45
- package/dist/chunks/{pty-dhng9vzx.js → mime-d009mnpz.js} +29 -29
- package/dist/chunks/{pty-h462srpz.js → mime-d9v54453.js} +8 -8
- package/dist/chunks/{pty-dpkg50ah.js → mime-dpkg50ah.js} +1 -1
- package/dist/chunks/{pty-wd3qynhg.js → mime-ds0wtj4e.js} +1 -1
- package/dist/chunks/{pty-ev7nexnv.js → mime-ds77a3s3.js} +34 -34
- package/dist/chunks/{pty-fv8pqfsd.js → mime-dtm252p1.js} +5 -5
- package/dist/chunks/{pty-9cfex9y1.js → mime-dtt66365.js} +22 -22
- package/dist/chunks/{pty-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
- package/dist/chunks/{pty-gzqsmt5r.js → mime-e5ncbec4.js} +4 -4
- package/dist/chunks/{pty-y71s8m6t.js → mime-e9dcgzx6.js} +4 -4
- package/dist/chunks/{pty-mjex1bph.js → mime-ea5vh3bk.js} +41 -41
- package/dist/chunks/{pty-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-mk442ktg.js → mime-eqdfs7ht.js} +6 -6
- package/dist/chunks/{pty-0akqd5d4.js → mime-esfhhzdr.js} +21 -21
- package/dist/chunks/{pty-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-ay5x7dxy.js → mime-f3cq72f8.js} +34 -34
- package/dist/chunks/{pty-z4snssz9.js → mime-f3kq77fw.js} +20 -20
- package/dist/chunks/{pty-xvjb85ys.js → mime-f44mjg6h.js} +4 -4
- package/dist/chunks/{pty-qeh1kqdq.js → mime-faajnp1h.js} +8 -8
- package/dist/chunks/{pty-9r9wb4j2.js → mime-fb2y2dbg.js} +11 -11
- package/dist/chunks/{pty-nj17t0gr.js → mime-fd1b7pt2.js} +15 -15
- package/dist/chunks/{pty-emwywv8g.js → mime-fhz5gfgy.js} +5 -5
- package/dist/chunks/{pty-hzrfc1p4.js → mime-fpnx24t4.js} +3 -3
- package/dist/chunks/{pty-thkc5986.js → mime-g530ctaj.js} +11 -11
- package/dist/chunks/{pty-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-624z605s.js → mime-gdmg3xqt.js} +18 -18
- package/dist/chunks/{pty-k70p9jzb.js → mime-gh5z95q3.js} +9 -9
- package/dist/chunks/{pty-0099bvhy.js → mime-ghcmpcfh.js} +9 -9
- package/dist/chunks/{pty-nxkfy0rg.js → mime-ghe998k5.js} +11 -11
- package/dist/chunks/{pty-rvghhgda.js → mime-gkhvwrqw.js} +17 -17
- package/dist/chunks/{pty-9se51ysk.js → mime-gphzfxhq.js} +27 -27
- package/dist/chunks/{pty-4kc2bv9g.js → mime-h05y6get.js} +33 -33
- package/dist/chunks/{pty-9d8x5jdk.js → mime-h1qnxspz.js} +31 -31
- package/dist/chunks/{pty-3cegwx68.js → mime-h2b79v29.js} +2 -2
- package/dist/chunks/{pty-z1f2d5px.js → mime-h696b5ha.js} +30 -30
- package/dist/chunks/{pty-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-d036g1ys.js → mime-h9dg90ta.js} +7 -7
- package/dist/chunks/{pty-txjh0ez7.js → mime-ha65gv77.js} +17 -17
- package/dist/chunks/{pty-gq70b9ca.js → mime-har29xsp.js} +7 -7
- package/dist/chunks/{pty-m995qhkc.js → mime-hkx83aab.js} +5 -5
- package/dist/chunks/{pty-rrpq0de9.js → mime-hs1x7rht.js} +5 -5
- package/dist/chunks/{pty-32t0bw84.js → mime-hy49mbwe.js} +12 -12
- package/dist/chunks/{pty-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-6fgykvfe.js → mime-j6gcmj6w.js} +3 -3
- package/dist/chunks/{pty-xqpfqqd7.js → mime-j9g4e7w9.js} +20 -20
- package/dist/chunks/{pty-da3p7k9k.js → mime-jk8bzzjw.js} +4 -4
- package/dist/chunks/{pty-cfsekr6v.js → mime-jktqzjpa.js} +8 -8
- package/dist/chunks/{pty-9tyz0y11.js → mime-jrc5bn6s.js} +11 -11
- package/dist/chunks/{pty-ddy3e1gr.js → mime-jskn7g1e.js} +3 -3
- package/dist/chunks/{pty-ap8tz65t.js → mime-jxd6d72w.js} +3 -3
- package/dist/chunks/{pty-1p7f10vm.js → mime-k1qrnqst.js} +8 -8
- package/dist/chunks/{pty-3z4a0cq1.js → mime-k63gn3x0.js} +4 -4
- package/dist/chunks/{pty-bw9phdsx.js → mime-kbx4g6d9.js} +30 -30
- package/dist/chunks/{pty-sm2pca5m.js → mime-kj8me5dh.js} +5 -5
- package/dist/chunks/{pty-zge3vb8x.js → mime-kn1g41v8.js} +24 -24
- package/dist/chunks/{pty-55t9wqe0.js → mime-ksgsjq6b.js} +20 -20
- package/dist/chunks/{pty-wa3vteb6.js → mime-kvvdvz0d.js} +37 -37
- package/dist/chunks/{pty-nanknxd5.js → mime-ky7drcmt.js} +13 -13
- package/dist/chunks/{pty-xbe8mphx.js → mime-kz8ps502.js} +12 -12
- package/dist/chunks/{pty-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-97c348b2.js → mime-m6yxcdx8.js} +32 -32
- package/dist/chunks/{pty-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-a1gpj94z.js → mime-mhkvc446.js} +3 -3
- package/dist/chunks/{pty-efk260vg.js → mime-myn0gkp2.js} +16 -16
- package/dist/chunks/{pty-wja9eyn5.js → mime-mypwhdkk.js} +6 -6
- package/dist/chunks/{pty-42q8eg0m.js → mime-mz925t54.js} +5 -5
- package/dist/chunks/{pty-zqfdtaf3.js → mime-n11krz91.js} +42 -42
- package/dist/chunks/{pty-gap9jj81.js → mime-n14gvf56.js} +14 -14
- package/dist/chunks/{pty-5rpr6ftq.js → mime-n88acrca.js} +17 -17
- package/dist/chunks/{pty-gj71zhbs.js → mime-n8vdnqrc.js} +5 -5
- package/dist/chunks/{pty-8j0pg7vy.js → mime-na7gn6xf.js} +29 -29
- package/dist/chunks/{pty-pk028k88.js → mime-ncj3k1yy.js} +26 -26
- package/dist/chunks/{pty-e3cy6mqt.js → mime-ndn3sg6m.js} +5 -5
- package/dist/chunks/{pty-x8t7tj7c.js → mime-npzkpwms.js} +8 -8
- package/dist/chunks/{pty-t4y1vgnz.js → mime-p02g0fw2.js} +24 -24
- package/dist/chunks/{pty-a6syyywt.js → mime-p1dcwdyv.js} +26 -26
- package/dist/chunks/{pty-hsf7jdvw.js → mime-p1ve58ng.js} +30 -30
- package/dist/chunks/{pty-2vqnfsz1.js → mime-p6cz1f6w.js} +16 -16
- package/dist/chunks/{pty-23897brc.js → mime-pd812h7a.js} +8 -8
- package/dist/chunks/{pty-zg438qz9.js → mime-pe057h99.js} +44 -44
- package/dist/chunks/{pty-t17teb9f.js → mime-penzfr98.js} +19 -19
- package/dist/chunks/{pty-mjv4r1bw.js → mime-pfcsshcq.js} +26 -26
- package/dist/chunks/mime-phz3h32g.js +18 -0
- package/dist/chunks/{pty-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{pty-dshcjhsp.js → mime-pkw6pxyw.js} +30 -30
- package/dist/chunks/{pty-ykher12f.js → mime-pzhq4eaf.js} +17 -17
- package/dist/chunks/{pty-y8p3zjbc.js → mime-q3ersh05.js} +6 -6
- package/dist/chunks/{pty-qr3e0xf1.js → mime-qjev0pmq.js} +6 -6
- package/dist/chunks/{pty-2sejkfem.js → mime-qmqgtz8f.js} +9 -9
- package/dist/chunks/{pty-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
- package/dist/chunks/{pty-x3mar638.js → mime-qreg5ges.js} +175 -175
- package/dist/chunks/{pty-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-2hpka7mt.js → mime-qt8b63p3.js} +18 -18
- package/dist/chunks/{pty-qxjc9qry.js → mime-qxjc9qry.js} +3 -3
- package/dist/chunks/{pty-53ybeb94.js → mime-r7a7bxfj.js} +28 -28
- package/dist/chunks/{pty-r8xr0va3.js → mime-r8xr0va3.js} +1 -1
- package/dist/chunks/{pty-bydnjh3t.js → mime-r9w3djhf.js} +9 -9
- package/dist/chunks/{pty-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-wv396vej.js → mime-rhjbct0v.js} +8 -8
- package/dist/chunks/{pty-874yzzjt.js → mime-rq7mwymb.js} +20 -20
- package/dist/chunks/{pty-d8h4y8x2.js → mime-ry36jsf7.js} +11 -11
- package/dist/chunks/{pty-gcytf9y4.js → mime-s0txbpxx.js} +26 -26
- package/dist/chunks/{pty-v8cctvef.js → mime-sb6an3dy.js} +7 -7
- package/dist/chunks/{pty-0y9mdftf.js → mime-sjq3gc3m.js} +3 -3
- package/dist/chunks/{pty-bd8ayshm.js → mime-spf27589.js} +4 -4
- package/dist/chunks/{pty-8rqycdgd.js → mime-sxz6gkc3.js} +4 -4
- package/dist/chunks/{pty-zp1h7pbg.js → mime-szavfcg2.js} +22 -22
- package/dist/chunks/{pty-ab4j4ym1.js → mime-t4cg2ngh.js} +328 -328
- package/dist/chunks/{pty-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-e04nd2rq.js → mime-tcqa4h8g.js} +10 -10
- package/dist/chunks/{pty-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{pty-p6drkcnf.js → mime-tevtjb4d.js} +15 -15
- package/dist/chunks/{pty-phze5rqg.js → mime-tgwh4g45.js} +3 -3
- package/dist/chunks/{pty-9ex8f1cq.js → mime-tk9ew89t.js} +8 -8
- package/dist/chunks/{pty-gbvzc8kx.js → mime-tz5y8hw2.js} +20 -20
- package/dist/chunks/{pty-v0es1rhs.js → mime-v0es1rhs.js} +2 -2
- package/dist/chunks/{pty-ky8w6whr.js → mime-v1q4cba8.js} +6 -6
- package/dist/chunks/{pty-c04nv0t5.js → mime-v553wp33.js} +48 -48
- package/dist/chunks/{pty-8wbxkt1z.js → mime-v7z2bvyd.js} +4 -4
- package/dist/chunks/{pty-d7tem15s.js → mime-v9aw5k7b.js} +13 -13
- package/dist/chunks/{pty-f83zg7kr.js → mime-va8pbtsb.js} +24 -24
- package/dist/chunks/{pty-mb37bn90.js → mime-vb17zyzn.js} +14 -14
- package/dist/chunks/{pty-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-y1202j2k.js → mime-vjmwwnet.js} +4 -4
- package/dist/chunks/{pty-67edg2p2.js → mime-vk6h2smq.js} +17 -17
- package/dist/chunks/{pty-tc6qcdy5.js → mime-vkt5fbj2.js} +8 -8
- package/dist/chunks/{pty-thrtz6av.js → mime-vq5be08n.js} +3 -3
- package/dist/chunks/{pty-cq5kxxzs.js → mime-vqbdn0d9.js} +17 -17
- package/dist/chunks/{pty-eqkxs06z.js → mime-vqfzq50h.js} +6 -6
- package/dist/chunks/{pty-bmcex1jf.js → mime-vw2nt98j.js} +9 -9
- package/dist/chunks/{pty-q581keqr.js → mime-vw5a0rfv.js} +2 -2
- package/dist/chunks/{pty-4wwqnvbr.js → mime-vxzh5eqq.js} +4 -4
- package/dist/chunks/{pty-0zrv4f4y.js → mime-vy452p9v.js} +11 -11
- package/dist/chunks/{pty-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-g5w8qwbj.js → mime-w19d8598.js} +7 -7
- package/dist/chunks/{pty-g6yfr6ja.js → mime-w2h15q85.js} +5 -5
- package/dist/chunks/{pty-p48syh26.js → mime-w2p0hagm.js} +16 -16
- package/dist/chunks/{pty-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-dppya6f9.js → mime-w4afprn7.js} +24 -24
- package/dist/chunks/{pty-bncrevqt.js → mime-wbfm5czg.js} +22 -22
- package/dist/chunks/{pty-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{pty-qtx5aasq.js → mime-wpwvc70n.js} +11 -11
- package/dist/chunks/{pty-8yen0vmk.js → mime-ws8rf1n9.js} +19 -19
- package/dist/chunks/{pty-gb39ghec.js → mime-wvy7zsan.js} +9 -9
- package/dist/chunks/{pty-ad0mmn42.js → mime-x4aqza7e.js} +9 -9
- package/dist/chunks/{pty-hqq5g41y.js → mime-xawtvtgk.js} +42 -42
- package/dist/chunks/{pty-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
- package/dist/chunks/{pty-b69jv39p.js → mime-xp3fh2h7.js} +1 -1
- package/dist/chunks/{pty-qq6e0a1m.js → mime-xz9m3t1f.js} +22 -22
- package/dist/chunks/{pty-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-7ppg2tjj.js → mime-y5jr1bsy.js} +85 -85
- package/dist/chunks/{pty-fggkqnd8.js → mime-y8j7y9g5.js} +16 -16
- package/dist/chunks/{pty-vjjaysxc.js → mime-yjspgx20.js} +2 -2
- package/dist/chunks/{pty-w7qxzhtt.js → mime-yqpe8af8.js} +20 -20
- package/dist/chunks/{pty-v5zgyzx5.js → mime-ywq4z9t2.js} +9 -9
- package/dist/chunks/{pty-yac0akaj.js → mime-yx80kbmw.js} +5 -5
- package/dist/chunks/{pty-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-sf4w6t5k.js → mime-z2mbgn3s.js} +50 -50
- package/dist/chunks/{pty-92n0272q.js → mime-z92vphtz.js} +17 -17
- package/dist/chunks/{pty-84pbkp20.js → mime-z99td3vh.js} +23 -23
- package/dist/chunks/{pty-1nxxv4qb.js → mime-ze3jqpvg.js} +20 -20
- package/dist/chunks/{pty-m5canyms.js → mime-zq5qms4d.js} +11 -11
- package/dist/chunks/{pty-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-ngts6ef0.js → mime-zrq8kphx.js} +8 -8
- package/dist/chunks/{pty-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/chunks/{pty-6v23mrsw.js → mime-zxxyec0p.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +99 -99
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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 +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/pty-7fj5dwt0.js +0 -18
- package/dist/chunks/pty-7r9y934d.js +0 -253
- /package/dist/chunks/{pty-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-zq5qms4d.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-e5ncbec4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID16,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event20,
|
|
11
|
+
Service78
|
|
12
|
+
} from "./mime-9pnm2vv9.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-pkw6pxyw.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./mime-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID13,
|
|
25
|
+
Service75
|
|
26
|
+
} from "./mime-gphzfxhq.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID12
|
|
29
|
+
} from "./mime-04mq6ee8.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./mime-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./mime-v1q4cba8.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make6(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service83;
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
80
|
+
const credentials = yield* Service78;
|
|
81
|
+
const providers = yield* Service75;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make4(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID13.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make4(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -192,7 +192,7 @@ function make4(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make4(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make4(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make4(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID13.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make4(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make4(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID13.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID13.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make4(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID13.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make4(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID13.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID13.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,11 +318,11 @@ function make4(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID13.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make6();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID12.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make6, AzurePlugin2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-e5ncbec4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service29,
|
|
7
|
+
node32
|
|
8
|
+
} from "./mime-2sdz7qh7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node52
|
|
12
|
+
} from "./mime-93exgp6v.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service63,
|
|
15
|
+
node66
|
|
16
|
+
} from "./mime-393wq71a.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service28 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service28, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service29;
|
|
42
|
+
const tools = yield* Service63;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service50;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node31 = makeLocationNode({
|
|
124
|
+
service: Service28,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node66, node32, node87, node52]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service28, layer12, node31, exports_mcp3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-j6gcmj6w.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-e5ncbec4.js";
|
|
12
12
|
import {
|
|
13
13
|
Service82,
|
|
14
14
|
node86
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-hs1x7rht.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-v0es1rhs.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-h2b79v29.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-1dvck2a7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-hs1x7rht.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service84,
|
|
12
12
|
node88
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-j6gcmj6w.js";
|
|
14
14
|
import {
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-e5ncbec4.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-h2b79v29.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-1dvck2a7.js";
|
|
24
24
|
import {
|
|
25
25
|
ID17,
|
|
26
26
|
NotFoundError11
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-d9v54453.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-2wjfq3y1.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service49,
|
|
33
|
+
node51
|
|
34
|
+
} from "./mime-wvy7zsan.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./mime-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service16
|
|
41
|
+
} from "./mime-n14gvf56.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./mime-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event4,
|
|
53
|
+
Info: () => Info3,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service15,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node18
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,9 +73,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/unstable/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info3 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event4 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service15 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service84;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service83;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service49;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service16).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event4.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service15.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node18 = Node.makeGlobalNode({
|
|
260
|
+
service: Service15,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node87, node88, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node87, node88, AppProcess.node, node51]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service15, node18, exports_worktree2, OperationError2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-2vdde78z.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-93exgp6v.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-pkw6pxyw.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-pe057h99.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-3ch2ac9z.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|