@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,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-adjgd6nn.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-4zmtjtds.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
@@ -19,12 +19,12 @@ __export(exports_persistent_pty, {
|
|
|
19
19
|
NotFoundError: () => NotFoundError3,
|
|
20
20
|
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service20,
|
|
23
23
|
UnavailableError: () => UnavailableError3,
|
|
24
24
|
available: () => available2,
|
|
25
25
|
configured: () => configured3,
|
|
26
26
|
layer: () => layer10,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node23
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -51,9 +51,9 @@ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service20 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service83;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service20.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -261,11 +261,11 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
261
261
|
}));
|
|
262
262
|
var layer10 = makeLayer();
|
|
263
263
|
var configured3 = (options) => makeGlobalNode({
|
|
264
|
-
service:
|
|
264
|
+
service: Service20,
|
|
265
265
|
layer: options === undefined ? layer10 : makeLayer(options),
|
|
266
266
|
deps: [node87, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node23 = configured3();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
271
|
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options3, UnavailableError3, NotFoundError3,
|
|
304
|
+
export { Options3, UnavailableError3, NotFoundError3, Service20, layer10, configured3, node23, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make15(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service46,
|
|
3
|
+
node50
|
|
4
|
+
} from "./location-5pnewhce.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service38,
|
|
20
|
+
node: () => node41
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service38 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service46;
|
|
64
|
+
return Service38.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make21({
|
|
72
|
+
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node41 = makeLocationNode({ service: Service38, layer, deps: [node50] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service38, node41, exports_instructions5 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./location-72n52cxe.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service54
|
|
11
|
+
} from "./location-txa3gs2n.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service79
|
|
14
|
+
} from "./location-b2k62zq4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service21,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-4405jfbf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service66
|
|
22
|
+
} from "./location-z6z545q9.js";
|
|
23
23
|
import {
|
|
24
24
|
Service16,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-0d2m1esc.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin11,
|
|
42
|
+
name: () => name9,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name9 = "patch";
|
|
89
|
+
var Input9 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin11 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
111
|
+
const environment = yield* Service54;
|
|
112
112
|
const access = yield* Service16;
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
113
|
+
const fileMutation = yield* Service21;
|
|
114
|
+
const formatter = yield* Service79;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service66;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name9,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input9,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin2 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name9, Input9, Applied2, Output5, toModelContent5, Plugin11, exports_patch };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./location-72n52cxe.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service52
|
|
9
|
+
} from "./location-e6ef6n62.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./location-n3kq2dxg.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin44
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin44 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service52;
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service58;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin37 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin44, exports_worktree };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service76,
|
|
4
|
+
node80
|
|
5
|
+
} from "./location-6t32vnd6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,23 +14,23 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
+
Service72,
|
|
18
|
+
node76
|
|
19
|
+
} from "./location-13xr13rz.js";
|
|
20
|
+
import {
|
|
17
21
|
Service65,
|
|
18
22
|
node69
|
|
19
|
-
} from "./
|
|
20
|
-
import {
|
|
21
|
-
Service49,
|
|
22
|
-
node52
|
|
23
|
-
} from "./vcs-30pk4ngn.js";
|
|
23
|
+
} from "./location-mfns49dk.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID11,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service71,
|
|
29
|
+
node75
|
|
30
|
+
} from "./location-5e34y3kq.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/model-resolver.ts
|
|
36
36
|
var exports_model_resolver = {};
|
|
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
|
|
|
39
39
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
40
40
|
ModelInitializationError: () => ModelInitializationError2,
|
|
41
41
|
ModelResolver: () => exports_model_resolver,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service64,
|
|
43
43
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
44
44
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
45
45
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
46
46
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
47
47
|
fromCatalogModel: () => fromCatalogModel2,
|
|
48
48
|
hasPackage: () => hasPackage2,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer24,
|
|
50
|
+
node: () => node68,
|
|
51
51
|
resolveModel: () => resolveModel2,
|
|
52
52
|
withVariant: () => withVariant2
|
|
53
53
|
});
|
|
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
57
57
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
58
58
|
import { Npm } from "@opencode/util/npm";
|
|
59
59
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
60
|
-
providerID:
|
|
61
|
-
modelID:
|
|
60
|
+
providerID: ID12,
|
|
61
|
+
modelID: ID11,
|
|
62
62
|
variant: VariantID2
|
|
63
63
|
}) {
|
|
64
64
|
get message() {
|
|
@@ -67,8 +67,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID12,
|
|
71
|
+
modelID: ID11,
|
|
72
72
|
package: Schema.String
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -78,8 +78,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
78
78
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
79
79
|
|
|
80
80
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
81
|
-
providerID:
|
|
82
|
-
modelID:
|
|
81
|
+
providerID: ID12,
|
|
82
|
+
modelID: ID11,
|
|
83
83
|
package: Schema.String,
|
|
84
84
|
detail: Schema.String
|
|
85
85
|
}) {
|
|
@@ -89,8 +89,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
92
|
-
providerID:
|
|
93
|
-
modelID:
|
|
92
|
+
providerID: ID12,
|
|
93
|
+
modelID: ID11,
|
|
94
94
|
package: Schema.String,
|
|
95
95
|
phase: InitializationPhase2,
|
|
96
96
|
detail: Schema.String
|
|
@@ -101,8 +101,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
104
|
-
providerID:
|
|
105
|
-
modelID:
|
|
104
|
+
providerID: ID12,
|
|
105
|
+
modelID: ID11,
|
|
106
106
|
variables: Schema.Array(Schema.String)
|
|
107
107
|
}) {
|
|
108
108
|
get message() {
|
|
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID12,
|
|
115
|
+
modelID: ID11,
|
|
116
116
|
route: Schema.String
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -120,7 +120,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
class
|
|
123
|
+
class Service64 extends Context.Service()("@opencode/ModelResolver") {
|
|
124
124
|
}
|
|
125
125
|
var withVariant2 = (model, variantID) => {
|
|
126
126
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -264,15 +264,15 @@ var causeMessage = (cause) => {
|
|
|
264
264
|
};
|
|
265
265
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
266
266
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
267
|
-
var
|
|
268
|
-
const providers = yield*
|
|
269
|
-
const models = yield*
|
|
270
|
-
const integrations = yield*
|
|
267
|
+
var layer24 = Layer.effect(Service64, Effect.gen(function* () {
|
|
268
|
+
const providers = yield* Service72;
|
|
269
|
+
const models = yield* Service71;
|
|
270
|
+
const integrations = yield* Service76;
|
|
271
271
|
const npm = yield* Npm.Service;
|
|
272
|
-
const aisdk = yield*
|
|
272
|
+
const aisdk = yield* Service65;
|
|
273
273
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
274
274
|
const provider = yield* providers.get(selected.providerID);
|
|
275
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
275
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
276
276
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
277
277
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
278
278
|
const runtimeInfo = {
|
|
@@ -299,7 +299,7 @@ var layer21 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
299
299
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
300
300
|
};
|
|
301
301
|
});
|
|
302
|
-
return
|
|
302
|
+
return Service64.of({
|
|
303
303
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
304
304
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
305
305
|
if (!selected)
|
|
@@ -316,10 +316,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
316
316
|
const name = packageName2(packageName);
|
|
317
317
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
318
318
|
}
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
321
|
-
layer:
|
|
322
|
-
deps: [
|
|
319
|
+
var node68 = makeLocationNode({
|
|
320
|
+
service: Service64,
|
|
321
|
+
layer: layer24,
|
|
322
|
+
deps: [node76, node75, node80, Npm.node, node69]
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
325
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node68, exports_model_resolver };
|