@opencode/core 0.0.0-dev-19336 → 0.0.0-dev-19337
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{location-services-qa4rp7fn.js → credential-0996nyz8.js} +9 -9
- package/dist/chunks/{location-services-f32vetax.js → credential-0bnjtszc.js} +8 -8
- package/dist/chunks/{location-services-1ktzqmb5.js → credential-0n3rk2gt.js} +17 -17
- package/dist/chunks/{location-services-0paq2nw3.js → credential-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-f8q7mv7a.js → credential-0pyqcms3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → credential-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-g56x3r05.js → credential-0y6fnfyn.js} +16 -16
- package/dist/chunks/{location-services-hk3dp6b5.js → credential-10es6fvg.js} +2 -2
- package/dist/chunks/{location-services-bmwmmh03.js → credential-151mpj9e.js} +10 -10
- package/dist/chunks/{location-services-a4j6dykb.js → credential-17qwwr3r.js} +15 -15
- package/dist/chunks/{location-services-yp2x3t23.js → credential-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-services-e255sby6.js → credential-1adagaa7.js} +29 -29
- package/dist/chunks/{location-services-3mmc2xt1.js → credential-1b5rdxkb.js} +11 -11
- package/dist/chunks/{location-services-mvfsc1pv.js → credential-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-services-1dazxqgg.js → credential-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-1dfhrqqs.js → credential-1dfhrqqs.js} +2 -2
- package/dist/chunks/{location-services-jd31tk7v.js → credential-1hanh0e3.js} +22 -22
- package/dist/chunks/{location-services-skw6ndhb.js → credential-1j4x7018.js} +36 -36
- package/dist/chunks/{location-services-56gdpj1q.js → credential-1ygqh575.js} +9 -9
- package/dist/chunks/{location-services-21r38tys.js → credential-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-vgtd617j.js → credential-22rswy7q.js} +9 -9
- package/dist/chunks/{location-services-2402vzrj.js → credential-2402vzrj.js} +1 -1
- package/dist/chunks/{location-services-7emx6ety.js → credential-249nn8tn.js} +21 -21
- package/dist/chunks/{location-services-fxf97kjq.js → credential-2566302p.js} +10 -10
- package/dist/chunks/{location-services-a3vv4rs0.js → credential-28prswrc.js} +9 -9
- package/dist/chunks/{location-services-3rz3vg39.js → credential-2998kf83.js} +59 -59
- package/dist/chunks/{location-services-z63w68vq.js → credential-29x78va6.js} +6 -6
- package/dist/chunks/{location-services-1v3d03cy.js → credential-2a29v3a8.js} +32 -32
- package/dist/chunks/{location-services-2a5m3afh.js → credential-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-g35h8zvz.js → credential-2jhbac8t.js} +24 -24
- package/dist/chunks/{location-services-qm7jrdpz.js → credential-2nbt55tc.js} +8 -8
- package/dist/chunks/{location-services-cq37gk0t.js → credential-2tfmgkzg.js} +4 -4
- package/dist/chunks/{location-services-n3pz4r15.js → credential-2tw57gz0.js} +16 -16
- package/dist/chunks/{location-services-zhj44hqa.js → credential-31dzdahz.js} +3 -3
- package/dist/chunks/{location-services-3fc6dm20.js → credential-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-z7vx10hx.js → credential-3fh0rg45.js} +15 -15
- package/dist/chunks/{location-services-bcbmvgj8.js → credential-3gfpy94r.js} +46 -46
- package/dist/chunks/{location-services-1at44jv2.js → credential-3gfv59ch.js} +18 -18
- package/dist/chunks/{location-services-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-p79ar1tw.js → credential-3k31r9j9.js} +11 -11
- package/dist/chunks/{location-services-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-8f0zq1qa.js → credential-3x4a4zpr.js} +6 -6
- package/dist/chunks/{location-services-qtmpnr27.js → credential-40wszbrc.js} +50 -50
- package/dist/chunks/{location-services-7amtd6bp.js → credential-4css7a44.js} +13 -13
- package/dist/chunks/{location-services-4j4p0yst.js → credential-4jmdj23e.js} +9 -9
- package/dist/chunks/{location-services-k4f6a3yg.js → credential-4rym0agr.js} +20 -20
- package/dist/chunks/{location-services-bcnz578n.js → credential-526v470z.js} +2 -2
- package/dist/chunks/{location-services-aj8kkpvr.js → credential-55r4thj5.js} +4 -4
- package/dist/chunks/{location-services-zv3e7t68.js → credential-593yh7cm.js} +2 -2
- package/dist/chunks/{location-services-a1bz86dw.js → credential-5c4hm403.js} +3 -3
- package/dist/chunks/{location-services-s2jzy5b9.js → credential-5cnp842v.js} +11 -11
- package/dist/chunks/{location-services-5daktx2q.js → credential-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-6nh5w358.js → credential-5e20nh0k.js} +11 -11
- package/dist/chunks/{location-services-5thce3ah.js → credential-5gnvgr1s.js} +35 -35
- package/dist/chunks/{location-services-n65r81b4.js → credential-5hrkz7py.js} +4 -4
- package/dist/chunks/{location-services-5t3nmthw.js → credential-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-zd0y80kv.js → credential-5w5ha1nc.js} +14 -14
- package/dist/chunks/{location-services-06dxphr1.js → credential-64kphnzf.js} +4 -4
- package/dist/chunks/{location-services-669tq793.js → credential-669tq793.js} +1 -1
- package/dist/chunks/{location-services-4hzm3hzr.js → credential-6dtevzgb.js} +70 -70
- package/dist/chunks/{location-services-rpsdx5vs.js → credential-6ee1nj74.js} +7 -7
- package/dist/chunks/{location-services-dt6arx9z.js → credential-6gdcbxbt.js} +5 -5
- package/dist/chunks/{location-services-y9gdx2th.js → credential-6jrdwt83.js} +4 -4
- package/dist/chunks/{location-services-3gt2xagq.js → credential-6kqsmg0b.js} +26 -26
- package/dist/chunks/{location-services-6msgmcgs.js → credential-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-z69s9t6b.js → credential-6qw5vjfk.js} +5 -5
- package/dist/chunks/{location-services-w5qh34h0.js → credential-6va5e0hk.js} +25 -25
- package/dist/chunks/{location-services-71q4at8m.js → credential-71q4at8m.js} +1 -1
- package/dist/chunks/{location-services-ewqwwm8c.js → credential-71qmvsg5.js} +10 -10
- package/dist/chunks/{location-services-eeaf82dq.js → credential-73t188jy.js} +8 -8
- package/dist/chunks/{location-services-3xh3zrfj.js → credential-79ygexg1.js} +10 -10
- package/dist/chunks/{location-services-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-7dqw4kz8.js → credential-7dqw4kz8.js} +1 -1
- package/dist/chunks/{location-services-mf9m2v67.js → credential-7jdsj2a9.js} +3 -3
- package/dist/chunks/{location-services-1vb9fm0n.js → credential-7y8s6rgk.js} +29 -29
- package/dist/chunks/{location-services-rk0rec3h.js → credential-81swgkk7.js} +9 -9
- package/dist/chunks/{location-services-gqsqt983.js → credential-8483wvpx.js} +7 -7
- package/dist/chunks/{location-services-zg809rcf.js → credential-89spjjbp.js} +22 -22
- package/dist/chunks/{location-services-8d7r5vzw.js → credential-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-2q8h11r1.js → credential-8meg8dre.js} +9 -9
- package/dist/chunks/{location-services-4wdwamv9.js → credential-96h9wr4f.js} +18 -18
- package/dist/chunks/{location-services-6qtdhq9p.js → credential-98408z27.js} +32 -32
- package/dist/chunks/{location-services-m016k5dt.js → credential-98g7fywj.js} +11 -11
- package/dist/chunks/{location-services-9wrk0c7x.js → credential-9a1bzkpj.js} +18 -18
- package/dist/chunks/{location-services-m27pyyd3.js → credential-9p3b3m98.js} +6 -6
- package/dist/chunks/{location-services-ebcw7cv9.js → credential-9rdh6ewn.js} +5 -5
- package/dist/chunks/{location-services-v5dkyp31.js → credential-a2ew8a62.js} +4 -4
- package/dist/chunks/{location-services-a103fdm3.js → credential-a2tdmfa4.js} +26 -26
- package/dist/chunks/{location-services-twy35tz0.js → credential-a5gt7g2r.js} +9 -9
- package/dist/chunks/{location-services-aaet6srn.js → credential-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-k16ay38w.js → credential-abkdt1xb.js} +1 -1
- package/dist/chunks/{location-services-wzxndrfm.js → credential-ac32kc2r.js} +23 -23
- package/dist/chunks/{location-services-12behdsj.js → credential-ahcp8nkf.js} +11 -11
- package/dist/chunks/{location-services-b1t5snx6.js → credential-ahymmsbp.js} +15 -15
- package/dist/chunks/credential-b01ntp0y.js +462 -0
- package/dist/chunks/{location-services-3tt1qkhr.js → credential-b0grxa7w.js} +5 -5
- package/dist/chunks/{location-services-6t5esrgx.js → credential-b1jm75xs.js} +15 -15
- package/dist/chunks/{location-services-vvv3thrh.js → credential-b5hymcep.js} +12 -12
- package/dist/chunks/{location-services-b6gygkdw.js → credential-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-w0pkcsrz.js → credential-b8s54zd1.js} +11 -11
- package/dist/chunks/{location-services-nakqg6cg.js → credential-b9pe0b4x.js} +20 -20
- package/dist/chunks/{location-services-9tdt6gn5.js → credential-bawspjyh.js} +13 -13
- package/dist/chunks/{location-services-bf0ztrs3.js → credential-bct739vz.js} +4 -4
- package/dist/chunks/credential-bqchtq7z.js +247 -0
- package/dist/chunks/{location-services-4eavgkwb.js → credential-c3xdpmrh.js} +11 -11
- package/dist/chunks/{location-services-zmm5wz6q.js → credential-cb5dpwd3.js} +44 -44
- package/dist/chunks/{location-services-n0ps73j4.js → credential-cbqmp7b7.js} +24 -24
- package/dist/chunks/{location-services-r9babyk8.js → credential-cd4mc13g.js} +1 -1
- package/dist/chunks/{location-services-xvbxf676.js → credential-cqwj9awd.js} +32 -32
- package/dist/chunks/{location-services-rbr5swsa.js → credential-d94m8qs1.js} +12 -12
- package/dist/chunks/{location-services-4crx14pj.js → credential-ddtk0mvx.js} +9 -9
- package/dist/chunks/{location-services-8p4f9s12.js → credential-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-services-e6ywpf8t.js → credential-dnba0na5.js} +8 -8
- package/dist/chunks/{location-services-1sfmn0at.js → credential-dp84dkzj.js} +20 -20
- package/dist/chunks/{location-services-tjbdzdwh.js → credential-dqv7d9mx.js} +21 -21
- package/dist/chunks/{location-services-vz505d38.js → credential-dyhhrnbz.js} +8 -8
- package/dist/chunks/{location-services-9xx5ccgp.js → credential-e1pb9r1r.js} +22 -22
- package/dist/chunks/{location-services-4ycxm7c6.js → credential-e4bvg1nj.js} +17 -17
- package/dist/chunks/{location-services-j8b7ra2y.js → credential-e8184ah6.js} +167 -167
- package/dist/chunks/{location-services-rhjbct0v.js → credential-eaj1djv9.js} +8 -8
- package/dist/chunks/{location-services-pjsas99n.js → credential-eckjfj34.js} +6 -6
- package/dist/chunks/{location-services-54td8zkb.js → credential-eere18dq.js} +5 -5
- package/dist/chunks/{location-services-rv7qyr27.js → credential-efhzxcq4.js} +27 -27
- package/dist/chunks/{location-services-p12hzc12.js → credential-eg6kvm4e.js} +35 -35
- package/dist/chunks/{location-services-t2bav4cb.js → credential-egqpk7m0.js} +10 -10
- package/dist/chunks/{location-services-v6654y3b.js → credential-enygcmwv.js} +14 -14
- package/dist/chunks/{location-services-98r3f9c4.js → credential-et95z6r9.js} +30 -30
- package/dist/chunks/{location-services-etq0c3wd.js → credential-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-s78rk26g.js → credential-exydcs1h.js} +18 -18
- package/dist/chunks/{location-services-dhambjr8.js → credential-f0yr6nyc.js} +25 -25
- package/dist/chunks/{location-services-30qzt7jy.js → credential-fbp1d1k7.js} +25 -25
- package/dist/chunks/{location-services-gp27hab3.js → credential-fr2qe1q3.js} +6 -6
- package/dist/chunks/{location-services-4ttr90xy.js → credential-fw4rsm43.js} +20 -20
- package/dist/chunks/{location-services-fxbjtjnd.js → credential-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-egdp0v7k.js → credential-fyjrpq2n.js} +5 -5
- package/dist/chunks/{location-services-h7merwq8.js → credential-g3nd3rk8.js} +23 -23
- package/dist/chunks/{location-services-e7v4kvvc.js → credential-g7hryrp6.js} +16 -16
- package/dist/chunks/{location-services-3am5m0cf.js → credential-gb35scn0.js} +15 -15
- package/dist/chunks/{location-services-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-96yt6zt0.js → credential-gf4qtxm6.js} +1 -1
- package/dist/chunks/{location-services-dg94tkx3.js → credential-gg9d5pah.js} +28 -28
- package/dist/chunks/{location-services-dtz1dq5w.js → credential-gh3h736b.js} +11 -11
- package/dist/chunks/{location-services-vkez6a4k.js → credential-ghk9cxjs.js} +6 -6
- package/dist/chunks/{location-services-d5ta482m.js → credential-gj6dbvth.js} +5 -5
- package/dist/chunks/{location-services-n3ehebhz.js → credential-gp1yc2vx.js} +12 -12
- package/dist/chunks/{location-services-gv6a8nnw.js → credential-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-d50f2zf5.js → credential-gx1zhcta.js} +1 -1
- package/dist/chunks/{location-services-h03wrkyp.js → credential-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-services-dx15qm69.js → credential-h1z6jwhd.js} +24 -24
- package/dist/chunks/{location-services-yt1hy964.js → credential-h32nz7rm.js} +20 -20
- package/dist/chunks/{location-services-0qk6n2y7.js → credential-h4rz3t7g.js} +34 -34
- package/dist/chunks/{location-services-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-akrnn5pm.js → credential-h74ge2a2.js} +11 -11
- package/dist/chunks/{location-services-0r7yqxbf.js → credential-hcz3zddy.js} +5 -5
- package/dist/chunks/{location-services-f828m53h.js → credential-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-services-vfx896b4.js → credential-hhf650b6.js} +20 -20
- package/dist/chunks/{location-services-m2m38rh4.js → credential-hrj4tf28.js} +3 -3
- package/dist/chunks/{location-services-kqd2wwpf.js → credential-hyj2vz80.js} +4 -4
- package/dist/chunks/{location-services-k50vc20r.js → credential-j10vveh1.js} +6 -6
- package/dist/chunks/{location-services-n26aazvb.js → credential-j1etvyav.js} +9 -9
- package/dist/chunks/{location-services-npm3wgeg.js → credential-j4m9dw8y.js} +13 -13
- package/dist/chunks/{location-services-j56e64zr.js → credential-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-paphc93g.js → credential-j935v87r.js} +2 -2
- package/dist/chunks/{location-services-gjes9ycv.js → credential-j9cg0esf.js} +87 -87
- package/dist/chunks/{location-services-81s162yb.js → credential-ja89yahs.js} +9 -9
- package/dist/chunks/{location-services-3tey5e4w.js → credential-jefma2gq.js} +10 -10
- package/dist/chunks/{location-services-tjasw5j2.js → credential-jh4fk4tf.js} +22 -22
- package/dist/chunks/{location-services-1c4qjgv9.js → credential-jj6pqn3w.js} +1 -1
- package/dist/chunks/credential-jrj2y5pk.js +22 -0
- package/dist/chunks/{location-services-3znngwgn.js → credential-jvmxcf50.js} +9 -9
- package/dist/chunks/{location-services-h0r85tvv.js → credential-jx42jpcz.js} +11 -11
- package/dist/chunks/{location-services-0kghfr31.js → credential-jxzmtya1.js} +32 -32
- package/dist/chunks/{location-services-fygdb7h7.js → credential-k8r06fnw.js} +3 -3
- package/dist/chunks/{location-services-kg06axw8.js → credential-kg06axw8.js} +1 -1
- package/dist/chunks/{location-services-qj8eh1ht.js → credential-kk00bynn.js} +21 -21
- package/dist/chunks/{location-services-cfpkc3c9.js → credential-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-services-00v0w1pn.js → credential-m1gz7xkc.js} +35 -35
- package/dist/chunks/{location-services-98cmn0hr.js → credential-m4vn3qv8.js} +17 -17
- package/dist/chunks/{location-services-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-d20tfxtv.js → credential-mhayska3.js} +8 -8
- package/dist/chunks/{location-services-1s1fbqj5.js → credential-mj233eqc.js} +17 -17
- package/dist/chunks/{location-services-mkcjrzeh.js → credential-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-services-hqxaqnsz.js → credential-mkw2wvv0.js} +13 -13
- package/dist/chunks/{location-services-0f9afca0.js → credential-mtft99cd.js} +5 -5
- package/dist/chunks/{location-services-31zm1s50.js → credential-mx65tve6.js} +30 -30
- package/dist/chunks/{location-services-nw0bqh17.js → credential-n6avr4zf.js} +11 -11
- package/dist/chunks/{location-services-dcfrmvyb.js → credential-nahk2kxe.js} +24 -24
- package/dist/chunks/{location-services-9r3q67g7.js → credential-nc3q5shn.js} +88 -88
- package/dist/chunks/{location-services-fgh0kbhd.js → credential-ng5shs3s.js} +1 -1
- package/dist/chunks/{location-services-bv56xrks.js → credential-nhvhf6q8.js} +2 -2
- package/dist/chunks/{location-services-hjt4xg1x.js → credential-nhy5jxhy.js} +4 -4
- package/dist/chunks/{location-services-8azq3xgr.js → credential-nkz5kzvr.js} +23 -23
- package/dist/chunks/{location-services-8jywm6xd.js → credential-npsw1jjn.js} +15 -15
- package/dist/chunks/{location-services-t3nckq9e.js → credential-ntdnj22e.js} +18 -18
- package/dist/chunks/{location-services-hewa18pm.js → credential-p0sx4xrp.js} +42 -42
- package/dist/chunks/{location-services-wrmagx7v.js → credential-p6d8qxhz.js} +46 -46
- package/dist/chunks/{location-services-gkk9gzwj.js → credential-p71dzhbg.js} +13 -13
- package/dist/chunks/{location-services-dcg0h0ke.js → credential-p7m6avpa.js} +35 -35
- package/dist/chunks/{location-services-w8v69kqr.js → credential-pc200wed.js} +8 -8
- package/dist/chunks/{location-services-marnn1hp.js → credential-pjedbq3k.js} +7 -7
- package/dist/chunks/{location-services-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-jw1smgdw.js → credential-pn0ve21a.js} +4 -4
- package/dist/chunks/{location-services-xekzrwwc.js → credential-pnv527nz.js} +9 -9
- package/dist/chunks/{location-services-q70gtfmt.js → credential-q19fwqr8.js} +16 -16
- package/dist/chunks/{location-services-dgj0dq1g.js → credential-q26tgv94.js} +8 -8
- package/dist/chunks/{location-services-gbjggf4w.js → credential-q5zfzp2a.js} +43 -43
- package/dist/chunks/{location-services-s0avzt1k.js → credential-qdmm088d.js} +25 -25
- package/dist/chunks/{location-services-wd1wk3fx.js → credential-qdykr49y.js} +26 -26
- package/dist/chunks/{location-services-0387ntk2.js → credential-qmthdazp.js} +17 -17
- package/dist/chunks/{location-services-qsdy395h.js → credential-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-r33ff4dw.js → credential-qz49fwgp.js} +4 -4
- package/dist/chunks/{location-services-ne17v9pc.js → credential-qzteyjp0.js} +18 -18
- package/dist/chunks/{location-services-5ap78ss6.js → credential-r4k4q95n.js} +43 -43
- package/dist/chunks/{location-services-cknngr8n.js → credential-r50xb6dr.js} +11 -11
- package/dist/chunks/credential-rap9a73h.js +18 -0
- package/dist/chunks/{location-services-6wwkxy3b.js → credential-rc4v7jdw.js} +3 -3
- package/dist/chunks/{location-services-9w95a7ga.js → credential-rgcx19v1.js} +24 -24
- package/dist/chunks/{location-services-pnean495.js → credential-rhhgd1jt.js} +5 -5
- package/dist/chunks/{location-services-34na97t4.js → credential-rnwa6k7x.js} +4 -4
- package/dist/chunks/{location-services-cy9hrc59.js → credential-rp0q961h.js} +40 -40
- package/dist/chunks/{location-services-er56z9m3.js → credential-rxhbz9hr.js} +4 -4
- package/dist/chunks/{location-services-0aqaye2v.js → credential-rxzbznts.js} +27 -27
- package/dist/chunks/{location-services-kc564ayd.js → credential-s2aq5fn4.js} +9 -9
- package/dist/chunks/{location-services-yrznvahk.js → credential-s4enseaf.js} +2 -2
- package/dist/chunks/{location-services-7sqxeqwy.js → credential-shh6fz4q.js} +4 -4
- package/dist/chunks/{location-services-k33dzkhb.js → credential-st0tfbhf.js} +44 -44
- package/dist/chunks/{location-services-nq6tkbxw.js → credential-stb366ab.js} +17 -17
- package/dist/chunks/{location-services-hv7wfk6h.js → credential-t0vv7hjv.js} +41 -41
- package/dist/chunks/{location-services-a8xcd0w8.js → credential-t5pp6k6z.js} +4 -4
- package/dist/chunks/{location-services-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → credential-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → credential-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-7tkmrrpv.js → credential-tdw0q9zr.js} +33 -33
- package/dist/chunks/{location-services-4pg6n0t4.js → credential-trjjxkd4.js} +8 -8
- package/dist/chunks/{location-services-tvtrv512.js → credential-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-m70sbz6t.js → credential-tz4n1mmd.js} +4 -4
- package/dist/chunks/{location-services-x95pbp60.js → credential-v6pdazz0.js} +36 -36
- package/dist/chunks/{location-services-veqvce7d.js → credential-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-3g0xtcs6.js → credential-vgcq2s3r.js} +13 -13
- package/dist/chunks/{location-services-n1wtw7cf.js → credential-vqh4gwbt.js} +36 -36
- package/dist/chunks/{location-services-wpmxaqyc.js → credential-vr2q3kmy.js} +6 -6
- package/dist/chunks/{location-services-a5y8eyny.js → credential-vsa2623n.js} +30 -30
- package/dist/chunks/{location-services-d9hczm2r.js → credential-vyje1mnf.js} +17 -17
- package/dist/chunks/{location-services-ksz0h0wp.js → credential-vyqtz9n7.js} +1 -1
- package/dist/chunks/{location-services-vzcthcp8.js → credential-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-kap76w5z.js → credential-w031r0ta.js} +23 -23
- package/dist/chunks/{location-services-7dh69f0v.js → credential-w09rpk5j.js} +7 -7
- package/dist/chunks/{location-services-z5jxp7ad.js → credential-w27d4nw8.js} +33 -33
- package/dist/chunks/{location-services-v5w9803s.js → credential-w2q9x1k3.js} +8 -8
- package/dist/chunks/{location-services-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-p4j0k99t.js → credential-w4enfkwp.js} +30 -30
- package/dist/chunks/{location-services-kp0f7k9w.js → credential-w7cj9ekx.js} +4 -4
- package/dist/chunks/{location-services-mgn1q268.js → credential-w8gzpttc.js} +25 -25
- package/dist/chunks/{location-services-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-hmtdza7e.js → credential-wfr0f2wv.js} +50 -50
- package/dist/chunks/{location-services-sktxfqvp.js → credential-wnbzzbw2.js} +9 -9
- package/dist/chunks/{location-services-x0b2ccgt.js → credential-wptwfzfm.js} +20 -20
- package/dist/chunks/{location-services-p75j69a2.js → credential-wrxgasq3.js} +20 -20
- package/dist/chunks/{location-services-fbrz957q.js → credential-wvhct48y.js} +25 -25
- package/dist/chunks/{location-services-z7wszd63.js → credential-x0srfm87.js} +18 -18
- package/dist/chunks/{location-services-x1ezjp6w.js → credential-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-x43y2vfs.js → credential-x43y2vfs.js} +2 -2
- package/dist/chunks/{location-services-g764418v.js → credential-xzr3fv1j.js} +7 -7
- package/dist/chunks/{location-services-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-y71avatq.js → credential-y71avatq.js} +1 -1
- package/dist/chunks/{location-services-rhd00fat.js → credential-y8ztsxtk.js} +9 -9
- package/dist/chunks/{location-services-efrqks1z.js → credential-y91nxhfn.js} +19 -19
- package/dist/chunks/{location-services-hm9cthtf.js → credential-yjc83x66.js} +28 -28
- package/dist/chunks/{location-services-yrhqyw5v.js → credential-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-n76fdqym.js → credential-yww5gzhe.js} +5 -5
- package/dist/chunks/{location-services-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-r01t9b5y.js → credential-z2qvtray.js} +6 -6
- package/dist/chunks/{location-services-3w0fmcng.js → credential-z3pw5915.js} +5 -5
- package/dist/chunks/{location-services-9yks55mb.js → credential-z6rkfk30.js} +19 -19
- package/dist/chunks/{location-services-m14v0kx0.js → credential-z8awfy9p.js} +13 -13
- package/dist/chunks/{location-services-zeh9ct20.js → credential-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-erd68jx8.js → credential-zrrbqdrq.js} +30 -30
- package/dist/chunks/{location-services-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- 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 +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- 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 +113 -113
- package/dist/config/plugin/mcp.js +126 -126
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- 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 +361 -361
- 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-access.js +99 -99
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- 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 +3 -3
- 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 +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- 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 +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +122 -122
- 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 +3 -3
- 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 +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- 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 +2 -2
- package/dist/plugin/plan.js +97 -97
- 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/digitalocean.js +79 -79
- 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 +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- 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 +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +82 -82
- 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 +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +219 -219
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +82 -82
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +115 -115
- 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 +13 -13
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- 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 +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +85 -85
- package/package.json +8 -8
- package/dist/chunks/location-services-0ckm5bhw.js +0 -22
- package/dist/chunks/location-services-1x11rq2a.js +0 -18
- package/dist/chunks/location-services-cgxejw6v.js +0 -462
- package/dist/chunks/location-services-rvz3wna3.js +0 -247
- /package/dist/chunks/{location-services-0mesazry.js → credential-0mesazry.js} +0 -0
- /package/dist/chunks/{location-services-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → credential-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → credential-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a1tpkmh4.js → credential-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → credential-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → credential-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-hrnqkpcd.js → credential-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → credential-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → credential-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → credential-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → credential-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
ID18
|
|
6
|
-
} from "./location-services-m27pyyd3.js";
|
|
2
|
+
Service79
|
|
3
|
+
} from "./credential-q19fwqr8.js";
|
|
7
4
|
import {
|
|
8
5
|
ID16
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
Event20
|
|
12
|
-
} from "./location-services-00v0w1pn.js";
|
|
6
|
+
} from "./credential-9p3b3m98.js";
|
|
13
7
|
import {
|
|
14
8
|
ID14
|
|
15
|
-
} from "./
|
|
9
|
+
} from "./credential-b5hymcep.js";
|
|
10
|
+
import {
|
|
11
|
+
Event18
|
|
12
|
+
} from "./credential-m1gz7xkc.js";
|
|
13
|
+
import {
|
|
14
|
+
ID12
|
|
15
|
+
} from "./credential-w27d4nw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service68
|
|
18
|
+
} from "./credential-yjc83x66.js";
|
|
19
19
|
import {
|
|
20
20
|
get2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-d94m8qs1.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID16.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
31
|
-
const bus = yield*
|
|
30
|
+
const catalog = yield* Service68;
|
|
31
|
+
const bus = yield* Service79;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
34
34
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID14.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./credential-mj233eqc.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service48,
|
|
11
|
+
node52
|
|
12
|
+
} from "./credential-et95z6r9.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
19
19
|
__export(exports_filesystem, {
|
|
20
|
-
Content: () =>
|
|
20
|
+
Content: () => Content3,
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event10,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
|
-
ListInput: () =>
|
|
29
|
+
ListInput: () => ListInput3,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service47,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node51
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -42,14 +42,14 @@ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@openco
|
|
|
42
42
|
var ReadInput2 = Schema.Struct({
|
|
43
43
|
path: RelativePath2
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Content3 = Schema.Struct({
|
|
46
46
|
uri: Schema.String,
|
|
47
47
|
name: Schema.String.pipe(Schema.optional),
|
|
48
48
|
content: Schema.String,
|
|
49
49
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
50
50
|
mime: Schema.String
|
|
51
51
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
52
|
-
var
|
|
52
|
+
var ListInput3 = Schema.Struct({
|
|
53
53
|
path: Schema.String.pipe(Schema.optional)
|
|
54
54
|
});
|
|
55
55
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event10 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service47 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service47, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service76;
|
|
82
|
+
const search = yield* Service48;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service47.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node51 = makeLocationNode({
|
|
126
|
+
service: Service47,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node81, node52]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event10, Service47, node51, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./credential-ahcp8nkf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./credential-q19fwqr8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service38
|
|
9
|
+
} from "./credential-ghk9cxjs.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service41
|
|
16
|
+
} from "./credential-e1pb9r1r.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./credential-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./credential-xzr3fv1j.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./credential-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./credential-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
46
|
-
const database = yield*
|
|
47
|
-
const bus = yield*
|
|
45
|
+
const instances = yield* Service38;
|
|
46
|
+
const database = yield* Service80;
|
|
47
|
+
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service41;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service38;
|
|
78
|
+
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service41;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-0bnjtszc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID16
|
|
6
|
+
} from "./credential-9p3b3m98.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-w09rpk5j.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID16.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load3
|
|
6
|
+
} from "./credential-j935v87r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event13,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service64,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
20
|
configured: () => configured10,
|
|
@@ -22,7 +22,7 @@ __export(exports_watcher, {
|
|
|
22
22
|
layer: () => layer22,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node69,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event13 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load3());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service64 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var layer22 = (options) => Layer.effect(
|
|
65
|
+
var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service64.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service64.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service64).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service64, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
167
|
function configured10(options) {
|
|
168
|
-
return makeGlobalNode({ service:
|
|
168
|
+
return makeGlobalNode({ service: Service64, layer: layer22(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node69 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event13, hasNativeBinding2, Native3, Options8, Service64, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured10, node69, exports_watcher };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./credential-jefma2gq.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service78;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./credential-wfr0f2wv.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-a1tpkmh4.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input9,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin24,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name9 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input9 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input9.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin24 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service58;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name9,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input9,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin5 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name9,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin24, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./credential-4jmdj23e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./credential-ghk9cxjs.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-rap9a73h.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service62
|
|
15
|
+
} from "./credential-w2q9x1k3.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-xzr3fv1j.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service44
|
|
23
|
+
} from "./credential-wptwfzfm.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./credential-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service38;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service62;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service44;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service45;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|