@opencode/core 0.0.0-dev-19335 → 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 +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{integration-depwzj9d.js → credential-0996nyz8.js} +9 -9
- package/dist/chunks/{integration-nnsszj5x.js → credential-0bnjtszc.js} +11 -11
- package/dist/chunks/credential-0mesazry.js +4 -0
- package/dist/chunks/{integration-x1ngw0s8.js → credential-0n3rk2gt.js} +14 -14
- package/dist/chunks/{integration-0paq2nw3.js → credential-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-n5zjdcc0.js → credential-0pyqcms3.js} +1 -1
- package/dist/chunks/{integration-0q0f95c6.js → credential-0q0f95c6.js} +1 -1
- package/dist/chunks/{integration-d26f51j3.js → credential-0y6fnfyn.js} +16 -16
- package/dist/chunks/{integration-mh9q4v61.js → credential-10es6fvg.js} +2 -2
- package/dist/chunks/{integration-gcyqv0ba.js → credential-151mpj9e.js} +8 -8
- package/dist/chunks/{integration-9eh54gx5.js → credential-17qwwr3r.js} +15 -15
- package/dist/chunks/{integration-r8xr0va3.js → credential-1acjjqhc.js} +4 -4
- package/dist/chunks/{integration-jq7fcpt3.js → credential-1adagaa7.js} +18 -18
- package/dist/chunks/{integration-1yvqcgns.js → credential-1b5rdxkb.js} +11 -11
- package/dist/chunks/{integration-eq1pz5kg.js → credential-1bbkgx8g.js} +3 -3
- package/dist/chunks/{integration-1dazxqgg.js → credential-1dazxqgg.js} +2 -2
- package/dist/chunks/{integration-1dfhrqqs.js → credential-1dfhrqqs.js} +2 -2
- package/dist/chunks/{integration-6n0cjhwh.js → credential-1hanh0e3.js} +19 -19
- package/dist/chunks/{integration-atwweske.js → credential-1j4x7018.js} +26 -26
- package/dist/chunks/{integration-1ygqh575.js → credential-1ygqh575.js} +2 -2
- package/dist/chunks/{integration-21r38tys.js → credential-21r38tys.js} +1 -1
- package/dist/chunks/{integration-257dq995.js → credential-22rswy7q.js} +9 -9
- package/dist/chunks/{integration-2402vzrj.js → credential-2402vzrj.js} +1 -1
- package/dist/chunks/{integration-g316fa4m.js → credential-249nn8tn.js} +18 -18
- package/dist/chunks/{integration-322atyht.js → credential-2566302p.js} +8 -8
- package/dist/chunks/{integration-pdv4nb29.js → credential-28prswrc.js} +9 -9
- package/dist/chunks/{integration-70z1vbrh.js → credential-2998kf83.js} +53 -53
- package/dist/chunks/{integration-z63w68vq.js → credential-29x78va6.js} +6 -6
- package/dist/chunks/{integration-7q5gmfr7.js → credential-2a29v3a8.js} +26 -26
- package/dist/chunks/{integration-2a5m3afh.js → credential-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-6anpkmcx.js → credential-2jhbac8t.js} +24 -24
- package/dist/chunks/{integration-2336b01z.js → credential-2nbt55tc.js} +8 -8
- package/dist/chunks/{integration-hfdr1yjj.js → credential-2tfmgkzg.js} +4 -4
- package/dist/chunks/{integration-ds04w90c.js → credential-2tw57gz0.js} +11 -11
- package/dist/chunks/{integration-8ndvbjad.js → credential-31dzdahz.js} +3 -3
- package/dist/chunks/{integration-gdvy8fx6.js → credential-3fc6dm20.js} +4 -4
- package/dist/chunks/{integration-sadc1m9b.js → credential-3fh0rg45.js} +15 -15
- package/dist/chunks/{integration-00a2vb47.js → credential-3gfpy94r.js} +46 -46
- package/dist/chunks/{integration-6rb3844k.js → credential-3gfv59ch.js} +16 -16
- package/dist/chunks/{integration-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-0fqf4df7.js → credential-3k31r9j9.js} +11 -11
- package/dist/chunks/{integration-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-x93zays9.js → credential-3x4a4zpr.js} +3 -3
- package/dist/chunks/{integration-5c1ms1gc.js → credential-40wszbrc.js} +47 -47
- package/dist/chunks/{integration-11mqr01d.js → credential-4css7a44.js} +13 -13
- package/dist/chunks/{integration-pqd1mzxt.js → credential-4jmdj23e.js} +9 -9
- package/dist/chunks/{integration-mgw9bq57.js → credential-4rym0agr.js} +25 -25
- package/dist/chunks/{integration-f79e7acg.js → credential-526v470z.js} +2 -2
- package/dist/chunks/{integration-dghgjkkt.js → credential-55r4thj5.js} +2 -2
- package/dist/chunks/{integration-0nm12y21.js → credential-593yh7cm.js} +2 -2
- package/dist/chunks/{integration-a1bz86dw.js → credential-5c4hm403.js} +3 -3
- package/dist/chunks/{integration-fkctdg7j.js → credential-5cnp842v.js} +11 -11
- package/dist/chunks/{integration-5daktx2q.js → credential-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-rnfsqz71.js → credential-5e20nh0k.js} +11 -11
- package/dist/chunks/{integration-jf14zfns.js → credential-5gnvgr1s.js} +35 -35
- package/dist/chunks/{integration-a1ehgdnj.js → credential-5hrkz7py.js} +4 -4
- package/dist/chunks/{integration-5t3nmthw.js → credential-5t3nmthw.js} +2 -2
- package/dist/chunks/{integration-bzbb1kp2.js → credential-5w5ha1nc.js} +11 -11
- package/dist/chunks/{integration-5c0f1prt.js → credential-64kphnzf.js} +4 -4
- package/dist/chunks/{integration-669tq793.js → credential-669tq793.js} +1 -1
- package/dist/chunks/{integration-s49bppn0.js → credential-6dtevzgb.js} +63 -63
- package/dist/chunks/{integration-2pncvxwm.js → credential-6ee1nj74.js} +7 -7
- package/dist/chunks/{integration-mj28zxs4.js → credential-6gdcbxbt.js} +5 -5
- package/dist/chunks/{integration-h5e20h2k.js → credential-6jrdwt83.js} +4 -4
- package/dist/chunks/{integration-01gcv941.js → credential-6kqsmg0b.js} +21 -21
- package/dist/chunks/{integration-6msgmcgs.js → credential-6msgmcgs.js} +1 -1
- package/dist/chunks/{integration-2ee8pmxs.js → credential-6qw5vjfk.js} +5 -5
- package/dist/chunks/{integration-tdhbec06.js → credential-6va5e0hk.js} +21 -21
- package/dist/chunks/{integration-71q4at8m.js → credential-71q4at8m.js} +1 -1
- package/dist/chunks/{integration-9gps35nj.js → credential-71qmvsg5.js} +10 -10
- package/dist/chunks/{integration-bc9tah8j.js → credential-73t188jy.js} +8 -8
- package/dist/chunks/{integration-j13s2yy7.js → credential-79ygexg1.js} +5 -5
- package/dist/chunks/{integration-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-qgn6gcr1.js → credential-7dqw4kz8.js} +5 -5
- package/dist/chunks/{integration-jexxy024.js → credential-7jdsj2a9.js} +2 -2
- package/dist/chunks/{integration-3r0v66sm.js → credential-7y8s6rgk.js} +32 -32
- package/dist/chunks/{integration-rk0rec3h.js → credential-81swgkk7.js} +9 -9
- package/dist/chunks/{integration-64fzttx6.js → credential-8483wvpx.js} +7 -7
- package/dist/chunks/{integration-437h2b82.js → credential-89spjjbp.js} +27 -27
- package/dist/chunks/{integration-8d7r5vzw.js → credential-8d7r5vzw.js} +1 -1
- package/dist/chunks/{integration-8qcmgz3z.js → credential-8meg8dre.js} +9 -9
- package/dist/chunks/{integration-d7cw8m3z.js → credential-96h9wr4f.js} +15 -15
- package/dist/chunks/{integration-nnf6b75y.js → credential-98408z27.js} +32 -32
- package/dist/chunks/{integration-7mchzbps.js → credential-98g7fywj.js} +11 -11
- package/dist/chunks/{integration-ea0n3w35.js → credential-9a1bzkpj.js} +14 -14
- package/dist/chunks/{integration-dt849bc4.js → credential-9p3b3m98.js} +6 -6
- package/dist/chunks/{integration-wd7nrggg.js → credential-9rdh6ewn.js} +6 -6
- package/dist/chunks/{integration-v5dkyp31.js → credential-a2ew8a62.js} +4 -4
- package/dist/chunks/{integration-151gbk82.js → credential-a2tdmfa4.js} +24 -24
- package/dist/chunks/{integration-vavfmh0d.js → credential-a5gt7g2r.js} +9 -9
- package/dist/chunks/{integration-aaet6srn.js → credential-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-qssq5wvh.js → credential-abkdt1xb.js} +1 -1
- package/dist/chunks/{integration-320c2pyt.js → credential-ac32kc2r.js} +25 -25
- package/dist/chunks/{integration-5h4dzmft.js → credential-ahcp8nkf.js} +3 -3
- package/dist/chunks/{integration-r7mna007.js → credential-ahymmsbp.js} +19 -19
- package/dist/chunks/credential-b01ntp0y.js +462 -0
- package/dist/chunks/{integration-fegk541e.js → credential-b0grxa7w.js} +5 -5
- package/dist/chunks/{integration-g7b0jb5m.js → credential-b1jm75xs.js} +13 -13
- package/dist/chunks/{integration-fban3jjy.js → credential-b5hymcep.js} +7 -7
- package/dist/chunks/{integration-b6gygkdw.js → credential-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-3ezse2vx.js → credential-b8s54zd1.js} +14 -14
- package/dist/chunks/{integration-0frfe85v.js → credential-b9pe0b4x.js} +18 -18
- package/dist/chunks/{integration-tcaxewzn.js → credential-bawspjyh.js} +13 -13
- package/dist/chunks/{integration-sx1n432n.js → credential-bct739vz.js} +4 -4
- package/dist/chunks/credential-bqchtq7z.js +247 -0
- package/dist/chunks/{integration-zrrhsv9d.js → credential-c3xdpmrh.js} +11 -11
- package/dist/chunks/{integration-egy33snj.js → credential-cb5dpwd3.js} +34 -34
- package/dist/chunks/{integration-zd4pz5th.js → credential-cbqmp7b7.js} +34 -34
- package/dist/chunks/{integration-7s02b6me.js → credential-cd4mc13g.js} +1 -1
- package/dist/chunks/{integration-fv2dr89n.js → credential-cqwj9awd.js} +25 -25
- package/dist/chunks/{integration-wcbqwdj0.js → credential-d94m8qs1.js} +14 -14
- package/dist/chunks/{integration-psq2ts59.js → credential-ddtk0mvx.js} +10 -10
- package/dist/chunks/{integration-8p4f9s12.js → credential-dj2t23y0.js} +2 -2
- package/dist/chunks/{integration-fqh7r1mg.js → credential-dnba0na5.js} +8 -8
- package/dist/chunks/{integration-3t0sa62q.js → credential-dp84dkzj.js} +16 -16
- package/dist/chunks/{integration-yjrbxx7s.js → credential-dqv7d9mx.js} +17 -17
- package/dist/chunks/{integration-epvhn8rf.js → credential-dyhhrnbz.js} +8 -8
- package/dist/chunks/{integration-nyh387a9.js → credential-e1pb9r1r.js} +25 -25
- package/dist/chunks/{integration-adgzdewx.js → credential-e4bvg1nj.js} +18 -18
- package/dist/chunks/{integration-kpr8tjbf.js → credential-e8184ah6.js} +157 -157
- package/dist/chunks/{integration-s8d7rejh.js → credential-eaj1djv9.js} +6 -6
- package/dist/chunks/{integration-z095fj7m.js → credential-eckjfj34.js} +6 -6
- package/dist/chunks/{integration-4j96gx1k.js → credential-eere18dq.js} +5 -5
- package/dist/chunks/{integration-79f8efvt.js → credential-efhzxcq4.js} +24 -24
- package/dist/chunks/{integration-n99th6kw.js → credential-eg6kvm4e.js} +31 -31
- package/dist/chunks/{integration-8s5w1czn.js → credential-egqpk7m0.js} +10 -10
- package/dist/chunks/{integration-pz0tgjyq.js → credential-enygcmwv.js} +14 -14
- package/dist/chunks/{integration-3pft0tdh.js → credential-et95z6r9.js} +30 -30
- package/dist/chunks/{integration-etq0c3wd.js → credential-etq0c3wd.js} +1 -1
- package/dist/chunks/{integration-rrxh0c2s.js → credential-exydcs1h.js} +16 -16
- package/dist/chunks/{integration-vkwcx7sj.js → credential-f0yr6nyc.js} +25 -25
- package/dist/chunks/{integration-97c0fx89.js → credential-fbp1d1k7.js} +20 -20
- package/dist/chunks/{integration-s9y8b899.js → credential-fr2qe1q3.js} +6 -6
- package/dist/chunks/{integration-nnffx9v7.js → credential-fw4rsm43.js} +22 -22
- package/dist/chunks/{integration-fxbjtjnd.js → credential-fxbjtjnd.js} +1 -1
- package/dist/chunks/{integration-xq6a131c.js → credential-fyjrpq2n.js} +8 -8
- package/dist/chunks/{integration-b87wvgj6.js → credential-g3nd3rk8.js} +20 -20
- package/dist/chunks/{integration-5jqftpyq.js → credential-g7hryrp6.js} +16 -16
- package/dist/chunks/{integration-xfzgq77v.js → credential-gb35scn0.js} +21 -21
- package/dist/chunks/{integration-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-t1bhcjx3.js → credential-gf4qtxm6.js} +1 -1
- package/dist/chunks/{integration-gxpp6yv2.js → credential-gg9d5pah.js} +16 -16
- package/dist/chunks/{integration-22ce2812.js → credential-gh3h736b.js} +8 -8
- package/dist/chunks/{integration-4m2pmvxz.js → credential-ghk9cxjs.js} +6 -6
- package/dist/chunks/{integration-2nnvtzgn.js → credential-gj6dbvth.js} +5 -5
- package/dist/chunks/{integration-v51hrxtf.js → credential-gp1yc2vx.js} +12 -12
- package/dist/chunks/{integration-gv6a8nnw.js → credential-gv6a8nnw.js} +2 -2
- package/dist/chunks/{integration-b3t12aqp.js → credential-gx1zhcta.js} +1 -1
- package/dist/chunks/{integration-h03wrkyp.js → credential-h03wrkyp.js} +2 -2
- package/dist/chunks/{integration-tcq89gq0.js → credential-h1z6jwhd.js} +24 -24
- package/dist/chunks/{integration-mmvk1zyz.js → credential-h32nz7rm.js} +20 -20
- package/dist/chunks/{integration-5c6m6vsk.js → credential-h4rz3t7g.js} +36 -36
- package/dist/chunks/{integration-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-3pbjq009.js → credential-h74ge2a2.js} +9 -9
- package/dist/chunks/{integration-hnr5yq9h.js → credential-hcz3zddy.js} +5 -5
- package/dist/chunks/{integration-f828m53h.js → credential-hdnk95c8.js} +2 -2
- package/dist/chunks/{integration-pdbx66ww.js → credential-hhf650b6.js} +18 -18
- package/dist/chunks/{integration-981c06fr.js → credential-hrj4tf28.js} +3 -3
- package/dist/chunks/{integration-24sbpj7j.js → credential-hyj2vz80.js} +4 -4
- package/dist/chunks/{integration-r65t6xh7.js → credential-j10vveh1.js} +6 -6
- package/dist/chunks/{integration-mbbvnryx.js → credential-j1etvyav.js} +7 -7
- package/dist/chunks/{integration-x6332jt5.js → credential-j4m9dw8y.js} +3 -3
- package/dist/chunks/{integration-j56e64zr.js → credential-j56e64zr.js} +1 -1
- package/dist/chunks/{integration-paphc93g.js → credential-j935v87r.js} +2 -2
- package/dist/chunks/{integration-h06ac2p8.js → credential-j9cg0esf.js} +86 -86
- package/dist/chunks/{integration-tr6g8z48.js → credential-ja89yahs.js} +6 -6
- package/dist/chunks/{integration-9fwp41vh.js → credential-jefma2gq.js} +10 -10
- package/dist/chunks/{integration-awm5ey78.js → credential-jh4fk4tf.js} +16 -16
- package/dist/chunks/{integration-54artk0j.js → credential-jj6pqn3w.js} +1 -1
- package/dist/chunks/credential-jrj2y5pk.js +22 -0
- package/dist/chunks/{integration-trn6vfc7.js → credential-jvmxcf50.js} +9 -9
- package/dist/chunks/{integration-9mrrxw6m.js → credential-jx42jpcz.js} +11 -11
- package/dist/chunks/{integration-tz90ke85.js → credential-jxzmtya1.js} +33 -33
- package/dist/chunks/{integration-fmmn8x74.js → credential-k8r06fnw.js} +3 -3
- package/dist/chunks/{integration-kg06axw8.js → credential-kg06axw8.js} +1 -1
- package/dist/chunks/{integration-f3ngv102.js → credential-kk00bynn.js} +21 -21
- package/dist/chunks/{integration-cfpkc3c9.js → credential-m0jqrx5p.js} +2 -2
- package/dist/chunks/{integration-6hpga0xb.js → credential-m1gz7xkc.js} +30 -30
- package/dist/chunks/{integration-axwbg76g.js → credential-m4vn3qv8.js} +17 -17
- package/dist/chunks/{integration-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-50zrjbre.js → credential-mhayska3.js} +6 -6
- package/dist/chunks/{integration-62yneyxz.js → credential-mj233eqc.js} +17 -17
- package/dist/chunks/{integration-mkcjrzeh.js → credential-mkcjrzeh.js} +1 -1
- package/dist/chunks/{integration-hqg6sb4q.js → credential-mkw2wvv0.js} +15 -15
- package/dist/chunks/{integration-nxhqveyz.js → credential-mtft99cd.js} +5 -5
- package/dist/chunks/{integration-2chp6tba.js → credential-mx65tve6.js} +26 -26
- package/dist/chunks/{integration-gq6s43k6.js → credential-n6avr4zf.js} +11 -11
- package/dist/chunks/{integration-tjt84ys6.js → credential-nahk2kxe.js} +21 -21
- package/dist/chunks/{integration-em03vsep.js → credential-nc3q5shn.js} +79 -79
- package/dist/chunks/{integration-1fa9ans5.js → credential-ng5shs3s.js} +1 -1
- package/dist/chunks/{integration-z1f4gy9p.js → credential-nhvhf6q8.js} +8 -8
- package/dist/chunks/{integration-e82z9tr0.js → credential-nhy5jxhy.js} +7 -7
- package/dist/chunks/{integration-qny5sbzp.js → credential-nkz5kzvr.js} +20 -20
- package/dist/chunks/{integration-a9yqag6z.js → credential-npsw1jjn.js} +12 -12
- package/dist/chunks/{integration-2a4vj1s4.js → credential-ntdnj22e.js} +12 -12
- package/dist/chunks/{integration-hwagt9fk.js → credential-p0sx4xrp.js} +43 -43
- package/dist/chunks/{integration-yap5dk6s.js → credential-p6d8qxhz.js} +50 -50
- package/dist/chunks/{integration-prqqf107.js → credential-p71dzhbg.js} +9 -9
- package/dist/chunks/{integration-p2z3a8zb.js → credential-p7m6avpa.js} +35 -35
- package/dist/chunks/{integration-qqzfp6vg.js → credential-pc200wed.js} +8 -8
- package/dist/chunks/{integration-bscb95cy.js → credential-pjedbq3k.js} +4 -4
- package/dist/chunks/{integration-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{integration-72mq2vzh.js → credential-pn0ve21a.js} +6 -6
- package/dist/chunks/{integration-6jnybvqn.js → credential-pnv527nz.js} +9 -9
- package/dist/chunks/{integration-5x1f6fxb.js → credential-q19fwqr8.js} +4 -4
- package/dist/chunks/{integration-5xtgfte3.js → credential-q26tgv94.js} +8 -8
- package/dist/chunks/{integration-nmng2596.js → credential-q5zfzp2a.js} +43 -43
- package/dist/chunks/{integration-vdbz7hp2.js → credential-qdmm088d.js} +27 -27
- package/dist/chunks/{integration-p5nfdbsd.js → credential-qdykr49y.js} +27 -27
- package/dist/chunks/{integration-xq5vd1g3.js → credential-qmthdazp.js} +17 -17
- package/dist/chunks/{integration-qsdy395h.js → credential-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-ab9238g2.js → credential-qz49fwgp.js} +4 -4
- package/dist/chunks/{integration-2gftwxby.js → credential-qzteyjp0.js} +15 -15
- package/dist/chunks/{integration-6rj0pkd8.js → credential-r4k4q95n.js} +33 -33
- package/dist/chunks/{integration-b1vav3zj.js → credential-r50xb6dr.js} +11 -11
- package/dist/chunks/credential-rap9a73h.js +18 -0
- package/dist/chunks/{integration-mhb8h3pe.js → credential-rc4v7jdw.js} +3 -3
- package/dist/chunks/{integration-296w2s1t.js → credential-rgcx19v1.js} +22 -22
- package/dist/chunks/{integration-dr0zz7zk.js → credential-rhhgd1jt.js} +5 -5
- package/dist/chunks/{integration-77k3n89b.js → credential-rnwa6k7x.js} +4 -4
- package/dist/chunks/{integration-xwwp0fmq.js → credential-rp0q961h.js} +38 -38
- package/dist/chunks/{integration-v6kh18tr.js → credential-rxhbz9hr.js} +4 -4
- package/dist/chunks/{integration-wvmccxaf.js → credential-rxzbznts.js} +24 -24
- package/dist/chunks/{integration-a025dhy9.js → credential-s2aq5fn4.js} +9 -9
- package/dist/chunks/{integration-yrznvahk.js → credential-s4enseaf.js} +2 -2
- package/dist/chunks/{integration-7z7az0f5.js → credential-shh6fz4q.js} +4 -4
- package/dist/chunks/{integration-aj7efv6t.js → credential-st0tfbhf.js} +41 -41
- package/dist/chunks/{integration-r1207mrt.js → credential-stb366ab.js} +12 -12
- package/dist/chunks/{integration-eftvq2tf.js → credential-t0vv7hjv.js} +34 -34
- package/dist/chunks/{integration-9gh06r58.js → credential-t5pp6k6z.js} +4 -4
- package/dist/chunks/{integration-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tcezcvh9.js → credential-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-tdstcens.js → credential-tdstcens.js} +1 -1
- package/dist/chunks/{integration-hsvyyagr.js → credential-tdw0q9zr.js} +37 -37
- package/dist/chunks/{integration-hfqk3xwb.js → credential-trjjxkd4.js} +14 -14
- package/dist/chunks/{integration-tvtrv512.js → credential-tvtrv512.js} +1 -1
- package/dist/chunks/{integration-afdssyjb.js → credential-tz4n1mmd.js} +4 -4
- package/dist/chunks/{integration-eag1s9wb.js → credential-v6pdazz0.js} +36 -36
- package/dist/chunks/{integration-veqvce7d.js → credential-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-wgts12ht.js → credential-vgcq2s3r.js} +10 -10
- package/dist/chunks/{integration-f3p0nvhn.js → credential-vqh4gwbt.js} +34 -34
- package/dist/chunks/{integration-8aa1j6tz.js → credential-vr2q3kmy.js} +6 -6
- package/dist/chunks/{integration-zedhchgb.js → credential-vsa2623n.js} +24 -24
- package/dist/chunks/{integration-rf2xy082.js → credential-vyje1mnf.js} +9 -9
- package/dist/chunks/{integration-hf8cnsjw.js → credential-vyqtz9n7.js} +1 -1
- package/dist/chunks/{integration-vzcthcp8.js → credential-vzcthcp8.js} +1 -1
- package/dist/chunks/{integration-gvnha4xr.js → credential-w031r0ta.js} +20 -20
- package/dist/chunks/{integration-0fcsp1cp.js → credential-w09rpk5j.js} +7 -7
- package/dist/chunks/{integration-q4xjn5nd.js → credential-w27d4nw8.js} +30 -30
- package/dist/chunks/{integration-q280h65c.js → credential-w2q9x1k3.js} +8 -8
- package/dist/chunks/{integration-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-tbc4e8rx.js → credential-w4enfkwp.js} +26 -26
- package/dist/chunks/{integration-07hzebz1.js → credential-w7cj9ekx.js} +4 -4
- package/dist/chunks/{integration-epzez8zj.js → credential-w8gzpttc.js} +21 -21
- package/dist/chunks/{integration-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{integration-evdgyt3t.js → credential-wfr0f2wv.js} +40 -40
- package/dist/chunks/{integration-cenppacd.js → credential-wnbzzbw2.js} +9 -9
- package/dist/chunks/{integration-agy7y5ez.js → credential-wptwfzfm.js} +22 -22
- package/dist/chunks/{integration-8ktk8fvc.js → credential-wrxgasq3.js} +17 -17
- package/dist/chunks/{integration-6w2rqcm5.js → credential-wvhct48y.js} +24 -24
- package/dist/chunks/{integration-nccr955a.js → credential-x0srfm87.js} +18 -18
- package/dist/chunks/{integration-x1ezjp6w.js → credential-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-x43y2vfs.js → credential-x43y2vfs.js} +2 -2
- package/dist/chunks/{integration-bq9rkr49.js → credential-xzr3fv1j.js} +7 -7
- package/dist/chunks/{integration-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-y71avatq.js → credential-y71avatq.js} +1 -1
- package/dist/chunks/{integration-fz9d5ssd.js → credential-y8ztsxtk.js} +9 -9
- package/dist/chunks/{integration-znh9e8s1.js → credential-y91nxhfn.js} +16 -16
- package/dist/chunks/{integration-7e5zvqnb.js → credential-yjc83x66.js} +25 -25
- package/dist/chunks/{integration-yrhqyw5v.js → credential-yrhqyw5v.js} +1 -1
- package/dist/chunks/{integration-6jex2xta.js → credential-yww5gzhe.js} +5 -5
- package/dist/chunks/{integration-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-6ymymyv8.js → credential-z2qvtray.js} +6 -6
- package/dist/chunks/{integration-evbgk2k8.js → credential-z3pw5915.js} +5 -5
- package/dist/chunks/{integration-nf1dwszp.js → credential-z6rkfk30.js} +17 -17
- package/dist/chunks/{integration-1ear0pxv.js → credential-z8awfy9p.js} +10 -10
- package/dist/chunks/{integration-zeh9ct20.js → credential-zeh9ct20.js} +2 -2
- package/dist/chunks/{integration-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-7kn6mjqn.js → credential-zrrbqdrq.js} +30 -30
- package/dist/chunks/{integration-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- 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 +113 -113
- package/dist/config/plugin/command.js +207 -207
- 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 +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +115 -115
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +68 -68
- 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 +222 -222
- 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 +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +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 +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +128 -128
- 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 +103 -103
- 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 +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +4 -4
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- 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 +4 -4
- 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 +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- 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 +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +224 -224
- 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 +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +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 +129 -129
- 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 +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- 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 +108 -108
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- 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 +98 -98
- package/dist/tool/plugin/read.js +121 -121
- 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 +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- 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 +5 -5
- 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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/integration-45th5jwr.js +0 -18
- package/dist/chunks/integration-5re7vdb3.js +0 -247
- package/dist/chunks/integration-gbadjzag.js +0 -4
- package/dist/chunks/integration-r3v06hfv.js +0 -22
- package/dist/chunks/integration-ypk4vtwt.js +0 -462
- /package/dist/chunks/{integration-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3w5fmr99.js → credential-3w5fmr99.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-922hggd3.js → credential-922hggd3.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a1tpkmh4.js → credential-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → credential-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hjbc5kem.js → credential-hjbc5kem.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-hrnqkpcd.js → credential-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → credential-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-twg0f83k.js → credential-twg0f83k.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → credential-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → credential-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./credential-9p3b3m98.js";
|
|
6
6
|
import {
|
|
7
7
|
ID14
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./credential-b5hymcep.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-q19fwqr8.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event18
|
|
15
|
+
} from "./credential-m1gz7xkc.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID12,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-w27d4nw8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service68
|
|
22
|
+
} from "./credential-yjc83x66.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get3
|
|
25
|
+
} from "./credential-b8s54zd1.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./credential-0bnjtszc.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID12.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service68;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID16.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID16.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,7 +187,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID16.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
@@ -214,10 +214,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID16.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID16.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID16.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID16.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID16.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID16.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./credential-p0sx4xrp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./credential-w4enfkwp.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin40
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin40 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service63;
|
|
26
|
+
const compaction = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin33 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin40, exports_compaction };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-kk00bynn.js";
|
|
7
7
|
import {
|
|
8
8
|
Info17
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-h74ge2a2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info21
|
|
12
|
+
} from "./credential-z3pw5915.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info18
|
|
15
|
+
} from "./credential-a2ew8a62.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info22
|
|
18
|
+
} from "./credential-mtft99cd.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info20
|
|
24
|
+
} from "./credential-hcz3zddy.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info15
|
|
27
|
+
} from "./credential-r4k4q95n.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./credential-rxhbz9hr.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./credential-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info15.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info21, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info22, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info20, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID11,
|
|
3
|
-
|
|
3
|
+
Info14,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./credential-7jdsj2a9.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./credential-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-ahcp8nkf.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service79,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./credential-q19fwqr8.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node82
|
|
21
|
+
} from "./credential-st0tfbhf.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service38,
|
|
24
|
+
node41
|
|
25
|
+
} from "./credential-ghk9cxjs.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./credential-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./credential-5c4hm403.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node39
|
|
34
|
+
} from "./credential-wvhct48y.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./credential-2tfmgkzg.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./credential-96h9wr4f.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./credential-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node27
|
|
47
|
+
} from "./credential-jh4fk4tf.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node44
|
|
51
|
+
} from "./credential-0bnjtszc.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError8,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -64,50 +64,50 @@ import {
|
|
|
64
64
|
BusyError2,
|
|
65
65
|
InboxConflictError2,
|
|
66
66
|
SkillNotFoundError2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./credential-xzr3fv1j.js";
|
|
68
68
|
import {
|
|
69
69
|
ListInput5,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
70
|
+
Service60,
|
|
71
|
+
node65
|
|
72
|
+
} from "./credential-0n3rk2gt.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service56,
|
|
75
|
+
node61
|
|
76
|
+
} from "./credential-stb366ab.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
78
|
+
Service34,
|
|
79
|
+
node38
|
|
80
|
+
} from "./credential-rp0q961h.js";
|
|
81
81
|
import {
|
|
82
82
|
llmClient2
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./credential-5t3nmthw.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
85
|
+
Service32,
|
|
86
|
+
node37
|
|
87
|
+
} from "./credential-r50xb6dr.js";
|
|
88
88
|
import {
|
|
89
89
|
generate3
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./credential-3gfv59ch.js";
|
|
91
91
|
import {
|
|
92
92
|
execute2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./credential-dnba0na5.js";
|
|
94
94
|
import {
|
|
95
95
|
DestinationNotFoundError2,
|
|
96
96
|
DestinationNotDirectoryError2,
|
|
97
97
|
DestinationUnavailableError2,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
} from "./
|
|
98
|
+
Service22,
|
|
99
|
+
node26
|
|
100
|
+
} from "./credential-2998kf83.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
} from "./
|
|
102
|
+
Service51,
|
|
103
|
+
node55
|
|
104
|
+
} from "./credential-73t188jy.js";
|
|
105
105
|
import {
|
|
106
|
-
|
|
107
|
-
} from "./
|
|
106
|
+
make15
|
|
107
|
+
} from "./credential-eg6kvm4e.js";
|
|
108
108
|
import {
|
|
109
109
|
__export
|
|
110
|
-
} from "./
|
|
110
|
+
} from "./credential-9rqn6x4v.js";
|
|
111
111
|
|
|
112
112
|
// src/session.ts
|
|
113
113
|
var exports_session = {};
|
|
@@ -120,9 +120,9 @@ __export(exports_session, {
|
|
|
120
120
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
121
121
|
ID: () => ID11,
|
|
122
122
|
InboxConflictError: () => InboxConflictError2,
|
|
123
|
-
Info: () =>
|
|
123
|
+
Info: () => Info14,
|
|
124
124
|
ListAnchor: () => ListAnchor2,
|
|
125
|
-
ListInput: () =>
|
|
125
|
+
ListInput: () => ListInput2,
|
|
126
126
|
MessageDecodeError: () => MessageDecodeError2,
|
|
127
127
|
MessageIncompleteError: () => MessageIncompleteError2,
|
|
128
128
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
@@ -130,12 +130,12 @@ __export(exports_session, {
|
|
|
130
130
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
131
131
|
NotFoundError: () => NotFoundError8,
|
|
132
132
|
PromptConflictError: () => PromptConflictError2,
|
|
133
|
-
Service: () =>
|
|
133
|
+
Service: () => Service21,
|
|
134
134
|
Session: () => exports_session,
|
|
135
135
|
SessionSchema: () => SessionSchema2,
|
|
136
136
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
137
137
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
138
|
-
node: () =>
|
|
138
|
+
node: () => node25
|
|
139
139
|
});
|
|
140
140
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
141
141
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -145,26 +145,26 @@ import { Model } from "@opencode/schema/model";
|
|
|
145
145
|
import path from "path";
|
|
146
146
|
import { Node } from "@opencode/util/effect/app-node";
|
|
147
147
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
148
|
-
var
|
|
149
|
-
class
|
|
148
|
+
var ListInput2 = ListInput5;
|
|
149
|
+
class Service21 extends Context.Service()("@opencode/Session") {
|
|
150
150
|
}
|
|
151
|
-
var layer = Layer.effect(
|
|
151
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
152
152
|
const app = yield* Metadata2;
|
|
153
153
|
const database = yield* Service80;
|
|
154
154
|
const db = database.db;
|
|
155
155
|
const bus = yield* Service79;
|
|
156
|
-
const projects = yield*
|
|
157
|
-
const execution = yield*
|
|
156
|
+
const projects = yield* Service77;
|
|
157
|
+
const execution = yield* Service34;
|
|
158
158
|
const llm = yield* LLMClient.Service;
|
|
159
|
-
const transport = yield*
|
|
160
|
-
const store = yield*
|
|
161
|
-
const instances = yield*
|
|
162
|
-
const moves = yield*
|
|
163
|
-
const jobs = yield*
|
|
164
|
-
const environments = yield*
|
|
165
|
-
const sessions = yield*
|
|
159
|
+
const transport = yield* Service32;
|
|
160
|
+
const store = yield* Service60;
|
|
161
|
+
const instances = yield* Service38;
|
|
162
|
+
const moves = yield* Service22;
|
|
163
|
+
const jobs = yield* Service56;
|
|
164
|
+
const environments = yield* Service51;
|
|
165
|
+
const sessions = yield* make15();
|
|
166
166
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
167
|
-
const result =
|
|
167
|
+
const result = Service21.of({
|
|
168
168
|
create: Effect.fn("Session.create")(function* (input) {
|
|
169
169
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
170
170
|
const recorded = yield* store.get(sessionID);
|
|
@@ -266,11 +266,11 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
266
266
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
267
267
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
268
268
|
const session = yield* result.get(input.sessionID);
|
|
269
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
269
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service38, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
|
|
270
270
|
}),
|
|
271
271
|
command: Effect.fn("Session.command")(function* (input) {
|
|
272
272
|
const session = yield* result.get(input.sessionID);
|
|
273
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
273
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service38, instances));
|
|
274
274
|
}),
|
|
275
275
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
276
276
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -310,26 +310,26 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
310
310
|
});
|
|
311
311
|
return result;
|
|
312
312
|
}));
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
313
|
+
var node25 = Node.makeGlobalNode({
|
|
314
|
+
service: Service21,
|
|
315
315
|
layer,
|
|
316
316
|
deps: [
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
node61,
|
|
318
|
+
node55,
|
|
319
319
|
node85,
|
|
320
320
|
node84,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
321
|
+
node82,
|
|
322
|
+
node38,
|
|
323
|
+
node37,
|
|
324
324
|
llmClient2,
|
|
325
|
-
node74,
|
|
326
325
|
node65,
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
326
|
+
node41,
|
|
327
|
+
node39,
|
|
328
|
+
node26,
|
|
329
|
+
node27,
|
|
330
330
|
FSUtil.node,
|
|
331
|
-
|
|
331
|
+
node44
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { ListAnchor2,
|
|
335
|
+
export { ListAnchor2, ListInput2, Service21, node25, exports_session };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./credential-nhy5jxhy.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_optimize, {
|
|
|
12
12
|
ArceePlugin: () => ArceePlugin2,
|
|
13
13
|
KimiPlugin: () => KimiPlugin2,
|
|
14
14
|
MetaPlugin: () => MetaPlugin2,
|
|
15
|
-
OpenAIPlugin: () =>
|
|
15
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
16
16
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
17
17
|
OptimizePlugin: () => exports_optimize,
|
|
18
18
|
Plugins: () => Plugins2
|
|
@@ -368,7 +368,7 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
|
|
|
368
368
|
`;
|
|
369
369
|
|
|
370
370
|
// src/plugin/optimize.ts
|
|
371
|
-
var
|
|
371
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
372
372
|
const id = model.id.toLowerCase();
|
|
373
373
|
if (!id.includes("gpt"))
|
|
374
374
|
return;
|
|
@@ -397,7 +397,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
397
397
|
return;
|
|
398
398
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
399
399
|
});
|
|
400
|
-
var Plugins2 = [
|
|
400
|
+
var Plugins2 = [OpenAIPlugin3, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
401
401
|
function make(id, optimize) {
|
|
402
402
|
return define({
|
|
403
403
|
id,
|
|
@@ -412,10 +412,10 @@ function make(id, optimize) {
|
|
|
412
412
|
const system = event.system[0];
|
|
413
413
|
if (!system)
|
|
414
414
|
return;
|
|
415
|
-
event.system[0] = { ...system, text:
|
|
415
|
+
event.system[0] = { ...system, text: render3(template, Object.keys(event.tools)) };
|
|
416
416
|
}).pipe(Effect.catch(() => Effect.void)));
|
|
417
417
|
})
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
export {
|
|
421
|
+
export { OpenAIPlugin3, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|