@opencode/core 0.0.0-dev-20523 → 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/{vcs-r9pkg3wj.js → location-03g2y37q.js} +22 -22
- package/dist/chunks/{vcs-2rvt81jv.js → location-0b1net69.js} +8 -8
- package/dist/chunks/{vcs-9rzbrnek.js → location-0d1d2768.js} +30 -30
- package/dist/chunks/{vcs-c34wdaxc.js → location-0d2m1esc.js} +12 -12
- package/dist/chunks/{vcs-tn76sa66.js → location-0ehkg06n.js} +24 -24
- package/dist/chunks/{vcs-d3d03f5w.js → location-0g9bh3xt.js} +6 -6
- package/dist/chunks/{vcs-8dnd3zn1.js → location-0hp6n8qm.js} +87 -87
- package/dist/chunks/{vcs-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-anpxxvvk.js → location-0sesqsvn.js} +11 -11
- package/dist/chunks/{vcs-0vbcp93d.js → location-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-3etjgs1z.js → location-13xr13rz.js} +313 -313
- package/dist/chunks/{vcs-64s65d1n.js → location-1956heqa.js} +8 -8
- package/dist/chunks/{vcs-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-1dvck2a7.js → location-1dvck2a7.js} +2 -2
- package/dist/chunks/{vcs-w1sywbce.js → location-1f1tf6tc.js} +19 -19
- package/dist/chunks/{vcs-engz9tk1.js → location-1wtt5xjz.js} +10 -10
- package/dist/chunks/{vcs-15jxxpks.js → location-1z8f34et.js} +30 -30
- package/dist/chunks/{vcs-whzv333q.js → location-29waf03z.js} +5 -5
- package/dist/chunks/{vcs-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-t4dttzpk.js → location-2qwkx9g6.js} +9 -9
- package/dist/chunks/{vcs-875tjbvc.js → location-2xvr5rzx.js} +5 -5
- package/dist/chunks/{vcs-33w4ejhs.js → location-33w4ejhs.js} +2 -2
- package/dist/chunks/{vcs-tbnf0mzz.js → location-3am4x91f.js} +36 -36
- package/dist/chunks/{vcs-a9myb2xz.js → location-3dcfmx41.js} +18 -18
- package/dist/chunks/{vcs-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-1yzcjwqk.js → location-3q2mb5aa.js} +176 -176
- package/dist/chunks/{vcs-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-4dmfh7tm.js → location-3sqv75dt.js} +11 -11
- package/dist/chunks/{vcs-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-58rdqtcw.js → location-435mrn8p.js} +32 -32
- package/dist/chunks/{vcs-j0qpe3xs.js → location-4405jfbf.js} +13 -13
- package/dist/chunks/{vcs-ha3s5v70.js → location-47pbmbvq.js} +45 -45
- package/dist/chunks/{vcs-d7x58568.js → location-4ag0xmg6.js} +23 -23
- package/dist/chunks/{vcs-9pd3a9ej.js → location-4b027wpp.js} +70 -70
- package/dist/chunks/{vcs-2eegacq4.js → location-4e8vs6eh.js} +8 -8
- package/dist/chunks/{vcs-v6eqk4q9.js → location-4p2rvbap.js} +14 -14
- package/dist/chunks/{vcs-4ts7tf6z.js → location-4ts7tf6z.js} +2 -2
- package/dist/chunks/{vcs-2pqkge4e.js → location-4v2wjxb9.js} +9 -9
- package/dist/chunks/{vcs-0f2k15r0.js → location-4x2d6zk6.js} +20 -20
- package/dist/chunks/{vcs-6nn06123.js → location-4xmdng9e.js} +17 -17
- package/dist/chunks/{vcs-5fykfdj7.js → location-4xpgt2w9.js} +5 -5
- package/dist/chunks/{vcs-e5245gfw.js → location-4zmtjtds.js} +11 -11
- package/dist/chunks/{vcs-xry2b1cq.js → location-50w664pd.js} +31 -31
- package/dist/chunks/{vcs-17gjvyxf.js → location-51jr6g9e.js} +20 -20
- package/dist/chunks/{vcs-ygnv88eq.js → location-53r5d07r.js} +4 -4
- package/dist/chunks/{vcs-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-8whp40kv.js → location-58072hz9.js} +3 -3
- package/dist/chunks/{vcs-q05af3em.js → location-5c2c9fqf.js} +20 -20
- package/dist/chunks/{vcs-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-b58yghq3.js → location-5e34y3kq.js} +31 -31
- package/dist/chunks/{vcs-dy50r7f0.js → location-5pnewhce.js} +26 -26
- package/dist/chunks/{vcs-437mn6c1.js → location-5sn2jfj9.js} +24 -24
- package/dist/chunks/{vcs-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-cmwkp3r5.js → location-5yzzbxa7.js} +8 -8
- package/dist/chunks/location-619r8v3y.js +18 -0
- package/dist/chunks/{vcs-y1ztjnch.js → location-636dm4w1.js} +17 -17
- package/dist/chunks/{vcs-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{vcs-e0378qy6.js → location-66fqs2ya.js} +9 -9
- package/dist/chunks/{vcs-asjhz5jz.js → location-67a0sc12.js} +8 -8
- package/dist/chunks/{vcs-8qyfkx8k.js → location-69h1251q.js} +10 -10
- package/dist/chunks/{vcs-7pgd7918.js → location-6bgcwd53.js} +34 -34
- package/dist/chunks/{vcs-x87d2c5t.js → location-6maatk71.js} +45 -45
- package/dist/chunks/{vcs-p6czjpb3.js → location-6t32vnd6.js} +30 -30
- package/dist/chunks/{vcs-6qm8nm6h.js → location-6xsxbhd8.js} +30 -30
- package/dist/chunks/{vcs-154fjpss.js → location-70bshhhx.js} +8 -8
- package/dist/chunks/{vcs-71az546q.js → location-71az546q.js} +2 -2
- package/dist/chunks/{vcs-n47yxx3n.js → location-726nj29k.js} +32 -32
- package/dist/chunks/{vcs-1x3tt5d7.js → location-72n52cxe.js} +14 -14
- package/dist/chunks/{vcs-4fdg3v2k.js → location-73beahz8.js} +9 -9
- package/dist/chunks/{vcs-73tb2d7t.js → location-73tb2d7t.js} +1 -1
- package/dist/chunks/{vcs-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-qgn6gcr1.js → location-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-bmyw6ydg.js → location-7rdt2je6.js} +26 -26
- package/dist/chunks/{vcs-ha3enmw3.js → location-7y82cyha.js} +20 -20
- package/dist/chunks/{vcs-j6f1xn30.js → location-7z9jfkyh.js} +9 -9
- package/dist/chunks/{vcs-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{vcs-4y5cztj8.js → location-89136qfr.js} +26 -26
- package/dist/chunks/{vcs-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-xkq4qhjg.js → location-8gcqp34a.js} +4 -4
- package/dist/chunks/{vcs-xdax5pw4.js → location-8x661jfs.js} +25 -25
- package/dist/chunks/{vcs-pvpz454p.js → location-97ywwqre.js} +13 -13
- package/dist/chunks/{vcs-5g992y3e.js → location-9be5v5fz.js} +15 -15
- package/dist/chunks/{vcs-dr3cfjye.js → location-9cfz2ss6.js} +18 -18
- package/dist/chunks/{vcs-9e5bzkjp.js → location-9e5bzkjp.js} +3 -3
- package/dist/chunks/{vcs-ayrfqrmp.js → location-9ff0w96a.js} +10 -10
- package/dist/chunks/{vcs-g8w68j7a.js → location-9m2qa8s4.js} +24 -24
- package/dist/chunks/{vcs-gfmgy62m.js → location-9refcsmz.js} +28 -28
- package/dist/chunks/{vcs-jh6se4gm.js → location-9s14hbtr.js} +10 -10
- package/dist/chunks/{vcs-1xsx8vwt.js → location-9w42hdr1.js} +20 -20
- package/dist/chunks/{vcs-8m5xe4tx.js → location-9zhh23v8.js} +6 -6
- package/dist/chunks/{vcs-m8835y2n.js → location-a28a4nf5.js} +15 -15
- package/dist/chunks/{vcs-kvvk39gs.js → location-a8bn8zg0.js} +4 -4
- package/dist/chunks/{vcs-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-hvr28mne.js → location-ac3w4tg1.js} +11 -11
- package/dist/chunks/{vcs-gqtdsdt7.js → location-addxnjmp.js} +4 -4
- package/dist/chunks/{vcs-emy2mr0p.js → location-adjgd6nn.js} +4 -4
- package/dist/chunks/{vcs-143vszks.js → location-agam1dvb.js} +11 -11
- package/dist/chunks/{vcs-m3pq9nvw.js → location-ajhd3z57.js} +11 -11
- package/dist/chunks/{vcs-263mmtss.js → location-am9fw9ch.js} +51 -51
- package/dist/chunks/{vcs-px5rzwm9.js → location-amm0z9fx.js} +22 -22
- package/dist/chunks/{vcs-dj8dytcn.js → location-ap12zef0.js} +45 -45
- package/dist/chunks/{vcs-7h0e419p.js → location-aw2g9fp0.js} +1 -1
- package/dist/chunks/{vcs-xagkhdgg.js → location-b2k62zq4.js} +15 -15
- package/dist/chunks/{vcs-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-x8xp47jc.js → location-bn6j2djw.js} +30 -30
- package/dist/chunks/{vcs-mx9vqzsb.js → location-bw9zjykr.js} +6 -6
- package/dist/chunks/{vcs-2tsvqd0c.js → location-bwwx913g.js} +20 -20
- package/dist/chunks/{vcs-gb88hfpn.js → location-c6t0g6n9.js} +3 -3
- package/dist/chunks/{vcs-s6vagn1s.js → location-c7bcgwck.js} +90 -90
- package/dist/chunks/{vcs-cwa6csj7.js → location-cwa6csj7.js} +2 -2
- package/dist/chunks/{vcs-0n6s3he6.js → location-d0sddd9t.js} +17 -17
- package/dist/chunks/{vcs-z249rqtp.js → location-d39pa2qm.js} +26 -26
- package/dist/chunks/{vcs-c0wyzfrh.js → location-d6jdpt9s.js} +24 -24
- package/dist/chunks/{vcs-k017qpd0.js → location-d79sqymb.js} +9 -9
- package/dist/chunks/{vcs-6qkjgc87.js → location-dktchxzp.js} +9 -9
- package/dist/chunks/{vcs-5f3z425y.js → location-dmq45pp6.js} +54 -54
- package/dist/chunks/{vcs-nxm207yx.js → location-dpkg50ah.js} +4 -4
- package/dist/chunks/location-drek8w4c.js +253 -0
- package/dist/chunks/{vcs-y1n096b6.js → location-dvqjns4f.js} +27 -27
- package/dist/chunks/{vcs-rn39wzk6.js → location-dwenb9k0.js} +23 -23
- package/dist/chunks/{vcs-4rev9cvp.js → location-dxc4ayrt.js} +15 -15
- package/dist/chunks/{vcs-1ysz3b88.js → location-e6ef6n62.js} +46 -46
- package/dist/chunks/{vcs-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-8bqprwpq.js → location-efsmb0h4.js} +19 -19
- package/dist/chunks/{vcs-xs53z2pm.js → location-em3h5ktn.js} +4 -4
- package/dist/chunks/{vcs-qbfvtt5h.js → location-er3ye3qa.js} +15 -15
- package/dist/chunks/{vcs-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-f5gy8qwh.js → location-f5gy8qwh.js} +1 -1
- package/dist/chunks/{vcs-wkwj6cw5.js → location-fa7rx1rj.js} +11 -11
- package/dist/chunks/{vcs-52f2jrtr.js → location-fasbsk8t.js} +17 -17
- package/dist/chunks/{vcs-ert91amk.js → location-fd6ys4ef.js} +8 -8
- package/dist/chunks/{vcs-edrmdtr5.js → location-fqb2p7cx.js} +7 -7
- package/dist/chunks/{vcs-8jnczxdz.js → location-fvcnt3t4.js} +5 -5
- package/dist/chunks/{vcs-gh5z95q3.js → location-g31erja1.js} +9 -9
- package/dist/chunks/{vcs-3318eyp5.js → location-g4et1qt7.js} +3 -3
- package/dist/chunks/{vcs-bzawqrey.js → location-g7j3mj99.js} +4 -4
- package/dist/chunks/{vcs-q86e9bsp.js → location-gakk3ey9.js} +11 -11
- package/dist/chunks/{vcs-yjfktaj5.js → location-gbjeyn0t.js} +12 -12
- package/dist/chunks/{vcs-p5p5kne1.js → location-gccjnz6h.js} +2 -2
- package/dist/chunks/{vcs-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-2xdh0w28.js → location-gj71zhbs.js} +5 -5
- package/dist/chunks/{vcs-jk03ymz1.js → location-gnwsk10c.js} +11 -11
- package/dist/chunks/{vcs-6tfrbyrn.js → location-gp96s3k1.js} +26 -26
- package/dist/chunks/{vcs-h2b79v29.js → location-h2b79v29.js} +2 -2
- package/dist/chunks/{vcs-89rvcjqs.js → location-h4ckqw4f.js} +8 -8
- package/dist/chunks/{vcs-ekaexw2z.js → location-h5vnjv2h.js} +308 -308
- package/dist/chunks/{vcs-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-q781ceqg.js → location-ha10f5ag.js} +21 -21
- package/dist/chunks/{vcs-qbt3t408.js → location-hmp1x13k.js} +2 -2
- package/dist/chunks/{vcs-652g5ww1.js → location-ht20w0bm.js} +22 -22
- package/dist/chunks/{vcs-r8518j31.js → location-ht2vmafg.js} +12 -12
- package/dist/chunks/{vcs-b34sdxkh.js → location-htjw9qza.js} +8 -8
- package/dist/chunks/{vcs-6e2c24zy.js → location-hzm7e63r.js} +31 -31
- package/dist/chunks/{vcs-g60qacmp.js → location-hznqgj95.js} +6 -6
- package/dist/chunks/{vcs-yjg24re3.js → location-j4vxd5gc.js} +25 -25
- package/dist/chunks/{vcs-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-xaccx4pc.js → location-j87v20fg.js} +5 -5
- package/dist/chunks/{vcs-qqjzd42y.js → location-jdjpygpn.js} +1 -1
- package/dist/chunks/{vcs-dsgjd3rn.js → location-jqskptrr.js} +6 -6
- package/dist/chunks/{vcs-w347braj.js → location-jtchp687.js} +21 -21
- package/dist/chunks/{vcs-3qaj82j9.js → location-k8hpw67k.js} +5 -5
- package/dist/chunks/{vcs-p9zzjwz0.js → location-kanq2qcn.js} +16 -16
- package/dist/chunks/{vcs-v5mwb5nv.js → location-kdnkv6vg.js} +21 -21
- package/dist/chunks/{vcs-rzs3gq0x.js → location-kh9sx4kg.js} +8 -8
- package/dist/chunks/{vcs-w1bc1hs8.js → location-krdch7pj.js} +8 -8
- package/dist/chunks/{vcs-psn196xm.js → location-kryy92pc.js} +33 -33
- package/dist/chunks/{vcs-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-8zp34bdd.js → location-m5fmzmxa.js} +7 -7
- package/dist/chunks/{vcs-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-sm4ranxy.js → location-ma8dv7tn.js} +11 -11
- package/dist/chunks/{vcs-30pk4ngn.js → location-mfns49dk.js} +11 -11
- package/dist/chunks/{vcs-7f5fnqp2.js → location-mfq58xys.js} +7 -7
- package/dist/chunks/{vcs-1kfk229s.js → location-mkderzf3.js} +29 -29
- package/dist/chunks/{vcs-1avcv9p8.js → location-mpa2g5zd.js} +30 -30
- package/dist/chunks/{vcs-gg1q1rgs.js → location-ms3jqqqf.js} +37 -37
- package/dist/chunks/{vcs-698jedh3.js → location-n3kq2dxg.js} +21 -21
- package/dist/chunks/{vcs-kym3tbjm.js → location-n3zff3hk.js} +9 -9
- package/dist/chunks/{vcs-g99bb5tx.js → location-nb85r331.js} +17 -17
- package/dist/chunks/{vcs-rk1r2hx8.js → location-ncnm8wen.js} +1 -1
- package/dist/chunks/{vcs-2fsnkaeb.js → location-np07ctdw.js} +10 -10
- package/dist/chunks/{vcs-3fp39bc5.js → location-nqrfg00y.js} +11 -11
- package/dist/chunks/{vcs-v2p4rfxw.js → location-ns15zm60.js} +6 -6
- package/dist/chunks/{vcs-72ct2ksy.js → location-nz9vh4f0.js} +48 -48
- package/dist/chunks/{vcs-zac3hdf5.js → location-p28awedh.js} +23 -23
- package/dist/chunks/{vcs-g53b9crq.js → location-pdq7zx76.js} +7 -7
- package/dist/chunks/{vcs-ay23zzs3.js → location-pfkmmn9w.js} +33 -33
- package/dist/chunks/{vcs-vg24h9cg.js → location-pg7b5kmm.js} +4 -4
- package/dist/chunks/{vcs-dddf77t3.js → location-pghs4qq9.js} +12 -12
- package/dist/chunks/{vcs-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-ezy85fdf.js → location-pmv361z8.js} +32 -32
- package/dist/chunks/{vcs-r71n597x.js → location-psyghn60.js} +3 -3
- package/dist/chunks/{vcs-cfsekr6v.js → location-py3kkmfq.js} +2 -2
- package/dist/chunks/{vcs-q0xm7vwc.js → location-q0xm7vwc.js} +2 -2
- package/dist/chunks/location-qf4hcvb6.js +26 -0
- package/dist/chunks/{vcs-ns33pmaz.js → location-qjhbzp1x.js} +3 -3
- package/dist/chunks/{vcs-39vpe6qw.js → location-qknp1kwt.js} +16 -16
- package/dist/chunks/{vcs-qnc92qwc.js → location-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-twtpbk14.js → location-qrrr3p9w.js} +28 -28
- package/dist/chunks/{vcs-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-kxd45bf8.js → location-qwpeqn3j.js} +6 -6
- package/dist/chunks/{vcs-atpksgz1.js → location-r8aax1cg.js} +6 -6
- package/dist/chunks/{vcs-4jyvzrab.js → location-r9w3djhf.js} +9 -9
- package/dist/chunks/{vcs-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-g34qytme.js → location-rfnzz8gp.js} +13 -13
- package/dist/chunks/{vcs-1acjjqhc.js → location-rhraev7y.js} +4 -4
- package/dist/chunks/{vcs-x7ypjh20.js → location-rkj7dp5f.js} +10 -10
- package/dist/chunks/{vcs-dfjxtsf9.js → location-rrpq0de9.js} +12 -12
- package/dist/chunks/{vcs-3xqy4ymt.js → location-rx4c2z1d.js} +15 -15
- package/dist/chunks/{vcs-fe5va1gq.js → location-ryxsgh7t.js} +18 -18
- package/dist/chunks/{vcs-m2rmbrrw.js → location-rz7hjw9a.js} +4 -4
- package/dist/chunks/{vcs-wv396vej.js → location-s8d7rejh.js} +8 -8
- package/dist/chunks/{vcs-qygbw77c.js → location-scgrse2b.js} +5 -5
- package/dist/chunks/{vcs-esmd944f.js → location-sdm6ehx7.js} +15 -15
- package/dist/chunks/{vcs-00c9h3yh.js → location-ses0sfa7.js} +25 -25
- package/dist/chunks/{vcs-eqzw3791.js → location-sfyepjcn.js} +10 -10
- package/dist/chunks/{vcs-9dmf3jht.js → location-ss70ch0k.js} +5 -5
- package/dist/chunks/{vcs-0b83k0qn.js → location-t0kkw9j8.js} +5 -5
- package/dist/chunks/{vcs-0v2qpmda.js → location-t5saaaxp.js} +39 -39
- package/dist/chunks/{vcs-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-89znhe33.js → location-tcezcvh9.js} +4 -4
- package/dist/chunks/{vcs-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-sv59d8wy.js → location-tm7bvtyg.js} +15 -15
- package/dist/chunks/{vcs-273heg4k.js → location-tqwy6r45.js} +3 -3
- package/dist/chunks/{vcs-4w0k5wea.js → location-trcdmqx3.js} +10 -10
- package/dist/chunks/{vcs-98d9cgwq.js → location-txa3gs2n.js} +24 -24
- package/dist/chunks/{vcs-xf7k239c.js → location-tzpqvdng.js} +7 -7
- package/dist/chunks/{vcs-y4xh0pmk.js → location-v0es1rhs.js} +7 -7
- package/dist/chunks/{vcs-0w8wvs1r.js → location-vbtjb3bz.js} +8 -8
- package/dist/chunks/{vcs-0a1yp5ev.js → location-ve85v3xb.js} +4 -4
- package/dist/chunks/{vcs-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-dypdtx22.js → location-vmtrkad0.js} +10 -10
- package/dist/chunks/{vcs-mk899n6x.js → location-vqgj6vfx.js} +10 -10
- package/dist/chunks/{vcs-bws3grwa.js → location-vsya7gwe.js} +5 -5
- package/dist/chunks/{vcs-96te9d4b.js → location-vxp3kcg3.js} +5 -5
- package/dist/chunks/{vcs-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-ngcyadx4.js → location-w255jkmj.js} +40 -40
- package/dist/chunks/{vcs-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-p4vte420.js → location-w6ftey9k.js} +25 -25
- package/dist/chunks/{vcs-8nn5nyt2.js → location-w8bcfg26.js} +36 -36
- package/dist/chunks/{vcs-41ssepmq.js → location-wb6g3839.js} +11 -11
- package/dist/chunks/{vcs-apm9d5pk.js → location-wbavqyay.js} +4 -4
- package/dist/chunks/{vcs-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-znge2k26.js → location-wgwhfkbb.js} +9 -9
- package/dist/chunks/{vcs-642sd9r2.js → location-wh2htdx5.js} +19 -19
- package/dist/chunks/{vcs-8xd7pg9c.js → location-wk3dfdmh.js} +10 -10
- package/dist/chunks/{vcs-yq9f48r1.js → location-wr1eej9h.js} +3 -3
- package/dist/chunks/{vcs-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-c6fqm3pf.js → location-x1xn1kyr.js} +25 -25
- package/dist/chunks/{vcs-m6peh6cd.js → location-xcst2118.js} +12 -12
- package/dist/chunks/{vcs-g5w8qwbj.js → location-xfkkasph.js} +4 -4
- package/dist/chunks/{vcs-bfh2072t.js → location-xjthv5h5.js} +20 -20
- package/dist/chunks/{vcs-w3bk7c2d.js → location-xk5qmycy.js} +34 -34
- package/dist/chunks/{vcs-xkntkrq7.js → location-xkntkrq7.js} +2 -2
- package/dist/chunks/{vcs-1xpf0exr.js → location-xy5gggj8.js} +15 -15
- package/dist/chunks/{vcs-qxjc9qry.js → location-xyafkbt0.js} +3 -3
- package/dist/chunks/{vcs-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-4rrjew3c.js → location-y3tn1ts5.js} +43 -43
- package/dist/chunks/{vcs-m3qcfrsh.js → location-y7dx63g1.js} +16 -16
- package/dist/chunks/{vcs-cvd0t7zh.js → location-ybsbay28.js} +22 -22
- package/dist/chunks/{vcs-jpvtfgsr.js → location-ykk9be0k.js} +15 -15
- package/dist/chunks/{vcs-z6fm47wz.js → location-ymhgr8h4.js} +11 -11
- package/dist/chunks/{vcs-rtk327b3.js → location-yqkgc340.js} +13 -13
- package/dist/chunks/{vcs-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-j5rxtxht.js → location-z0aj456m.js} +4 -4
- package/dist/chunks/{vcs-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-gy16a72j.js → location-z1443vyh.js} +5 -5
- package/dist/chunks/{vcs-waza03q7.js → location-z4ggt3ag.js} +16 -16
- package/dist/chunks/{vcs-9zdhcr13.js → location-z6z545q9.js} +55 -55
- package/dist/chunks/{vcs-75jaekcr.js → location-z72ax6ks.js} +9 -9
- package/dist/chunks/{vcs-kne8f3cn.js → location-zee1rnkq.js} +4 -4
- package/dist/chunks/{vcs-pkqb68ka.js → location-zfs8ae4p.js} +4 -4
- package/dist/chunks/{vcs-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-f29mbr7f.js → location-zsr4wwhv.js} +4 -4
- package/dist/chunks/{vcs-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- 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 +115 -115
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +100 -100
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +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 +115 -115
- 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 +113 -113
- 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 +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- 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 +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- 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 +118 -118
- package/dist/session/model-transport.js +7 -7
- 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 +203 -203
- 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 +213 -213
- 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 +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- 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 +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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/vcs-9zdhvgqs.js +0 -18
- package/dist/chunks/vcs-c2rqwj43.js +0 -253
- package/dist/chunks/vcs-r1as3zj2.js +0 -26
- /package/dist/chunks/{vcs-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./location-72n52cxe.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service25,
|
|
12
|
+
node28
|
|
13
|
+
} from "./location-pmv361z8.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event6,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () =>
|
|
32
|
+
ListInput: () => ListInput2,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError4,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service24,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node27
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -82,7 +82,7 @@ var Content2 = Schema.Struct({
|
|
|
82
82
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
83
83
|
mime: Schema.String
|
|
84
84
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
85
|
-
var
|
|
85
|
+
var ListInput2 = Schema.Struct({
|
|
86
86
|
path: Schema.String.pipe(Schema.optional)
|
|
87
87
|
});
|
|
88
88
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event6 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service24 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service24, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service80;
|
|
115
|
+
const search = yield* Service25;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
129
129
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
130
130
|
return { absolute, real, directory: location.directory };
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service24.of({
|
|
133
133
|
find: search.find,
|
|
134
134
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
135
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
136
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
135
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
136
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
137
137
|
if (info.type !== "File")
|
|
138
138
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
139
139
|
return {
|
|
140
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
140
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
|
|
141
141
|
mime: FSUtil.mimeType(target.real)
|
|
142
142
|
};
|
|
143
143
|
}),
|
|
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}));
|
|
169
|
-
var
|
|
170
|
-
service:
|
|
169
|
+
var node27 = makeLocationNode({
|
|
170
|
+
service: Service24,
|
|
171
171
|
layer: baseLayer,
|
|
172
|
-
deps: [FSUtil.node,
|
|
172
|
+
deps: [FSUtil.node, node84, node28]
|
|
173
173
|
});
|
|
174
174
|
|
|
175
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
175
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service24, node27, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-adjgd6nn.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service3,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service83;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service3.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node87] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service3, layer4, node4, exports_sdk };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qjhbzp1x.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-adjgd6nn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./location-bw9zjykr.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service41
|
|
16
|
+
} from "./location-726nj29k.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-9zhh23v8.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-9e5bzkjp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service62;
|
|
45
45
|
const database = yield* Service84;
|
|
46
46
|
const bus = yield* Service83;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service41;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
76
|
+
const instances = yield* Service62;
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service41;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID6.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-58072hz9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError9,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
31
31
|
import { Skill } from "@opencode/schema/skill";
|
|
32
32
|
import { SessionError } from "@opencode/schema/session-error";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
35
35
|
sessionID: SessionSchema2.ID
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
116
116
|
}) {
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service54,
|
|
8
|
+
node58
|
|
9
|
+
} from "./location-txa3gs2n.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9refcsmz.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node6,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service54;
|
|
335
|
+
return Service5.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node6 = makeLocationNode({ service: Service5, layer, deps: [node58] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node6, exports_read_filesystem };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info12,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info12 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info12, exports_permission };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service50,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node54
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service50 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service50.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node54 = makeLocationNode({
|
|
137
|
+
service: Service50,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service50, node54, exports_tool_output2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
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 "./
|
|
4
|
+
} from "./location-qjhbzp1x.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./location-e6ef6n62.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./location-qrrr3p9w.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
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*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service52;
|
|
26
|
+
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin46 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin37, exports_compaction };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./location-ybsbay28.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./location-e6ef6n62.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-0g9bh3xt.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
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 Plugin44 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin34, exports_compatibility };
|