@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
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-adjgd6nn.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event15,
|
|
18
|
+
ID: () => ID10,
|
|
19
|
+
Info: () => Info19,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service69,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node73
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event15 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID10 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID10.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info19 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service69 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info19.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID10.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service69.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID10.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID10.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node73 = makeLocationNode({ service: Service69, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID10, Name3, defaultID2, Color2, Info19, Service69, node73, exports_agent4, Event15 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin27,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin27 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin27, exports_tool_input_repair };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node78
|
|
4
|
+
} from "./location-vqgj6vfx.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-58072hz9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service70,
|
|
20
|
+
make: () => make22,
|
|
21
|
+
node: () => node74
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service70 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make22 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service74;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make19 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service70.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make19 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service70, make22);
|
|
358
|
+
var node74 = makeGlobalNode({ service: Service70, layer, deps: [node78] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service70, make22, node74, exports_job };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-adjgd6nn.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-w8bcfg26.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./location-72n52cxe.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info4,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service19,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node22
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,11 +54,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service19 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
61
|
+
const location = yield* Service80;
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service19.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node22 = makeLocationNode({
|
|
191
|
+
service: Service19,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node84, node87]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service19, node22, exports_vcs };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service49,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node53
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service49 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service49, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service49.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service37, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node53 = makeGlobalNode({ service: Service49, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service49, node53, exports_environment };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./location-rrpq0de9.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make18
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make18 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service82;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make13 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make18, exports_git2 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-adjgd6nn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./location-ses0sfa7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./location-w8bcfg26.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./location-72n52cxe.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-2qwkx9g6.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service66,
|
|
26
|
+
node70
|
|
27
|
+
} from "./location-z6z545q9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service23,
|
|
30
|
+
node26
|
|
31
|
+
} from "./location-ykk9be0k.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service22,
|
|
41
|
+
node: () => node25
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service22 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service83;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
|
+
const permission = yield* Service66;
|
|
54
|
+
const forms = yield* Service78;
|
|
55
|
+
const rpc = yield* Service23;
|
|
56
|
+
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service22.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node25 = makeLocationNode({
|
|
84
|
+
service: Service22,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [node87,
|
|
86
|
+
deps: [node87, node84, node70, node85, node82, node26]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service22, node25, exports_location_lifecycle };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-adjgd6nn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service56,
|
|
6
|
+
Event12
|
|
7
|
+
} from "./location-4x2d6zk6.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
@@ -21,7 +21,7 @@ var Plugin49 = define({
|
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service83;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service56;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,7 +41,7 @@ var Plugin49 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID6,
|
|
6
|
+
Service41
|
|
7
|
+
} from "./location-726nj29k.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-58072hz9.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9zhh23v8.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service41;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID6.make(from),
|
|
91
|
+
to: ID6.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|