@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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./location-
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service43,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node47
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service43 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service43.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node47 = makeLocationNode({ service: Service43, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service43, node47, exports_image2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./location-
|
|
3
|
+
Service52
|
|
4
|
+
} from "./location-e6ef6n62.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./location-
|
|
7
|
+
} from "./location-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./location-
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin35
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin35 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service52;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin16 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin35, exports_websearch2 };
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./location-
|
|
6
|
+
} from "./location-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./location-
|
|
11
|
+
} from "./location-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./location-
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions4 = {};
|
|
18
|
+
__export(exports_instructions4, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
+
make: () => make13,
|
|
21
|
+
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render2(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render2(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render3(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make13 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
116
|
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render2,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render2, update3, make13, exports_instructions4 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./location-
|
|
6
|
+
} from "./location-rrpq0de9.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./location-
|
|
9
|
+
} from "./location-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service84,
|
|
12
12
|
node88
|
|
13
|
-
} from "./location-
|
|
13
|
+
} from "./location-qjhbzp1x.js";
|
|
14
14
|
import {
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./location-
|
|
17
|
+
} from "./location-adjgd6nn.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./location-
|
|
20
|
+
} from "./location-h2b79v29.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./location-
|
|
23
|
+
} from "./location-1dvck2a7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./location-
|
|
25
|
+
ID17,
|
|
26
|
+
NotFoundError11
|
|
27
|
+
} from "./location-w8bcfg26.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./location-
|
|
30
|
+
} from "./location-72n52cxe.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./location-
|
|
32
|
+
Service75,
|
|
33
|
+
node79
|
|
34
|
+
} from "./location-2qwkx9g6.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./location-
|
|
38
|
+
} from "./location-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./location-
|
|
40
|
+
Service58
|
|
41
|
+
} from "./location-n3kq2dxg.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./location-
|
|
44
|
+
} from "./location-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event13,
|
|
53
|
+
Info: () => Info15,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service57,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node62
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info15 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,21 +90,21 @@ 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 Event13 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service57 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service57, 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* Service75;
|
|
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)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError11({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service22, 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, Service58).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event13.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service22, 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 Service57.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(Service22, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node62 = Node.makeGlobalNode({
|
|
260
|
+
service: Service57,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node87, node88, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node87, node88, AppProcess.node, node79]
|
|
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, CreateInput3, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info15, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event13, Service57, node62, exports_worktree2, OperationError2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./location-
|
|
2
|
+
ID10,
|
|
3
|
+
Service69
|
|
4
|
+
} from "./location-jtchp687.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
7
|
Service71
|
|
8
|
-
} from "./location-
|
|
8
|
+
} from "./location-5e34y3kq.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./location-
|
|
11
|
+
Service52
|
|
12
|
+
} from "./location-e6ef6n62.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./location-
|
|
15
|
+
} from "./location-58072hz9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./location-
|
|
17
|
+
Service70
|
|
18
|
+
} from "./location-kanq2qcn.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./location-
|
|
21
|
+
Service66
|
|
22
|
+
} from "./location-z6z545q9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./location-
|
|
24
|
+
Service27
|
|
25
|
+
} from "./location-c7bcgwck.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./location-
|
|
28
|
+
} from "./location-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make11
|
|
31
|
-
} from "./location-
|
|
31
|
+
} from "./location-0sesqsvn.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./location-
|
|
34
|
+
} from "./location-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input12,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin14,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name12
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name12 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input12 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input7 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output8 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,14 +86,14 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin14 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
92
|
+
const sessions = yield* Service27;
|
|
93
|
+
const jobs = yield* Service70;
|
|
94
|
+
const agents = yield* Service69;
|
|
95
|
+
const config = yield* Service52;
|
|
96
|
+
const permission = yield* Service66;
|
|
97
97
|
const models = yield* Service71;
|
|
98
98
|
const subagents = yield* make11;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
@@ -115,11 +115,11 @@ var Plugin43 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin43 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name12,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin43 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID10.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name12 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name12];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name12, Input12, Output8, description5, Plugin14, exports_subagent };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./location-
|
|
4
|
+
} from "./location-adjgd6nn.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./location-
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./location-6xsxbhd8.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./location-
|
|
12
|
+
} from "./location-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./location-
|
|
15
|
+
} from "./location-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./location-
|
|
19
|
+
} from "./location-ses0sfa7.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./location-
|
|
22
|
+
} from "./location-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
37
|
+
Event: () => Event18,
|
|
38
|
+
ID: () => ID14,
|
|
39
|
+
Info: () => Info23,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service76,
|
|
47
|
+
node: () => node80
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
70
|
-
var
|
|
69
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
70
|
+
var ID14 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info23 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID14,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service76 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
112
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service77;
|
|
114
114
|
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info23.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service76.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node80 = makeLocationNode({
|
|
603
|
+
service: Service76,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node81, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event18 };
|