@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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./credential-mj233eqc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./credential-x0srfm87.js";
|
|
10
10
|
import {
|
|
11
11
|
Service10
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-ahymmsbp.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service5
|
|
27
|
+
} from "./credential-qmthdazp.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./credential-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input5,
|
|
36
|
+
Plugin: () => Plugin20,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
38
|
+
name: () => name5,
|
|
39
39
|
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name5 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input5 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin20 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
61
|
+
const reader = yield* Service5;
|
|
62
|
+
const access = yield* Service57;
|
|
63
63
|
const sessionInstructions = yield* Service10;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name5,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input5,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -179,4 +179,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name5, Input5, Plugin20, toModelContent3, exports_read };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./credential-ghk9cxjs.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-rap9a73h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service50
|
|
9
|
+
} from "./credential-40wszbrc.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service38;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./credential-ahcp8nkf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-5c4hm403.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service30,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service30 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make21({
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service80;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service30.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node35 = makeLocationNode({ service: Service30, layer, deps: [node85] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node35, exports_instruction_entry };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./credential-mj233eqc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./credential-2jhbac8t.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service13,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-4css7a44.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./credential-qzteyjp0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service58
|
|
17
|
+
} from "./credential-wfr0f2wv.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service57,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-x0srfm87.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./credential-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./credential-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input6,
|
|
34
|
+
Output: () => Output4,
|
|
35
|
+
Plugin: () => Plugin21,
|
|
36
|
+
name: () => name6
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name6 = "edit";
|
|
43
|
+
var Input6 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output4 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin21 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service57;
|
|
110
|
+
const fileMutation = yield* Service13;
|
|
111
|
+
const environment = yield* Service54;
|
|
112
|
+
const formatter = yield* Service18;
|
|
113
|
+
const location = yield* Service76;
|
|
114
|
+
const permission = yield* Service58;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name6,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
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.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input6,
|
|
120
|
+
output: Output4,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin11 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name6, Input6, Output4, Plugin21, exports_edit };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-0bnjtszc.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service72
|
|
7
|
+
} from "./credential-m1gz7xkc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID12,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-w27d4nw8.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID16
|
|
14
|
+
} from "./credential-9p3b3m98.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID16.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID12.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service72;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./credential-q19fwqr8.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event18
|
|
7
|
+
} from "./credential-m1gz7xkc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID12,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-w27d4nw8.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID16,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-9p3b3m98.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID4,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-gg9d5pah.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -53,7 +53,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
53
53
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
54
54
|
function oauth(http) {
|
|
55
55
|
return {
|
|
56
|
-
integrationID:
|
|
56
|
+
integrationID: ID12.make("opencode"),
|
|
57
57
|
method: {
|
|
58
58
|
id: methodID,
|
|
59
59
|
type: "oauth",
|
|
@@ -93,7 +93,7 @@ function oauth(http) {
|
|
|
93
93
|
var OpencodePlugin2 = define({
|
|
94
94
|
id: "opencode.provider.opencode",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
|
-
const bus = yield*
|
|
96
|
+
const bus = yield* Service79;
|
|
97
97
|
const http = yield* HttpClient.HttpClient;
|
|
98
98
|
const loading = Semaphore.makeUnsafe(1);
|
|
99
99
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -119,7 +119,7 @@ var OpencodePlugin2 = define({
|
|
|
119
119
|
catalog.provider.update(providerID, (provider) => {
|
|
120
120
|
if (source && source.provider !== provider)
|
|
121
121
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
122
|
-
provider.integrationID =
|
|
122
|
+
provider.integrationID = ID12.make("opencode");
|
|
123
123
|
if (item.canonical !== undefined)
|
|
124
124
|
provider.canonical = item.canonical;
|
|
125
125
|
if (item.name !== undefined)
|
|
@@ -182,7 +182,7 @@ var OpencodePlugin2 = define({
|
|
|
182
182
|
});
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
const item = catalog.provider.get(
|
|
185
|
+
const item = catalog.provider.get(ID16.opencode);
|
|
186
186
|
if (!item)
|
|
187
187
|
return;
|
|
188
188
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -222,7 +222,7 @@ var OpencodePlugin2 = define({
|
|
|
222
222
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
223
223
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
224
224
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
225
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
225
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
226
226
|
query: input.query,
|
|
227
227
|
providerID: descriptor.providerID
|
|
228
228
|
}));
|
|
@@ -243,7 +243,7 @@ var OpencodePlugin2 = define({
|
|
|
243
243
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
244
244
|
});
|
|
245
245
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
246
|
-
yield* bus.subscribe(
|
|
246
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
247
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
248
248
|
})
|
|
249
249
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID16,
|
|
10
|
+
Info: () => Info29,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
13
|
Request: () => Request3,
|
|
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
|
|
|
23
23
|
import { Provider } from "@opencode/schema/provider";
|
|
24
24
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
25
25
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
26
|
-
var
|
|
26
|
+
var ID16 = Provider.ID;
|
|
27
27
|
var AISDK_PREFIX2 = "aisdk:";
|
|
28
28
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
29
29
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -139,7 +139,7 @@ function mergeHeaders2(base, overlay) {
|
|
|
139
139
|
}
|
|
140
140
|
var Request3 = Provider.Request;
|
|
141
141
|
var Settings2 = Provider.Settings;
|
|
142
|
-
var
|
|
142
|
+
var Info29 = Provider.Info;
|
|
143
143
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
144
144
|
const module = yield* Effect.tryPromise({
|
|
145
145
|
try: () => {
|
|
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
161
161
|
return module;
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info29, exports_provider3 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-0bnjtszc.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin3,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
13
|
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin3 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin34 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint2,
|
|
80
|
+
export { endpoint2, Plugin3, exports_tavily };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info18
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info18 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info18, exports_command5 };
|