@opencode-ai/core 0.0.0-dev-19214 → 0.0.0-dev-19216
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{shell-v0z4favv.js → file-mutation-01mh49p0.js} +7 -7
- package/dist/chunks/{shell-nxrz604p.js → file-mutation-06qbn9zd.js} +9 -9
- package/dist/chunks/{shell-p58t2f8x.js → file-mutation-09n63jss.js} +22 -22
- package/dist/chunks/{shell-871gwe26.js → file-mutation-0amw245z.js} +23 -23
- package/dist/chunks/{shell-5n18k7nt.js → file-mutation-0dy783fj.js} +6 -6
- package/dist/chunks/{shell-0e0xafbb.js → file-mutation-0e0xafbb.js} +2 -2
- package/dist/chunks/{shell-15wrc8zw.js → file-mutation-0ek2w54z.js} +11 -11
- package/dist/chunks/{shell-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{shell-1rx77as6.js → file-mutation-0s535w00.js} +23 -23
- package/dist/chunks/{shell-0s9ayhjt.js → file-mutation-0s9ayhjt.js} +1 -1
- package/dist/chunks/{shell-esp3dmb3.js → file-mutation-0tqc2v94.js} +3 -3
- package/dist/chunks/{shell-3yfy8pbr.js → file-mutation-0wvfwpx6.js} +20 -20
- package/dist/chunks/{shell-s440spbv.js → file-mutation-143qxyja.js} +22 -22
- package/dist/chunks/{shell-yp2x3t23.js → file-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{shell-1ct4r87x.js → file-mutation-1ct4r87x.js} +1 -1
- package/dist/chunks/{shell-t2h14k12.js → file-mutation-1dbh8d2n.js} +11 -11
- package/dist/chunks/{shell-5fc6d9pe.js → file-mutation-1fgze8hp.js} +20 -20
- package/dist/chunks/{shell-w0nm8ced.js → file-mutation-1kvgva6x.js} +24 -24
- package/dist/chunks/file-mutation-1x11rq2a.js +18 -0
- package/dist/chunks/{shell-mt97rwwj.js → file-mutation-20m0wqts.js} +12 -12
- package/dist/chunks/{shell-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{shell-2402vzrj.js → file-mutation-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-29x78va6.js → file-mutation-29x78va6.js} +2 -2
- package/dist/chunks/{shell-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-yqgcr8m8.js → file-mutation-2bm7eph3.js} +23 -23
- package/dist/chunks/{shell-8mtzvntg.js → file-mutation-2e3b49a5.js} +24 -24
- package/dist/chunks/{shell-zvpejf85.js → file-mutation-2ed8104q.js} +46 -46
- package/dist/chunks/{shell-2ht70gj7.js → file-mutation-2ht70gj7.js} +1 -1
- package/dist/chunks/{shell-zmghpns8.js → file-mutation-2phvqca6.js} +16 -16
- package/dist/chunks/{shell-ebbc4kwn.js → file-mutation-2sj3c2ad.js} +30 -30
- package/dist/chunks/{shell-00aww1yf.js → file-mutation-2z0b56st.js} +2 -2
- package/dist/chunks/{shell-y68fmg6q.js → file-mutation-34m8n255.js} +6 -6
- package/dist/chunks/{shell-6v3jf47k.js → file-mutation-35e7m4yx.js} +20 -20
- package/dist/chunks/{shell-n5vm294d.js → file-mutation-3and2xxf.js} +30 -30
- package/dist/chunks/{shell-s8nmbtd4.js → file-mutation-3ap2p86d.js} +9 -9
- package/dist/chunks/{shell-gdvy8fx6.js → file-mutation-3fc6dm20.js} +4 -4
- package/dist/chunks/{shell-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-w7q1nt0x.js → file-mutation-3jpejpk8.js} +23 -23
- package/dist/chunks/{shell-2vt5h35m.js → file-mutation-3jxqjar4.js} +24 -24
- package/dist/chunks/{shell-75zmbk21.js → file-mutation-3pt7nqe6.js} +47 -47
- package/dist/chunks/{shell-3qzbfqsy.js → file-mutation-3qzbfqsy.js} +2 -2
- package/dist/chunks/{shell-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-v623p3vn.js → file-mutation-3sy3bhxh.js} +8 -8
- package/dist/chunks/{shell-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-711hfp6y.js → file-mutation-3x6030n9.js} +2 -2
- package/dist/chunks/{shell-0m561qeb.js → file-mutation-40jtjs1k.js} +11 -11
- package/dist/chunks/{shell-454k5vzh.js → file-mutation-454k5vzh.js} +1 -1
- package/dist/chunks/{shell-dsfx0j74.js → file-mutation-45a3e49b.js} +6 -6
- package/dist/chunks/{shell-ez6kpqxh.js → file-mutation-47cx0r01.js} +31 -31
- package/dist/chunks/{shell-ex76qa1h.js → file-mutation-4b1sg654.js} +17 -17
- package/dist/chunks/{shell-qhchxjqx.js → file-mutation-4k7zmpk3.js} +8 -8
- package/dist/chunks/{shell-4r2nyarf.js → file-mutation-4r2nyarf.js} +1 -1
- package/dist/chunks/{shell-ny0wre0x.js → file-mutation-4xymgjke.js} +20 -20
- package/dist/chunks/{shell-56gdpj1q.js → file-mutation-56gdpj1q.js} +2 -2
- package/dist/chunks/{shell-07st23v6.js → file-mutation-58hcpyay.js} +32 -32
- package/dist/chunks/{shell-w7q2j5hm.js → file-mutation-5bch6tfs.js} +10 -10
- package/dist/chunks/{shell-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-c71cneyv.js → file-mutation-5e624tvg.js} +7 -7
- package/dist/chunks/{shell-5fmxt4p5.js → file-mutation-5fmxt4p5.js} +1 -1
- package/dist/chunks/{shell-5jvc5tg2.js → file-mutation-5jvc5tg2.js} +1 -1
- package/dist/chunks/{shell-v8hftjms.js → file-mutation-5mqca3xa.js} +25 -25
- package/dist/chunks/{shell-0tm8rvrz.js → file-mutation-5n978qtj.js} +6 -6
- package/dist/chunks/{shell-f0vxf23b.js → file-mutation-62z4m846.js} +24 -24
- package/dist/chunks/{shell-m4bpwynw.js → file-mutation-64z8z5x5.js} +6 -6
- package/dist/chunks/{shell-42nrxqjf.js → file-mutation-6e593aan.js} +36 -36
- package/dist/chunks/{shell-mtcjf44p.js → file-mutation-6e958v7x.js} +4 -4
- package/dist/chunks/{shell-03f98ybe.js → file-mutation-6qvt79ej.js} +27 -27
- package/dist/chunks/{shell-jzyxh6de.js → file-mutation-6t42cqx7.js} +32 -32
- package/dist/chunks/{shell-j3m9zsv2.js → file-mutation-6tnfgw9a.js} +25 -25
- package/dist/chunks/{shell-72nftnjy.js → file-mutation-72nftnjy.js} +2 -2
- package/dist/chunks/{shell-e83y27r5.js → file-mutation-76smfv87.js} +7 -7
- package/dist/chunks/{shell-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-9kksqv7m.js → file-mutation-7cnkxtbd.js} +9 -9
- package/dist/chunks/{shell-b3t4emvz.js → file-mutation-7ctffjx1.js} +7 -7
- package/dist/chunks/{shell-qgn6gcr1.js → file-mutation-7dqw4kz8.js} +5 -5
- package/dist/chunks/{shell-ane3y94c.js → file-mutation-7m9tkefv.js} +11 -11
- package/dist/chunks/{shell-rzyn4jtv.js → file-mutation-7ng7exzm.js} +1 -1
- package/dist/chunks/{shell-74jy76yg.js → file-mutation-7nxyxket.js} +1 -1
- package/dist/chunks/{shell-2qrq5jg3.js → file-mutation-7ry09vv5.js} +3 -3
- package/dist/chunks/{shell-pjedbq3k.js → file-mutation-7w3s9kd0.js} +4 -4
- package/dist/chunks/file-mutation-7zk4hah4.js +4 -0
- package/dist/chunks/{shell-gd943ppd.js → file-mutation-85490285.js} +29 -29
- package/dist/chunks/{shell-nd9cq3a7.js → file-mutation-897hzw7d.js} +9 -9
- package/dist/chunks/{shell-n3m3nbex.js → file-mutation-8ht03v18.js} +4 -4
- package/dist/chunks/{shell-4bnef52n.js → file-mutation-8yqh4j7k.js} +28 -28
- package/dist/chunks/{shell-waq1hr54.js → file-mutation-8za182nc.js} +15 -15
- package/dist/chunks/{shell-pxednv00.js → file-mutation-986p65m9.js} +5 -5
- package/dist/chunks/{shell-3gzfz3hk.js → file-mutation-998c6hc6.js} +33 -33
- package/dist/chunks/{shell-rzejcw32.js → file-mutation-99vgbsyy.js} +5 -5
- package/dist/chunks/{shell-8k5e3xq5.js → file-mutation-9b3te7cd.js} +56 -56
- package/dist/chunks/{shell-5ctdmadx.js → file-mutation-9pk3p303.js} +8 -8
- package/dist/chunks/{shell-xwmwycrq.js → file-mutation-a1qwmqqw.js} +13 -13
- package/dist/chunks/{shell-806j49yq.js → file-mutation-a2ew8a62.js} +4 -4
- package/dist/chunks/{shell-4qjtp74j.js → file-mutation-a4rgs0hc.js} +8 -8
- package/dist/chunks/{shell-2gdv49he.js → file-mutation-a9e4exys.js} +43 -43
- package/dist/chunks/{shell-qr58g126.js → file-mutation-aa8vhsgg.js} +7 -7
- package/dist/chunks/{shell-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-vxzwg83z.js → file-mutation-ab39g6be.js} +15 -15
- package/dist/chunks/{shell-ryhm87t0.js → file-mutation-ada40aw5.js} +44 -44
- package/dist/chunks/{shell-vkh6dqf1.js → file-mutation-aeg24s2a.js} +3 -3
- package/dist/chunks/{shell-ddcwh8jf.js → file-mutation-asb5ddgn.js} +3 -3
- package/dist/chunks/{shell-768fctrn.js → file-mutation-ayghbyc9.js} +13 -13
- package/dist/chunks/{shell-xmwqh1zw.js → file-mutation-b2cva8t7.js} +31 -31
- package/dist/chunks/{shell-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-cgqryxpd.js → file-mutation-b92pv2tj.js} +5 -5
- package/dist/chunks/{shell-swx5t4h5.js → file-mutation-b9j3swwv.js} +13 -13
- package/dist/chunks/{shell-b9wsbatv.js → file-mutation-b9wsbatv.js} +1 -1
- package/dist/chunks/{shell-xnf7zpzd.js → file-mutation-babn4frh.js} +11 -11
- package/dist/chunks/{shell-46e97tr7.js → file-mutation-bfr8x9hg.js} +10 -10
- package/dist/chunks/{shell-ng39vjdn.js → file-mutation-bgt6msk1.js} +2 -2
- package/dist/chunks/{shell-3jj6bjb6.js → file-mutation-bxnxw8jj.js} +5 -5
- package/dist/chunks/{shell-6kgc56n8.js → file-mutation-c0gy5km3.js} +6 -6
- package/dist/chunks/{shell-3kbcwn9y.js → file-mutation-c0yyaxk6.js} +17 -17
- package/dist/chunks/{shell-dy3b9v5q.js → file-mutation-c8k27x3s.js} +6 -6
- package/dist/chunks/{shell-af7y0kpf.js → file-mutation-cfbbrnxq.js} +11 -11
- package/dist/chunks/{shell-1tq060df.js → file-mutation-cpy6gm2a.js} +4 -4
- package/dist/chunks/{shell-wkjngxy5.js → file-mutation-cq35m6me.js} +3 -3
- package/dist/chunks/{shell-b9mymrzg.js → file-mutation-cr8sbmwr.js} +43 -43
- package/dist/chunks/{shell-yj7asw96.js → file-mutation-d4pvcjkk.js} +18 -18
- package/dist/chunks/{shell-0jskpge6.js → file-mutation-d6k3vpm5.js} +4 -4
- package/dist/chunks/{shell-n8z0sp8q.js → file-mutation-dcgj9q88.js} +22 -22
- package/dist/chunks/{shell-n87qk14a.js → file-mutation-dds56zbh.js} +29 -29
- package/dist/chunks/{shell-bf0ztrs3.js → file-mutation-dfe8djrf.js} +4 -4
- package/dist/chunks/{shell-a26qnsqg.js → file-mutation-dk2pae67.js} +16 -16
- package/dist/chunks/{shell-r8cfqb6n.js → file-mutation-dxyd6n6d.js} +172 -172
- package/dist/chunks/{shell-jvc265pg.js → file-mutation-dyqxbeha.js} +11 -11
- package/dist/chunks/{shell-pdy88f7k.js → file-mutation-e4gkhccc.js} +4 -4
- package/dist/chunks/{shell-q57b8tdc.js → file-mutation-e6yvemtv.js} +64 -64
- package/dist/chunks/{shell-yw1br2hz.js → file-mutation-e94r4fk5.js} +83 -83
- package/dist/chunks/{shell-hn4sjpb5.js → file-mutation-enamxrz2.js} +2 -2
- package/dist/chunks/{shell-6ff6vtqe.js → file-mutation-etamtscj.js} +2 -2
- package/dist/chunks/{shell-famd3pv6.js → file-mutation-ev7pq6rs.js} +5 -5
- package/dist/chunks/{shell-e9ez9tj0.js → file-mutation-evj8e4hg.js} +28 -28
- package/dist/chunks/{shell-z3zp40bp.js → file-mutation-evj94p3t.js} +13 -13
- package/dist/chunks/{shell-hycyp8g1.js → file-mutation-f40w3zwy.js} +46 -46
- package/dist/chunks/{shell-45t9anda.js → file-mutation-f9x6rp1j.js} +1 -1
- package/dist/chunks/{shell-gtdavqjy.js → file-mutation-fdcmbayr.js} +17 -17
- package/dist/chunks/{shell-vprv6wac.js → file-mutation-fhbjhm8t.js} +49 -49
- package/dist/chunks/{shell-7cpqsz3a.js → file-mutation-fj5hcd03.js} +27 -27
- package/dist/chunks/{shell-2b10552f.js → file-mutation-fke00733.js} +2 -2
- package/dist/chunks/{shell-jq9g1dav.js → file-mutation-fmzy9ynz.js} +7 -7
- package/dist/chunks/{shell-yzbh0z81.js → file-mutation-fvpasvjq.js} +4 -4
- package/dist/chunks/{shell-swa286b8.js → file-mutation-fw416nha.js} +21 -21
- package/dist/chunks/{shell-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-fxypknc8.js → file-mutation-fxypknc8.js} +1 -1
- package/dist/chunks/{shell-pbhkjpds.js → file-mutation-fz1pdqz4.js} +5 -5
- package/dist/chunks/{shell-hrvm11jt.js → file-mutation-g2dy4bvs.js} +3 -3
- package/dist/chunks/{shell-d72308c8.js → file-mutation-g2gt0w0k.js} +2 -2
- package/dist/chunks/{shell-d8bdgt1m.js → file-mutation-g8a6h08d.js} +13 -13
- package/dist/chunks/{shell-st0xy9pc.js → file-mutation-gd0bwbeh.js} +84 -84
- package/dist/chunks/{shell-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-9660t85j.js → file-mutation-ger17fbp.js} +43 -43
- package/dist/chunks/{shell-2pb5ppxq.js → file-mutation-gkvt71jh.js} +9 -9
- package/dist/chunks/{shell-x629tvq7.js → file-mutation-gz5et4ap.js} +20 -20
- package/dist/chunks/{shell-c9tsen2f.js → file-mutation-h139r1mg.js} +300 -300
- package/dist/chunks/{shell-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-3bjb2hjh.js → file-mutation-hayn59kd.js} +27 -27
- package/dist/chunks/{shell-heyhwy2w.js → file-mutation-heyhwy2w.js} +1 -1
- package/dist/chunks/{shell-7haxhjsc.js → file-mutation-hgeb4s25.js} +1 -1
- package/dist/chunks/{shell-y2cqme3r.js → file-mutation-hhpzk61m.js} +5 -5
- package/dist/chunks/{shell-wz16cg5z.js → file-mutation-hjpabd42.js} +18 -18
- package/dist/chunks/{shell-e82z9tr0.js → file-mutation-hjt4xg1x.js} +7 -7
- package/dist/chunks/{shell-hn57h045.js → file-mutation-hn57h045.js} +1 -1
- package/dist/chunks/{shell-bcezcar3.js → file-mutation-hnyf01b0.js} +5 -5
- package/dist/chunks/{shell-nag7dxjf.js → file-mutation-hpbtcqba.js} +9 -9
- package/dist/chunks/{shell-zmdaybe6.js → file-mutation-htqkwcnv.js} +10 -10
- package/dist/chunks/{shell-f1keh2an.js → file-mutation-hzzs2yvs.js} +34 -34
- package/dist/chunks/{shell-t2cat712.js → file-mutation-j8swj2w1.js} +17 -17
- package/dist/chunks/{shell-7k21e5kk.js → file-mutation-jykcc5qa.js} +8 -8
- package/dist/chunks/{shell-az9b9mm6.js → file-mutation-k0g96r8n.js} +4 -4
- package/dist/chunks/{shell-8fsmte50.js → file-mutation-k0zpnkm5.js} +4 -4
- package/dist/chunks/{shell-4rqy6gt6.js → file-mutation-k1h3pd12.js} +10 -10
- package/dist/chunks/{shell-wc7kexz2.js → file-mutation-k3b33mde.js} +9 -9
- package/dist/chunks/{shell-crpvf69r.js → file-mutation-k3xp7ghz.js} +22 -22
- package/dist/chunks/{shell-k4bwy1x5.js → file-mutation-k4bwy1x5.js} +1 -1
- package/dist/chunks/{shell-wmwak4mn.js → file-mutation-kbsyt50d.js} +33 -33
- package/dist/chunks/{shell-s375ke01.js → file-mutation-kdrneqjw.js} +29 -29
- package/dist/chunks/{shell-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{shell-rh6rd7ag.js → file-mutation-kkxc5154.js} +4 -4
- package/dist/chunks/{shell-apamhaje.js → file-mutation-kry5p3r0.js} +35 -35
- package/dist/chunks/{shell-smfx8wrd.js → file-mutation-ks0jjys9.js} +14 -14
- package/dist/chunks/{shell-kvsjn1dr.js → file-mutation-kvsjn1dr.js} +2 -2
- package/dist/chunks/{shell-ex0wtrk2.js → file-mutation-kx9ynrf0.js} +12 -12
- package/dist/chunks/{shell-5nzbd5n0.js → file-mutation-kxnt8qcg.js} +5 -5
- package/dist/chunks/{shell-nwrk5bab.js → file-mutation-m5a4zvg4.js} +39 -39
- package/dist/chunks/{shell-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-76wr4mq2.js → file-mutation-mfv0zw27.js} +9 -9
- package/dist/chunks/{shell-kfqx8kb7.js → file-mutation-mkajv2tb.js} +6 -6
- package/dist/chunks/{shell-a9c7wcwq.js → file-mutation-mpsa3nes.js} +12 -12
- package/dist/chunks/{shell-ff1h9ct4.js → file-mutation-mq3bjh81.js} +18 -18
- package/dist/chunks/{shell-73tb2d7t.js → file-mutation-mvfsc1pv.js} +3 -3
- package/dist/chunks/{shell-9yf2qrwc.js → file-mutation-n0gbmnre.js} +11 -11
- package/dist/chunks/{shell-9199mjkg.js → file-mutation-n27y30w6.js} +42 -42
- package/dist/chunks/{shell-jzqf3jx6.js → file-mutation-n8dztyn3.js} +13 -13
- package/dist/chunks/{shell-e6cve5mm.js → file-mutation-npsbfqmn.js} +29 -29
- package/dist/chunks/{shell-wd340t2h.js → file-mutation-nt2vsa9g.js} +22 -22
- package/dist/chunks/{shell-cqn5ay5r.js → file-mutation-nvm3xv8h.js} +26 -26
- package/dist/chunks/{shell-tcxv96y6.js → file-mutation-nxepqw4e.js} +14 -14
- package/dist/chunks/{shell-mtvcp45q.js → file-mutation-ny5fc873.js} +15 -15
- package/dist/chunks/{shell-447tz61m.js → file-mutation-p33zfxh6.js} +25 -25
- package/dist/chunks/{shell-pjjtcy2p.js → file-mutation-pjvn5h54.js} +12 -12
- package/dist/chunks/{shell-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{shell-xy6tr93g.js → file-mutation-ptg06ky0.js} +12 -12
- package/dist/chunks/{shell-j80pgsaj.js → file-mutation-ptrtafvx.js} +11 -11
- package/dist/chunks/{shell-av8xxqjs.js → file-mutation-q36vtzqe.js} +5 -5
- package/dist/chunks/{shell-xg3vtz5h.js → file-mutation-q68wbhj3.js} +4 -4
- package/dist/chunks/{shell-vqe9fq18.js → file-mutation-qbyj8qxd.js} +1 -1
- package/dist/chunks/{shell-k3djfchk.js → file-mutation-qfv34cas.js} +20 -20
- package/dist/chunks/{shell-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-3gm33j7d.js → file-mutation-qswnket4.js} +18 -18
- package/dist/chunks/{shell-9qm9egsn.js → file-mutation-qvbcabdc.js} +2 -2
- package/dist/chunks/{shell-htbxhgrz.js → file-mutation-qxezqvzm.js} +17 -17
- package/dist/chunks/{shell-nzfzr9h0.js → file-mutation-r062cge9.js} +43 -43
- package/dist/chunks/{shell-r8dhm0tv.js → file-mutation-r8dhm0tv.js} +1 -1
- package/dist/chunks/{shell-759pz1a2.js → file-mutation-rae26gbb.js} +4 -4
- package/dist/chunks/{shell-00m11tas.js → file-mutation-renmeb8y.js} +9 -9
- package/dist/chunks/{shell-anhky6p6.js → file-mutation-rhqk4sk8.js} +14 -14
- package/dist/chunks/{shell-s85evsrx.js → file-mutation-rwh0xq6p.js} +15 -15
- package/dist/chunks/{shell-8fvescvn.js → file-mutation-rx7yndt1.js} +11 -11
- package/dist/chunks/{shell-j34gsgr1.js → file-mutation-s38wv68t.js} +18 -18
- package/dist/chunks/{shell-0bmd60eh.js → file-mutation-s3vrd4d2.js} +24 -24
- package/dist/chunks/{shell-sba4qhjf.js → file-mutation-sba4qhjf.js} +1 -1
- package/dist/chunks/{shell-7w2wm759.js → file-mutation-sbnvhk9g.js} +4 -4
- package/dist/chunks/{shell-46ypjb8x.js → file-mutation-sc1wqa8e.js} +30 -30
- package/dist/chunks/{shell-cmwx9h7j.js → file-mutation-shfaz11f.js} +4 -4
- package/dist/chunks/{shell-yw9364ag.js → file-mutation-sxhwk0c0.js} +4 -4
- package/dist/chunks/{shell-be80r41v.js → file-mutation-ta5yt3rh.js} +34 -34
- package/dist/chunks/{shell-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-vnwmzs4a.js → file-mutation-tdpndm1c.js} +5 -5
- package/dist/chunks/{shell-4t5xtn3n.js → file-mutation-tgnthhz6.js} +22 -22
- package/dist/chunks/{shell-4039hvv9.js → file-mutation-thb62adn.js} +10 -10
- package/dist/chunks/{shell-tjykrgmx.js → file-mutation-tjykrgmx.js} +1 -1
- package/dist/chunks/{shell-g3k4d7kp.js → file-mutation-v3gnfvgj.js} +11 -11
- package/dist/chunks/{shell-5fkgmv3x.js → file-mutation-v7r3cw40.js} +18 -18
- package/dist/chunks/{shell-9t99dw5q.js → file-mutation-v8gy3pjr.js} +1 -1
- package/dist/chunks/{shell-kyb951k0.js → file-mutation-vdve1s0m.js} +3 -3
- package/dist/chunks/{shell-t98tbty9.js → file-mutation-vfhg49f4.js} +9 -9
- package/dist/chunks/{shell-2qzq6ga3.js → file-mutation-vhh9ar68.js} +11 -11
- package/dist/chunks/{shell-wxx0ch5c.js → file-mutation-vj79ke67.js} +27 -27
- package/dist/chunks/{shell-mwm6j4mv.js → file-mutation-vnj10zg0.js} +14 -14
- package/dist/chunks/{shell-pprv0vrv.js → file-mutation-vwq77r6c.js} +30 -30
- package/dist/chunks/{shell-jqrqy21d.js → file-mutation-w19ppvv8.js} +11 -11
- package/dist/chunks/{shell-kvxwx3nk.js → file-mutation-w25meggd.js} +18 -18
- package/dist/chunks/{shell-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-h1byzm8g.js → file-mutation-w5gv9txn.js} +7 -7
- package/dist/chunks/{shell-4g0b7sjj.js → file-mutation-w7a45d2w.js} +23 -23
- package/dist/chunks/{shell-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{shell-z0hzsv9t.js → file-mutation-wy24wt1k.js} +11 -11
- package/dist/chunks/{shell-xk1h8syj.js → file-mutation-wzn1pg97.js} +3 -3
- package/dist/chunks/{shell-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-wkzk3h6w.js → file-mutation-x7n6jb1w.js} +18 -18
- package/dist/chunks/{shell-8433ak71.js → file-mutation-xscz55ef.js} +11 -11
- package/dist/chunks/{shell-jv6tbxxe.js → file-mutation-xspyb9m3.js} +8 -8
- package/dist/chunks/{shell-e0y4b763.js → file-mutation-y1a5n2r0.js} +16 -16
- package/dist/chunks/{shell-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-1vbd6b48.js → file-mutation-y4xjyrf3.js} +22 -22
- package/dist/chunks/{shell-gvphy7jk.js → file-mutation-y5h9vgb0.js} +6 -6
- package/dist/chunks/{shell-sa3v8zc4.js → file-mutation-y61qnw8a.js} +12 -12
- package/dist/chunks/{shell-y71avatq.js → file-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{shell-dsf572e0.js → file-mutation-y724s5yt.js} +4 -4
- package/dist/chunks/{shell-vk2ezsxw.js → file-mutation-y8g99sqg.js} +27 -27
- package/dist/chunks/{shell-4rp8h9vr.js → file-mutation-ye0hwk1t.js} +9 -9
- package/dist/chunks/{shell-yfbd16n1.js → file-mutation-yfbd16n1.js} +2 -2
- package/dist/chunks/{shell-ajtjthsy.js → file-mutation-yg7sb877.js} +2 -2
- package/dist/chunks/{shell-44tjj06n.js → file-mutation-ypexc4gq.js} +39 -39
- package/dist/chunks/file-mutation-ywgxakqv.js +247 -0
- package/dist/chunks/{shell-z1k01bn4.js → file-mutation-z1k01bn4.js} +2 -2
- package/dist/chunks/{shell-rpqdjjqf.js → file-mutation-z3s9j4q6.js} +18 -18
- package/dist/chunks/{shell-hjp2pbpf.js → file-mutation-z48dvxa8.js} +1 -1
- package/dist/chunks/{shell-q9b8xy67.js → file-mutation-z5wp74ca.js} +13 -13
- package/dist/chunks/{shell-95z3gcrg.js → file-mutation-zjx20249.js} +4 -4
- package/dist/chunks/{shell-7769r81k.js → file-mutation-zjy9mrjh.js} +17 -17
- package/dist/chunks/{shell-5chzen2f.js → file-mutation-zr1rg8va.js} +20 -20
- package/dist/chunks/{shell-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +355 -355
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +7 -7
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +348 -348
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +347 -347
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +101 -101
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +146 -146
- 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 +119 -119
- package/dist/session/generate.js +145 -145
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +84 -84
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +82 -82
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +84 -84
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +80 -80
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +11 -11
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +86 -86
- 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 +120 -120
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +108 -108
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/shell-bax423tc.js +0 -247
- package/dist/chunks/shell-mf5kcrna.js +0 -4
- package/dist/chunks/shell-q509s3k3.js +0 -18
- /package/dist/chunks/{shell-0fabt78z.js → file-mutation-0fabt78z.js} +0 -0
- /package/dist/chunks/{shell-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t738kvx.js → file-mutation-3t738kvx.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-41nvscxy.js → file-mutation-41nvscxy.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-982e01ww.js → file-mutation-982e01ww.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a1tpkmh4.js → file-mutation-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-j935v87r.js → file-mutation-j935v87r.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mntxs535.js → file-mutation-mntxs535.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p8qxwesx.js → file-mutation-p8qxwesx.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-se0s1eqw.js → file-mutation-se0s1eqw.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x1b8g1yb.js → file-mutation-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
- /package/dist/chunks/{shell-zbjnn3ac.js → file-mutation-zbjnn3ac.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./file-mutation-zjy9mrjh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./file-mutation-62z4m846.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service63,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-n8dztyn3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./file-mutation-ab39g6be.js";
|
|
15
15
|
import {
|
|
16
16
|
externalDirectoryPermission2,
|
|
17
17
|
resolvePath2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service66
|
|
19
|
+
} from "./file-mutation-dk2pae67.js";
|
|
20
20
|
import {
|
|
21
21
|
Service45
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-ger17fbp.js";
|
|
23
23
|
import {
|
|
24
24
|
fileDiff2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-6prwharc.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool/plugin/edit.ts
|
|
31
31
|
var exports_edit = {};
|
|
32
32
|
__export(exports_edit, {
|
|
33
33
|
EditTool: () => exports_edit,
|
|
34
|
-
Input: () =>
|
|
35
|
-
Output: () =>
|
|
36
|
-
Plugin: () =>
|
|
37
|
-
name: () =>
|
|
34
|
+
Input: () => Input7,
|
|
35
|
+
Output: () => Output5,
|
|
36
|
+
Plugin: () => Plugin24,
|
|
37
|
+
name: () => name7
|
|
38
38
|
});
|
|
39
39
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
40
40
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
41
41
|
import { Bom } from "@opencode-ai/util/bom";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var name7 = "edit";
|
|
44
|
+
var Input7 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input4 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output5 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -104,21 +104,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
104
104
|
return result;
|
|
105
105
|
}, []);
|
|
106
106
|
};
|
|
107
|
-
var
|
|
107
|
+
var Plugin24 = {
|
|
108
108
|
id: "opencode.tool.edit",
|
|
109
109
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
110
|
-
const mutation = yield*
|
|
111
|
-
const fileMutation = yield*
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const formatter = yield*
|
|
114
|
-
const location = yield*
|
|
110
|
+
const mutation = yield* Service66;
|
|
111
|
+
const fileMutation = yield* Service63;
|
|
112
|
+
const environment = yield* Service64;
|
|
113
|
+
const formatter = yield* Service14;
|
|
114
|
+
const location = yield* Service67;
|
|
115
115
|
const permission = yield* Service45;
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name7,
|
|
118
118
|
options: { codemode: false, permission: "edit" },
|
|
119
119
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
120
|
+
input: Input7,
|
|
121
|
+
output: Output5,
|
|
122
122
|
execute: (input, context) => {
|
|
123
123
|
return Effect.gen(function* () {
|
|
124
124
|
const permissionSource = {
|
|
@@ -203,4 +203,4 @@ var Plugin5 = {
|
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { name7, Input7, Output5, Plugin24, exports_edit };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-asb5ddgn.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-0tqc2v94.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service79,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node84
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service79 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service79, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service79, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service79,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node84 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service79, layer26, layerFromClient2, configured13, configuredClient2, node84, exports_database };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-p8qxwesx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node67
|
|
9
|
+
} from "./file-mutation-62z4m846.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-5jvc5tg2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service18,
|
|
24
|
+
node: () => node21
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service18 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service64;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service18.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node21 = makeLocationNode({ service: Service18, layer, deps: [node67, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Error2, InvalidPatternError2, Service18, node21, exports_ripgrep };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service41
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-k0zpnkm5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-1x11rq2a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./file-mutation-3pt7nqe6.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -23,7 +23,7 @@ __export(exports_shell3, {
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
25
|
const instances = yield* Service41;
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./file-mutation-2phvqca6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service67,
|
|
7
|
+
node72
|
|
8
|
+
} from "./file-mutation-zjy9mrjh.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info11,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service52,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node55
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info11, Mode as Mode2 } from "@opencode-ai/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode-ai/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service52 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service67;
|
|
53
|
+
const bus = yield* Service78;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info11));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
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 }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service52.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node55 = makeLocationNode({
|
|
165
|
+
service: Service52,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node72, node83]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info11, Mode2, DiffError2, Service52, node55, exports_vcs };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-mutation-w19ppvv8.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-g2dy4bvs.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-fmzy9ynz.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-bgt6msk1.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
@@ -23,7 +23,7 @@ __export(exports_store, {
|
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
24
|
Service: () => Service46,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node49
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,7 +55,7 @@ var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInpu
|
|
|
55
55
|
class Service46 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
57
|
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
58
|
-
const { db } = yield*
|
|
58
|
+
const { db } = yield* Service79;
|
|
59
59
|
return Service46.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
@@ -126,6 +126,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
126
126
|
})
|
|
127
127
|
});
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node49 = makeGlobalNode({ service: Service46, layer, deps: [node84] });
|
|
130
130
|
|
|
131
|
-
export { ListInput4, Service46,
|
|
131
|
+
export { ListInput4, Service46, node49, exports_store };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-0ek2w54z.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-0ek2w54z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./file-mutation-2phvqca6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./file-mutation-kbsyt50d.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-kdrneqjw.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID17,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-64z8z5x5.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID13.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID13.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,10 +159,10 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service78;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID17.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -220,9 +220,9 @@ var OpenAIPlugin3 = define({
|
|
|
220
220
|
evt.baseURL = codexBaseURL;
|
|
221
221
|
evt.headers.originator = "opencode";
|
|
222
222
|
evt.headers["session-id"] = evt.sessionID;
|
|
223
|
-
}), { providerID:
|
|
223
|
+
}), { providerID: ID17.openai });
|
|
224
224
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
225
|
-
yield* bus.subscribe(
|
|
225
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
})
|
|
227
227
|
});
|
|
228
228
|
function headers(contentType, app) {
|
|
@@ -313,4 +313,4 @@ function claim(token) {
|
|
|
313
313
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { OpenAIPlugin2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./file-mutation-w19ppvv8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service41
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-k0zpnkm5.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-1x11rq2a.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-fmzy9ynz.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-85490285.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service22
|
|
18
|
+
} from "./file-mutation-gd0bwbeh.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/generate.ts
|
|
24
24
|
var exports_generate = {};
|
|
@@ -30,11 +30,11 @@ import { LLMClient, Message } from "@opencode-ai/ai";
|
|
|
30
30
|
import { Effect } from "effect";
|
|
31
31
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
32
32
|
const instances = yield* Service41;
|
|
33
|
-
const database = yield*
|
|
33
|
+
const database = yield* Service79;
|
|
34
34
|
const llm = yield* LLMClient.Service;
|
|
35
35
|
return yield* Effect.gen(function* () {
|
|
36
36
|
yield* awaitActivation2;
|
|
37
|
-
const context = yield*
|
|
37
|
+
const context = yield* Service22;
|
|
38
38
|
const selection = yield* context.select(input.session.id);
|
|
39
39
|
const model = yield* context.resolveModel(selection.session);
|
|
40
40
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions);
|