@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,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./credential-mj233eqc.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service48,
|
|
11
|
+
node52
|
|
12
|
+
} from "./credential-et95z6r9.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
19
19
|
__export(exports_filesystem, {
|
|
20
|
-
Content: () =>
|
|
20
|
+
Content: () => Content3,
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event10,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
|
-
ListInput: () =>
|
|
29
|
+
ListInput: () => ListInput3,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service47,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node51
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -42,14 +42,14 @@ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@openco
|
|
|
42
42
|
var ReadInput2 = Schema.Struct({
|
|
43
43
|
path: RelativePath2
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Content3 = Schema.Struct({
|
|
46
46
|
uri: Schema.String,
|
|
47
47
|
name: Schema.String.pipe(Schema.optional),
|
|
48
48
|
content: Schema.String,
|
|
49
49
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
50
50
|
mime: Schema.String
|
|
51
51
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
52
|
-
var
|
|
52
|
+
var ListInput3 = Schema.Struct({
|
|
53
53
|
path: Schema.String.pipe(Schema.optional)
|
|
54
54
|
});
|
|
55
55
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event10 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service47 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service47, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service76;
|
|
82
|
+
const search = yield* Service48;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service47.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node51 = makeLocationNode({
|
|
126
|
+
service: Service47,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node81, node52]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event10, Service47, node51, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-ahcp8nkf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-q19fwqr8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service38
|
|
9
|
+
} from "./credential-ghk9cxjs.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service41
|
|
16
|
+
} from "./credential-e1pb9r1r.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./credential-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./credential-xzr3fv1j.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./credential-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./credential-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service38;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service41;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service38;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service41;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-0bnjtszc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID16
|
|
6
|
+
} from "./credential-9p3b3m98.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-w09rpk5j.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID16.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load3
|
|
6
|
+
} from "./credential-j935v87r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event13,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options8,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service64,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer22,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node69,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event13 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load3());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -57,14 +57,14 @@ var Options8 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service64 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service64.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service64.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service64).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service64, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service64, layer: layer22(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node69 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event13, hasNativeBinding2, Native3, Options8, Service64, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured10, node69, exports_watcher };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./credential-jefma2gq.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service78;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make15 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./credential-wfr0f2wv.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-a1tpkmh4.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input9,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin24,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name9 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input9 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input5 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input9.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin24 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service58;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name9,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input9,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin19 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name9,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin24, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./credential-4jmdj23e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./credential-ghk9cxjs.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-rap9a73h.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service62
|
|
15
|
+
} from "./credential-w2q9x1k3.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-xzr3fv1j.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service44
|
|
23
|
+
} from "./credential-wptwfzfm.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./credential-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service38;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service62;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service44;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service45;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|