@opencode/core 0.0.0-dev-20522 → 0.0.0-dev-20524
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 +81 -81
- 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/{location-activity-40mqjk0w.js → location-03g2y37q.js} +3 -3
- package/dist/chunks/{location-activity-s7zwke6p.js → location-0b1net69.js} +3 -3
- package/dist/chunks/{location-activity-v1ztxmmr.js → location-0d1d2768.js} +32 -32
- package/dist/chunks/{location-activity-yxkyp4ge.js → location-0d2m1esc.js} +18 -18
- package/dist/chunks/{location-activity-yjdcspkt.js → location-0ehkg06n.js} +20 -20
- package/dist/chunks/{location-activity-yg042q6e.js → location-0g9bh3xt.js} +4 -4
- package/dist/chunks/{location-activity-468ehe8a.js → location-0hp6n8qm.js} +76 -76
- package/dist/chunks/{location-activity-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-evgw80pf.js → location-0sesqsvn.js} +8 -8
- package/dist/chunks/{location-activity-0vbcp93d.js → location-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-activity-99fevm3r.js → location-13xr13rz.js} +21 -21
- package/dist/chunks/{location-activity-vevatqc6.js → location-1956heqa.js} +8 -8
- package/dist/chunks/{location-activity-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-1dvck2a7.js → location-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-activity-dwkbn076.js → location-1f1tf6tc.js} +16 -16
- package/dist/chunks/{location-activity-t9ss9ncx.js → location-1wtt5xjz.js} +13 -13
- package/dist/chunks/{location-activity-afy8swxe.js → location-1z8f34et.js} +32 -32
- package/dist/chunks/{location-activity-mcrs9awc.js → location-29waf03z.js} +3 -3
- package/dist/chunks/{location-activity-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-zkwghzym.js → location-2qwkx9g6.js} +9 -9
- package/dist/chunks/{location-activity-8kjnhfq5.js → location-2xvr5rzx.js} +1 -1
- package/dist/chunks/{location-activity-mfqp6xfm.js → location-33w4ejhs.js} +9 -9
- package/dist/chunks/{location-activity-5bc52nhv.js → location-3am4x91f.js} +16 -16
- package/dist/chunks/{location-activity-21j09tbr.js → location-3dcfmx41.js} +25 -25
- package/dist/chunks/{location-activity-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-ndgpmpdy.js → location-3q2mb5aa.js} +163 -163
- package/dist/chunks/{location-activity-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-8hzx03zf.js → location-3sqv75dt.js} +11 -11
- package/dist/chunks/{location-activity-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-naemj1ng.js → location-435mrn8p.js} +32 -32
- package/dist/chunks/{location-activity-pdk76dby.js → location-4405jfbf.js} +12 -12
- package/dist/chunks/{location-activity-0gfhevnz.js → location-47pbmbvq.js} +20 -20
- package/dist/chunks/{location-activity-w3h6nx8g.js → location-4ag0xmg6.js} +3 -3
- package/dist/chunks/{location-activity-051rvy53.js → location-4b027wpp.js} +65 -65
- package/dist/chunks/{location-activity-4a0nv7mx.js → location-4e8vs6eh.js} +8 -8
- package/dist/chunks/{location-activity-kcqsx82s.js → location-4p2rvbap.js} +14 -14
- package/dist/chunks/{location-activity-4ts7tf6z.js → location-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-activity-gzbnsqd9.js → location-4v2wjxb9.js} +9 -9
- package/dist/chunks/{location-activity-w16b05e8.js → location-4x2d6zk6.js} +18 -18
- package/dist/chunks/{location-activity-scb56zj4.js → location-4xmdng9e.js} +9 -9
- package/dist/chunks/{location-activity-w39jehkq.js → location-4xpgt2w9.js} +5 -5
- package/dist/chunks/{location-activity-0tv3788e.js → location-4zmtjtds.js} +13 -13
- package/dist/chunks/{location-activity-qe22njxj.js → location-50w664pd.js} +28 -28
- package/dist/chunks/{location-activity-gdb2mabm.js → location-51jr6g9e.js} +12 -12
- package/dist/chunks/{location-activity-8k57ph5q.js → location-53r5d07r.js} +4 -4
- package/dist/chunks/{location-activity-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{location-activity-my4zabxr.js → location-58072hz9.js} +3 -3
- package/dist/chunks/{location-activity-r8pwahr2.js → location-5c2c9fqf.js} +20 -20
- package/dist/chunks/{location-activity-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-k8acefyd.js → location-5e34y3kq.js} +16 -16
- package/dist/chunks/{location-activity-95qzmsxv.js → location-5pnewhce.js} +26 -26
- package/dist/chunks/{location-activity-mf0fq1rn.js → location-5sn2jfj9.js} +24 -24
- package/dist/chunks/{location-activity-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-cmwkp3r5.js → location-5yzzbxa7.js} +8 -8
- package/dist/chunks/location-619r8v3y.js +18 -0
- package/dist/chunks/{location-activity-v60p8033.js → location-636dm4w1.js} +12 -12
- package/dist/chunks/{location-activity-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-6n4b0dsb.js → location-66fqs2ya.js} +9 -9
- package/dist/chunks/{location-activity-7pd44fd0.js → location-67a0sc12.js} +11 -11
- package/dist/chunks/{location-activity-4cvdhpp6.js → location-69h1251q.js} +13 -13
- package/dist/chunks/{location-activity-6dj2pvc2.js → location-6bgcwd53.js} +36 -36
- package/dist/chunks/{location-activity-jtystvs1.js → location-6maatk71.js} +41 -41
- package/dist/chunks/{location-activity-4rjwr4eq.js → location-6t32vnd6.js} +26 -26
- package/dist/chunks/{location-activity-418bx8zc.js → location-6xsxbhd8.js} +28 -28
- package/dist/chunks/{location-activity-2254y0xw.js → location-70bshhhx.js} +8 -8
- package/dist/chunks/{location-activity-71az546q.js → location-71az546q.js} +2 -2
- package/dist/chunks/{location-activity-hh9g5y67.js → location-726nj29k.js} +32 -32
- package/dist/chunks/{location-activity-acs0mjra.js → location-72n52cxe.js} +16 -16
- package/dist/chunks/{location-activity-4d9g26n8.js → location-73beahz8.js} +6 -6
- package/dist/chunks/{location-activity-r5x6zcsm.js → location-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-activity-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-7dqw4kz8.js → location-7dqw4kz8.js} +1 -1
- package/dist/chunks/{location-activity-2y184v0h.js → location-7rdt2je6.js} +20 -20
- package/dist/chunks/{location-activity-axezsv51.js → location-7y82cyha.js} +20 -20
- package/dist/chunks/{location-activity-bm71xt6b.js → location-7z9jfkyh.js} +14 -14
- package/dist/chunks/{location-activity-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{location-activity-yn8chsfy.js → location-89136qfr.js} +29 -29
- package/dist/chunks/{location-activity-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-my5mqtqa.js → location-8gcqp34a.js} +2 -2
- package/dist/chunks/{location-activity-3c002fa5.js → location-8x661jfs.js} +25 -25
- package/dist/chunks/{location-activity-68hckj5e.js → location-97ywwqre.js} +13 -13
- package/dist/chunks/{location-activity-73nbr5nh.js → location-9be5v5fz.js} +17 -17
- package/dist/chunks/{location-activity-5ewsbr1h.js → location-9cfz2ss6.js} +18 -18
- package/dist/chunks/{location-activity-9e5bzkjp.js → location-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-activity-zmkf53nt.js → location-9ff0w96a.js} +11 -11
- package/dist/chunks/{location-activity-dgg25580.js → location-9m2qa8s4.js} +27 -27
- package/dist/chunks/{location-activity-mvk5sdk3.js → location-9refcsmz.js} +26 -26
- package/dist/chunks/{location-activity-c8cj4gj9.js → location-9s14hbtr.js} +10 -10
- package/dist/chunks/{location-activity-vbgjz5a1.js → location-9w42hdr1.js} +20 -20
- package/dist/chunks/{location-activity-7dy85ahw.js → location-9zhh23v8.js} +6 -6
- package/dist/chunks/{location-activity-aq4sdar7.js → location-a28a4nf5.js} +14 -14
- package/dist/chunks/{location-activity-mjymc32g.js → location-a8bn8zg0.js} +4 -4
- package/dist/chunks/{location-activity-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-rbrpr0tf.js → location-ac3w4tg1.js} +11 -11
- package/dist/chunks/{location-activity-x661k3y3.js → location-addxnjmp.js} +4 -4
- package/dist/chunks/{location-activity-3sp6t7s4.js → location-adjgd6nn.js} +4 -4
- package/dist/chunks/{location-activity-bp17tqv6.js → location-agam1dvb.js} +9 -9
- package/dist/chunks/{location-activity-vppqr6rw.js → location-ajhd3z57.js} +11 -11
- package/dist/chunks/{location-activity-y1bj3ch0.js → location-am9fw9ch.js} +41 -41
- package/dist/chunks/{location-activity-n26b8tgx.js → location-amm0z9fx.js} +17 -17
- package/dist/chunks/{location-activity-tppswmz8.js → location-ap12zef0.js} +45 -45
- package/dist/chunks/{location-activity-n88x4h2h.js → location-aw2g9fp0.js} +1 -1
- package/dist/chunks/{location-activity-1wg7ekty.js → location-b2k62zq4.js} +15 -15
- package/dist/chunks/{location-activity-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-cv2eqrse.js → location-bn6j2djw.js} +30 -30
- package/dist/chunks/{location-activity-93ygb5af.js → location-bw9zjykr.js} +6 -6
- package/dist/chunks/{location-activity-9qyq87xn.js → location-bwwx913g.js} +23 -23
- package/dist/chunks/{location-activity-ewkxbvxb.js → location-c6t0g6n9.js} +1 -1
- package/dist/chunks/{location-activity-tspry12c.js → location-c7bcgwck.js} +88 -88
- package/dist/chunks/{location-activity-d4he2qe1.js → location-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-activity-8a1aw2sq.js → location-d0sddd9t.js} +15 -15
- package/dist/chunks/{location-activity-2phr5t4g.js → location-d39pa2qm.js} +16 -16
- package/dist/chunks/{location-activity-gvgk8c7e.js → location-d6jdpt9s.js} +18 -18
- package/dist/chunks/{location-activity-8546h873.js → location-d79sqymb.js} +9 -9
- package/dist/chunks/{location-activity-51mtghs0.js → location-dktchxzp.js} +6 -6
- package/dist/chunks/{location-activity-dwe4pxwy.js → location-dmq45pp6.js} +53 -53
- package/dist/chunks/{location-activity-dpkg50ah.js → location-dpkg50ah.js} +1 -1
- package/dist/chunks/location-drek8w4c.js +253 -0
- package/dist/chunks/{location-activity-xmme1gw6.js → location-dvqjns4f.js} +27 -27
- package/dist/chunks/{location-activity-sfezx90q.js → location-dwenb9k0.js} +26 -26
- package/dist/chunks/{location-activity-8zmkrsrs.js → location-dxc4ayrt.js} +13 -13
- package/dist/chunks/{location-activity-mkr9wt4g.js → location-e6ef6n62.js} +41 -41
- package/dist/chunks/{location-activity-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-68b41rp7.js → location-efsmb0h4.js} +13 -13
- package/dist/chunks/{location-activity-pc4b88sv.js → location-em3h5ktn.js} +4 -4
- package/dist/chunks/{location-activity-8r3ezcdp.js → location-er3ye3qa.js} +12 -12
- package/dist/chunks/{location-activity-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-m6f3t844.js → location-f5gy8qwh.js} +8 -8
- package/dist/chunks/{location-activity-antpa588.js → location-fa7rx1rj.js} +11 -11
- package/dist/chunks/{location-activity-z58fbe9d.js → location-fasbsk8t.js} +20 -20
- package/dist/chunks/{location-activity-vyq9csrv.js → location-fd6ys4ef.js} +8 -8
- package/dist/chunks/{location-activity-tkmwgdpd.js → location-fqb2p7cx.js} +7 -7
- package/dist/chunks/{location-activity-5e25xdga.js → location-fvcnt3t4.js} +5 -5
- package/dist/chunks/{location-activity-gh5z95q3.js → location-g31erja1.js} +9 -9
- package/dist/chunks/{location-activity-qdwc8vjd.js → location-g4et1qt7.js} +1 -1
- package/dist/chunks/{location-activity-snj9fk4t.js → location-g7j3mj99.js} +4 -4
- package/dist/chunks/{location-activity-qwk0c288.js → location-gakk3ey9.js} +11 -11
- package/dist/chunks/{location-activity-45xkc9f1.js → location-gbjeyn0t.js} +13 -13
- package/dist/chunks/{location-activity-drnf6xwf.js → location-gccjnz6h.js} +2 -2
- package/dist/chunks/{location-activity-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-0r3c1bmw.js → location-gj71zhbs.js} +5 -5
- package/dist/chunks/{location-activity-h3rnfpnk.js → location-gnwsk10c.js} +14 -14
- package/dist/chunks/{location-activity-n9jt44w2.js → location-gp96s3k1.js} +24 -24
- package/dist/chunks/{location-activity-h2b79v29.js → location-h2b79v29.js} +2 -2
- package/dist/chunks/{location-activity-03xyy9gs.js → location-h4ckqw4f.js} +8 -8
- package/dist/chunks/location-h5vnjv2h.js +507 -0
- package/dist/chunks/{location-activity-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-74j61hac.js → location-ha10f5ag.js} +24 -24
- package/dist/chunks/{location-activity-wgn1zfzh.js → location-hmp1x13k.js} +2 -2
- package/dist/chunks/{location-activity-rzp9svrs.js → location-ht20w0bm.js} +20 -20
- package/dist/chunks/{location-activity-4g07jad7.js → location-ht2vmafg.js} +14 -14
- package/dist/chunks/{location-activity-htjw9qza.js → location-htjw9qza.js} +1 -1
- package/dist/chunks/{location-activity-gvh84zx5.js → location-hzm7e63r.js} +31 -31
- package/dist/chunks/{location-activity-6xx2thcq.js → location-hznqgj95.js} +4 -4
- package/dist/chunks/{location-activity-twbhs20w.js → location-j4vxd5gc.js} +29 -29
- package/dist/chunks/{location-activity-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-21w5p5ea.js → location-j87v20fg.js} +5 -5
- package/dist/chunks/{location-activity-0ym7r8mw.js → location-jdjpygpn.js} +1 -1
- package/dist/chunks/{location-activity-1ywctte3.js → location-jqskptrr.js} +3 -3
- package/dist/chunks/{location-activity-jhx55dda.js → location-jtchp687.js} +21 -21
- package/dist/chunks/{location-activity-reg6q42h.js → location-k8hpw67k.js} +5 -5
- package/dist/chunks/{location-activity-p5phergm.js → location-kanq2qcn.js} +16 -16
- package/dist/chunks/{location-activity-xs433dsw.js → location-kdnkv6vg.js} +21 -21
- package/dist/chunks/{location-activity-9c3np669.js → location-kh9sx4kg.js} +8 -8
- package/dist/chunks/{location-activity-70z78qrv.js → location-krdch7pj.js} +8 -8
- package/dist/chunks/{location-activity-s1nnv2jb.js → location-kryy92pc.js} +33 -33
- package/dist/chunks/{location-activity-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-5v5gbwv4.js → location-m5fmzmxa.js} +10 -10
- package/dist/chunks/{location-activity-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-25mvv2sj.js → location-ma8dv7tn.js} +11 -11
- package/dist/chunks/{location-activity-px2g2hh5.js → location-mfns49dk.js} +9 -9
- package/dist/chunks/{location-activity-5jrbfcyk.js → location-mfq58xys.js} +7 -7
- package/dist/chunks/{location-activity-fn21qp3n.js → location-mkderzf3.js} +33 -33
- package/dist/chunks/{location-activity-9afc0m5f.js → location-mpa2g5zd.js} +32 -32
- package/dist/chunks/{location-activity-4c8hafs5.js → location-ms3jqqqf.js} +36 -36
- package/dist/chunks/{location-activity-66mt488d.js → location-n3kq2dxg.js} +21 -21
- package/dist/chunks/{location-activity-e7rfq5qk.js → location-n3zff3hk.js} +9 -9
- package/dist/chunks/{location-activity-hw84rczb.js → location-nb85r331.js} +15 -15
- package/dist/chunks/{location-activity-b69jv39p.js → location-ncnm8wen.js} +1 -1
- package/dist/chunks/{location-activity-8gn6bx6q.js → location-np07ctdw.js} +5 -5
- package/dist/chunks/{location-activity-eh032nwn.js → location-nqrfg00y.js} +14 -14
- package/dist/chunks/{location-activity-gnhsmmqn.js → location-ns15zm60.js} +6 -6
- package/dist/chunks/{location-activity-0p53prm6.js → location-nz9vh4f0.js} +48 -48
- package/dist/chunks/{location-activity-ynpd00ff.js → location-p28awedh.js} +21 -21
- package/dist/chunks/{location-activity-xqtnfxs2.js → location-pdq7zx76.js} +8 -8
- package/dist/chunks/{location-activity-xg14kqgb.js → location-pfkmmn9w.js} +35 -35
- package/dist/chunks/{location-activity-pfyxntht.js → location-pg7b5kmm.js} +6 -6
- package/dist/chunks/{location-activity-9xw7cs1j.js → location-pghs4qq9.js} +10 -10
- package/dist/chunks/{location-activity-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-hve73jz4.js → location-pmv361z8.js} +30 -30
- package/dist/chunks/{location-activity-yztx57rc.js → location-psyghn60.js} +3 -3
- package/dist/chunks/{location-activity-ts23464c.js → location-py3kkmfq.js} +4 -4
- package/dist/chunks/{location-activity-q0xm7vwc.js → location-q0xm7vwc.js} +2 -2
- package/dist/chunks/location-qf4hcvb6.js +26 -0
- package/dist/chunks/{location-activity-1bvbmmvc.js → location-qjhbzp1x.js} +3 -3
- package/dist/chunks/{location-activity-jgsyvnsr.js → location-qknp1kwt.js} +16 -16
- package/dist/chunks/{location-activity-qnc92qwc.js → location-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-activity-k5qa7074.js → location-qrrr3p9w.js} +22 -22
- package/dist/chunks/{location-activity-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-kfxyjhp2.js → location-qwpeqn3j.js} +3 -3
- package/dist/chunks/{location-activity-7xgtyd0c.js → location-r8aax1cg.js} +8 -8
- package/dist/chunks/{location-activity-bydnjh3t.js → location-r9w3djhf.js} +9 -9
- package/dist/chunks/{location-activity-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-36yn6w2w.js → location-rfnzz8gp.js} +13 -13
- package/dist/chunks/{location-activity-r8xr0va3.js → location-rhraev7y.js} +4 -4
- package/dist/chunks/{location-activity-89zvgz62.js → location-rkj7dp5f.js} +12 -12
- package/dist/chunks/{location-activity-52qcnbw8.js → location-rrpq0de9.js} +12 -12
- package/dist/chunks/{location-activity-98xtp2tr.js → location-rx4c2z1d.js} +17 -17
- package/dist/chunks/{location-activity-spexwv49.js → location-ryxsgh7t.js} +17 -17
- package/dist/chunks/{location-activity-hm01m7g7.js → location-rz7hjw9a.js} +4 -4
- package/dist/chunks/{location-activity-s8d7rejh.js → location-s8d7rejh.js} +1 -1
- package/dist/chunks/{location-activity-hdkng2sj.js → location-scgrse2b.js} +5 -5
- package/dist/chunks/{location-activity-nm81pwyf.js → location-sdm6ehx7.js} +13 -13
- package/dist/chunks/{location-activity-ap09pqdy.js → location-ses0sfa7.js} +24 -24
- package/dist/chunks/{location-activity-ea5q4p4y.js → location-sfyepjcn.js} +10 -10
- package/dist/chunks/{location-activity-yxxv8mf9.js → location-ss70ch0k.js} +5 -5
- package/dist/chunks/{location-activity-9qfaj48x.js → location-t0kkw9j8.js} +5 -5
- package/dist/chunks/{location-activity-5vej8e4s.js → location-t5saaaxp.js} +46 -46
- package/dist/chunks/{location-activity-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-activity-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-bpvkws8n.js → location-tm7bvtyg.js} +11 -11
- package/dist/chunks/{location-activity-n9vn1n74.js → location-tqwy6r45.js} +3 -3
- package/dist/chunks/{location-activity-r785z29n.js → location-trcdmqx3.js} +8 -8
- package/dist/chunks/{location-activity-1kdzyrgh.js → location-txa3gs2n.js} +20 -20
- package/dist/chunks/{location-activity-rt6atwe1.js → location-tzpqvdng.js} +7 -7
- package/dist/chunks/{location-activity-7d822byb.js → location-v0es1rhs.js} +9 -9
- package/dist/chunks/{location-activity-9hj49pra.js → location-vbtjb3bz.js} +8 -8
- package/dist/chunks/{location-activity-wa9g86nq.js → location-ve85v3xb.js} +4 -4
- package/dist/chunks/{location-activity-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-p5kec882.js → location-vmtrkad0.js} +5 -5
- package/dist/chunks/{location-activity-tchy2as6.js → location-vqgj6vfx.js} +10 -10
- package/dist/chunks/{location-activity-6mxq6vmh.js → location-vsya7gwe.js} +2 -2
- package/dist/chunks/{location-activity-jgttmm4a.js → location-vxp3kcg3.js} +5 -5
- package/dist/chunks/{location-activity-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-activity-b8tjczfr.js → location-w255jkmj.js} +40 -40
- package/dist/chunks/{location-activity-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-v14bmgrr.js → location-w6ftey9k.js} +26 -26
- package/dist/chunks/{location-activity-0n82bpqs.js → location-w8bcfg26.js} +42 -42
- package/dist/chunks/{location-activity-aexez079.js → location-wb6g3839.js} +9 -9
- package/dist/chunks/{location-activity-1zpn74ap.js → location-wbavqyay.js} +4 -4
- package/dist/chunks/{location-activity-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-d1zf30g2.js → location-wgwhfkbb.js} +9 -9
- package/dist/chunks/{location-activity-4sf4b4a1.js → location-wh2htdx5.js} +19 -19
- package/dist/chunks/{location-activity-gwfkrg1w.js → location-wk3dfdmh.js} +10 -10
- package/dist/chunks/{location-activity-sc8ekjdv.js → location-wr1eej9h.js} +1 -1
- package/dist/chunks/{location-activity-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-r16s11gq.js → location-x1xn1kyr.js} +27 -27
- package/dist/chunks/{location-activity-ccg33wfc.js → location-xcst2118.js} +22 -22
- package/dist/chunks/{location-activity-w19d8598.js → location-xfkkasph.js} +5 -5
- package/dist/chunks/{location-activity-22ajkdrs.js → location-xjthv5h5.js} +16 -16
- package/dist/chunks/{location-activity-h9aj4q11.js → location-xk5qmycy.js} +36 -36
- package/dist/chunks/{location-activity-xkntkrq7.js → location-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-activity-w9h8gxsn.js → location-xy5gggj8.js} +15 -15
- package/dist/chunks/{location-activity-qxjc9qry.js → location-xyafkbt0.js} +3 -3
- package/dist/chunks/{location-activity-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-50n9sz5p.js → location-y3tn1ts5.js} +26 -26
- package/dist/chunks/{location-activity-yn77b1tp.js → location-y7dx63g1.js} +16 -16
- package/dist/chunks/{location-activity-zw7rn1n2.js → location-ybsbay28.js} +20 -20
- package/dist/chunks/{location-activity-ta90yy0m.js → location-ykk9be0k.js} +15 -15
- package/dist/chunks/{location-activity-chg82f90.js → location-ymhgr8h4.js} +11 -11
- package/dist/chunks/{location-activity-es45hdqm.js → location-yqkgc340.js} +13 -13
- package/dist/chunks/{location-activity-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-h90v2x9d.js → location-z0aj456m.js} +4 -4
- package/dist/chunks/{location-activity-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-ga3wt1wb.js → location-z1443vyh.js} +3 -3
- package/dist/chunks/{location-activity-bbqry935.js → location-z4ggt3ag.js} +18 -18
- package/dist/chunks/{location-activity-wn7nbw01.js → location-z6z545q9.js} +50 -50
- package/dist/chunks/{location-activity-t01ewf6t.js → location-z72ax6ks.js} +11 -11
- package/dist/chunks/{location-activity-afdssyjb.js → location-zee1rnkq.js} +4 -4
- package/dist/chunks/{location-activity-zfs8ae4p.js → location-zfs8ae4p.js} +4 -4
- package/dist/chunks/{location-activity-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-yrcj3v3g.js → location-zsr4wwhv.js} +4 -4
- package/dist/chunks/{location-activity-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- 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 +119 -119
- 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 +83 -83
- 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 +364 -364
- 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 +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- 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 +91 -91
- 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 +355 -355
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- 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 +352 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +129 -129
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +94 -94
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +102 -102
- 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 +327 -327
- 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 +2 -2
- 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/gateway.js +2 -2
- 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 +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- 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/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +84 -84
- package/dist/plugin/verbosity.js +91 -91
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- 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 +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- 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 +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- 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 +3 -3
- 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 +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- 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 +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- 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 +14 -14
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +91 -91
- 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 +79 -79
- package/dist/workspace/driver.js +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-activity-6acre9fv.js +0 -253
- package/dist/chunks/location-activity-by5v678g.js +0 -18
- package/dist/chunks/location-activity-ch4bgybv.js +0 -26
- package/dist/chunks/location-activity-ntdxhb5b.js +0 -507
- /package/dist/chunks/{location-activity-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info24,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info24 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./location-
|
|
4
|
+
} from "./location-qjhbzp1x.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./location-
|
|
8
|
+
} from "./location-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./location-
|
|
11
|
+
} from "./location-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./location-
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-
|
|
2
|
+
Service52
|
|
3
|
+
} from "./location-e6ef6n62.js";
|
|
4
4
|
import {
|
|
5
5
|
Service9
|
|
6
|
-
} from "./location-
|
|
6
|
+
} from "./location-qrrr3p9w.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./location-
|
|
9
|
+
} from "./location-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./location-
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin37
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin37 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service52;
|
|
26
26
|
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
@@ -39,4 +39,4 @@ var Plugin17 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin37, exports_compaction };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-
|
|
2
|
+
Service53
|
|
3
|
+
} from "./location-ybsbay28.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-
|
|
5
|
+
Service52
|
|
6
|
+
} from "./location-e6ef6n62.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./location-
|
|
9
|
+
} from "./location-0g9bh3xt.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./location-
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin34
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin34 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service52;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service53;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin13 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin34, exports_compatibility };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./location-
|
|
7
|
+
} from "./location-adjgd6nn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./location-
|
|
9
|
+
Event19,
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./location-6xsxbhd8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./location-
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./location-72n52cxe.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service54,
|
|
19
19
|
node58
|
|
20
|
-
} from "./location-
|
|
20
|
+
} from "./location-txa3gs2n.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./location-
|
|
22
|
+
ID16,
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./location-ses0sfa7.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./location-
|
|
29
|
+
} from "./location-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./location-
|
|
33
|
+
Service76,
|
|
34
|
+
node80
|
|
35
|
+
} from "./location-6t32vnd6.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./location-
|
|
38
|
+
} from "./location-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service39,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured5,
|
|
56
56
|
layer: () => layer16,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node42
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service39 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options5 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options5 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var layer16 = (options) => Layer.effect(
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const environment = yield* Service54;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service78;
|
|
119
|
+
const integration = yield* Service76;
|
|
120
|
+
const credentials = yield* Service77;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID14.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,12 +161,12 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID16.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service54, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service39.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured5(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
535
|
+
service: Service39,
|
|
536
536
|
layer: layer16(options),
|
|
537
|
-
deps: [
|
|
537
|
+
deps: [node84, node58, node87, node82, node80, node81]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node42 = configured5();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service39, Options5, layer16, configured5, node42, exports_mcp4 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-3sqv75dt.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./location-
|
|
6
|
+
} from "./location-adjgd6nn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID15,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./location-
|
|
10
|
+
Event19,
|
|
11
|
+
Service77
|
|
12
|
+
} from "./location-6xsxbhd8.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./location-
|
|
15
|
+
} from "./location-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./location-
|
|
19
|
+
} from "./location-6t32vnd6.js";
|
|
20
20
|
import {
|
|
21
21
|
ID12,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./location-
|
|
23
|
+
} from "./location-13xr13rz.js";
|
|
24
24
|
import {
|
|
25
25
|
ID11,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Info20
|
|
28
|
-
} from "./location-
|
|
28
|
+
} from "./location-5e34y3kq.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./location-
|
|
32
|
+
} from "./location-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -42,7 +42,7 @@ var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
44
|
var providerID = ID12.openai;
|
|
45
|
-
var integrationID =
|
|
45
|
+
var integrationID = ID14.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -172,7 +172,7 @@ var ChatGPTPlugin2 = define({
|
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
174
|
const bus = yield* Service83;
|
|
175
|
-
const credentials = yield*
|
|
175
|
+
const credentials = yield* Service77;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID15.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./location-
|
|
4
|
+
} from "./location-adjgd6nn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./location-
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./location-72n52cxe.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service54,
|
|
11
11
|
node58
|
|
12
|
-
} from "./location-
|
|
12
|
+
} from "./location-txa3gs2n.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./location-
|
|
15
|
+
} from "./location-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service51,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./location-
|
|
19
|
+
node55
|
|
20
|
+
} from "./location-4zmtjtds.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./location-
|
|
22
|
+
Service73,
|
|
23
|
+
node77
|
|
24
|
+
} from "./location-4e8vs6eh.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./location-
|
|
26
|
+
Service49,
|
|
27
|
+
node53
|
|
28
|
+
} from "./location-kh9sx4kg.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./location-
|
|
31
|
+
} from "./location-58072hz9.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./location-
|
|
34
|
+
Service52,
|
|
35
|
+
node56
|
|
36
|
+
} from "./location-e6ef6n62.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./location-
|
|
40
|
+
} from "./location-ac3w4tg1.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./location-
|
|
43
|
+
} from "./location-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError7,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service48,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node52
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service48 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service83;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service80;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service51;
|
|
95
|
+
const environment = yield* Service54;
|
|
96
|
+
const hooks = yield* Service73;
|
|
97
|
+
const environments = yield* Service49;
|
|
98
|
+
const config = yield* Service52;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError7({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError7({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service48.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node52 = makeLocationNode({
|
|
329
|
+
service: Service48,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node87,
|
|
333
|
-
|
|
333
|
+
node84,
|
|
334
334
|
Global.node,
|
|
335
|
-
|
|
335
|
+
node55,
|
|
336
336
|
node58,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
337
|
+
node77,
|
|
338
|
+
node53,
|
|
339
|
+
node56,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, Service48, cleanup2, node52, exports_shell4 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./location-
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-72n52cxe.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./location-
|
|
7
|
+
} from "./location-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./location-
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service79,
|
|
17
|
+
node: () => node83
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service79 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service79.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node83 = makeLocationNode({
|
|
91
|
+
service: Service79,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node84, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service79, node83, exports_formatter2 };
|