@opencode/core 0.0.0-dev-19390 → 0.0.0-dev-19392
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 +5 -5
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{kv-0jb4n2a0.js → repository-02e0y54q.js} +15 -15
- package/dist/chunks/{kv-1g49rwcy.js → repository-04fcbydd.js} +6 -6
- package/dist/chunks/{kv-haav6xr7.js → repository-0chgf8x9.js} +44 -44
- package/dist/chunks/{kv-re8mxfzd.js → repository-0h1dgn2a.js} +21 -21
- package/dist/chunks/{kv-qjfc5n3j.js → repository-0jvretd3.js} +13 -13
- package/dist/chunks/{kv-yfkq0gfv.js → repository-0n0mhreg.js} +27 -27
- package/dist/chunks/{kv-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-eqrqx1n9.js → repository-0pcjts55.js} +63 -63
- package/dist/chunks/{kv-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{kv-8478weqf.js → repository-0v13smbh.js} +11 -11
- package/dist/chunks/{kv-647wzfv2.js → repository-0wh211te.js} +7 -7
- package/dist/chunks/{kv-k4c4r259.js → repository-11kz9drc.js} +21 -21
- package/dist/chunks/{kv-b2m2g9cq.js → repository-17y9e0xf.js} +9 -9
- package/dist/chunks/{kv-jw9satmb.js → repository-1ck6d65j.js} +13 -13
- package/dist/chunks/{kv-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-1eyaby9q.js → repository-1eyaby9q.js} +2 -2
- package/dist/chunks/{kv-ghs4y90d.js → repository-1h8056qn.js} +176 -176
- package/dist/chunks/{kv-kg5y7jy3.js → repository-1mr1b0wr.js} +34 -34
- package/dist/chunks/{kv-p7kse70a.js → repository-1vtz46z8.js} +8 -8
- package/dist/chunks/{kv-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{kv-cfhv7k6a.js → repository-24tr1rny.js} +41 -41
- package/dist/chunks/{kv-hr5bc81f.js → repository-2a4f6v5q.js} +8 -8
- package/dist/chunks/{kv-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-y41m72jr.js → repository-2az9q9m5.js} +47 -47
- package/dist/chunks/{kv-tf15gxw8.js → repository-2venq07n.js} +20 -20
- package/dist/chunks/{kv-k0xz0zmp.js → repository-343vvr6y.js} +13 -13
- package/dist/chunks/{kv-kb85snj8.js → repository-37wraq67.js} +9 -9
- package/dist/chunks/{kv-3jp54z3r.js → repository-39r80e1r.js} +1 -1
- package/dist/chunks/{kv-73pkveg5.js → repository-3a6d4gwd.js} +11 -11
- package/dist/chunks/{kv-3cfzdc8e.js → repository-3cfzdc8e.js} +2 -2
- package/dist/chunks/{kv-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-0gb0b71h.js → repository-3g5b63xy.js} +25 -25
- package/dist/chunks/{kv-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-hxhax0yh.js → repository-3r9tyhmb.js} +18 -18
- package/dist/chunks/{kv-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-vrrfbpyj.js → repository-3vaccfnm.js} +32 -32
- package/dist/chunks/{kv-qckw2k72.js → repository-45yvhxnf.js} +8 -8
- package/dist/chunks/{kv-fagy7rdj.js → repository-48974jce.js} +36 -36
- package/dist/chunks/{kv-02zskd6f.js → repository-49hrpkdk.js} +4 -4
- package/dist/chunks/{kv-ser5sghd.js → repository-4hgtqqtz.js} +3 -3
- package/dist/chunks/{kv-nyqpwg46.js → repository-4hnbmwf5.js} +4 -4
- package/dist/chunks/{kv-snvhmjc6.js → repository-4jfex6ks.js} +11 -11
- package/dist/chunks/{kv-md368hrg.js → repository-4jktxnha.js} +8 -8
- package/dist/chunks/{kv-ktp4kh0a.js → repository-4mtecjc1.js} +26 -26
- package/dist/chunks/{kv-en2byt25.js → repository-4t0960ha.js} +10 -10
- package/dist/chunks/{kv-rpgbr9ce.js → repository-4v5k2jq1.js} +22 -22
- package/dist/chunks/{kv-qp1z02r1.js → repository-4vbarqrf.js} +30 -30
- package/dist/chunks/{kv-j9echq48.js → repository-4yk32cn1.js} +9 -9
- package/dist/chunks/{kv-jehgatyy.js → repository-54q2yb5y.js} +43 -43
- package/dist/chunks/{kv-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
- package/dist/chunks/{kv-4prjfj1p.js → repository-57vc1f1w.js} +31 -31
- package/dist/chunks/{kv-jj6j4x9t.js → repository-5a7jwez6.js} +43 -43
- package/dist/chunks/{kv-ptyjv6sg.js → repository-5b0ze84y.js} +3 -3
- package/dist/chunks/{kv-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-dyev18v0.js → repository-5dczmsbe.js} +8 -8
- package/dist/chunks/{kv-prhmc65q.js → repository-5qp0xphp.js} +25 -25
- package/dist/chunks/{kv-qw1avwf1.js → repository-5sh276j6.js} +11 -11
- package/dist/chunks/{kv-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{kv-2402vzrj.js → repository-6h73sxmp.js} +5 -5
- package/dist/chunks/{kv-dntgyp5f.js → repository-6hhx0jg1.js} +29 -28
- package/dist/chunks/{kv-65c5xzsx.js → repository-6kgdg5m2.js} +17 -17
- package/dist/chunks/{kv-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-efnnyr8k.js → repository-6pmke597.js} +43 -42
- package/dist/chunks/{kv-43k56ejq.js → repository-6vjnk7fh.js} +9 -9
- package/dist/chunks/{kv-414z0nek.js → repository-6yt6jtkp.js} +13 -13
- package/dist/chunks/{kv-71q4at8m.js → repository-71q4at8m.js} +1 -1
- package/dist/chunks/{kv-w00fmqn9.js → repository-77e0zb3k.js} +20 -20
- package/dist/chunks/{kv-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-ry9rqqdj.js → repository-7ebdzj7v.js} +27 -27
- package/dist/chunks/{kv-tpsh7nep.js → repository-7g7rfx25.js} +12 -12
- package/dist/chunks/{kv-agty4mtf.js → repository-7y5q31fh.js} +71 -71
- package/dist/chunks/{kv-mrqdrzhn.js → repository-81swgkk7.js} +9 -9
- package/dist/chunks/{kv-9zq90cq7.js → repository-85jhkfmq.js} +4 -4
- package/dist/chunks/{kv-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-fv6994dx.js → repository-8j0ymjpm.js} +23 -23
- package/dist/chunks/{kv-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
- package/dist/chunks/{kv-tqe05zcw.js → repository-8vtetfvn.js} +24 -24
- package/dist/chunks/{kv-wzwrnqbk.js → repository-8x8j0yap.js} +7 -7
- package/dist/chunks/{kv-pkh14f8a.js → repository-919rdka5.js} +26 -26
- package/dist/chunks/{kv-9htnacz2.js → repository-93v0v8g0.js} +32 -32
- package/dist/chunks/{kv-9r33v7f0.js → repository-98k43r7d.js} +25 -25
- package/dist/chunks/{kv-7pqzfj2e.js → repository-9hm1nb7k.js} +17 -17
- package/dist/chunks/{kv-zxwebrdg.js → repository-9s7jgwbd.js} +12 -12
- package/dist/chunks/{kv-q52pkfc0.js → repository-9tvhpt1h.js} +34 -34
- package/dist/chunks/{kv-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
- package/dist/chunks/{kv-vqa763dh.js → repository-a29n1zs3.js} +7 -7
- package/dist/chunks/{kv-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-jg8cj1ke.js → repository-ab1rm27r.js} +14 -14
- package/dist/chunks/{kv-xaq7y018.js → repository-aeh5fpw2.js} +37 -37
- package/dist/chunks/{kv-v76by4bg.js → repository-aggqyzrf.js} +6 -6
- package/dist/chunks/{kv-7q4tg7d5.js → repository-anrzzgjr.js} +20 -20
- package/dist/chunks/{kv-415j81f1.js → repository-ar3kqjsa.js} +22 -22
- package/dist/chunks/{kv-3c1tgrea.js → repository-asn1qnte.js} +6 -6
- package/dist/chunks/{kv-43k15f45.js → repository-b17kd43r.js} +4 -4
- package/dist/chunks/{kv-kp15nsp5.js → repository-b1h1c68h.js} +8 -8
- package/dist/chunks/{kv-f8q7mv7a.js → repository-b47t4zxj.js} +1 -1
- package/dist/chunks/{kv-2bvz9nnf.js → repository-b67qqecp.js} +11 -11
- package/dist/chunks/{kv-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-bajakh74.js → repository-bajakh74.js} +4 -4
- package/dist/chunks/{kv-2ehqxkpw.js → repository-bfhmxbp5.js} +12 -12
- package/dist/chunks/{kv-yv6gpnv9.js → repository-bpf5xa8r.js} +6 -6
- package/dist/chunks/{kv-eqn55phe.js → repository-bragb0zt.js} +11 -11
- package/dist/chunks/{kv-bv56xrks.js → repository-bv56xrks.js} +2 -2
- package/dist/chunks/{kv-cxr98dhw.js → repository-bx51kgqc.js} +20 -20
- package/dist/chunks/{kv-bwy0a1tx.js → repository-c08088rs.js} +88 -88
- package/dist/chunks/{kv-vz7veymp.js → repository-c5ws0z31.js} +58 -58
- package/dist/chunks/{kv-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
- package/dist/chunks/{kv-1n7b5642.js → repository-cjdhxnc7.js} +28 -28
- package/dist/chunks/{kv-cpde8a39.js → repository-cqmjdmfy.js} +34 -34
- package/dist/chunks/{kv-yt0fqk68.js → repository-cr07tj7n.js} +5 -5
- package/dist/chunks/{kv-m86bnw2c.js → repository-crptryd9.js} +9 -9
- package/dist/chunks/{kv-7sy2vt23.js → repository-cv1c066y.js} +45 -45
- package/dist/chunks/{kv-8f6ywf8a.js → repository-cw5vx56j.js} +36 -36
- package/dist/chunks/{kv-cg9e05fy.js → repository-cwsfv75g.js} +10 -10
- package/dist/chunks/{kv-844ef7ks.js → repository-cxv3b682.js} +8 -8
- package/dist/chunks/{kv-1vwgwxct.js → repository-d1yx4qwh.js} +9 -9
- package/dist/chunks/{kv-vweeh7m7.js → repository-d2t4pj3k.js} +22 -22
- package/dist/chunks/{kv-sbpd7n04.js → repository-d3j72vaa.js} +7 -7
- package/dist/chunks/{kv-d8nc1xcx.js → repository-d8nc1xcx.js} +1 -1
- package/dist/chunks/{kv-bvggqreg.js → repository-ddbrkqgx.js} +18 -18
- package/dist/chunks/{kv-b3d84yq7.js → repository-depcwyj9.js} +24 -24
- package/dist/chunks/{kv-790ch1hh.js → repository-dk4nfg5s.js} +10 -10
- package/dist/chunks/repository-dxj72tfx.js +18 -0
- package/dist/chunks/{kv-ksz0h0wp.js → repository-e0g3hjre.js} +1 -1
- package/dist/chunks/{kv-ecw6ew9r.js → repository-e275mf5g.js} +4 -4
- package/dist/chunks/{kv-c3jmffjz.js → repository-e2q75spx.js} +13 -13
- package/dist/chunks/{kv-e4wgfgxg.js → repository-e6z046pm.js} +11 -11
- package/dist/chunks/{kv-99xay3p1.js → repository-eeaf82dq.js} +8 -8
- package/dist/chunks/{kv-4zf1v1ax.js → repository-epg4pcgt.js} +7 -7
- package/dist/chunks/{kv-fgwnwwwp.js → repository-es5b1610.js} +10 -10
- package/dist/chunks/{kv-55xz4zh9.js → repository-es9es8em.js} +83 -83
- package/dist/chunks/{kv-tjsj89dc.js → repository-esj243wz.js} +9 -9
- package/dist/chunks/{kv-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-f828m53h.js → repository-f828m53h.js} +2 -2
- package/dist/chunks/{kv-k16ay38w.js → repository-fa6dyqja.js} +1 -1
- package/dist/chunks/{kv-ratrq7cm.js → repository-fdv30zvt.js} +7 -7
- package/dist/chunks/{kv-aqb5rer3.js → repository-fmnw6ddm.js} +36 -36
- package/dist/chunks/{kv-nx39g39j.js → repository-fpvgn4t1.js} +14 -14
- package/dist/chunks/{kv-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-m27pyyd3.js → repository-fy497h6e.js} +8 -8
- package/dist/chunks/{kv-szhk0a37.js → repository-fyjrpq2n.js} +5 -5
- package/dist/chunks/{kv-tfngb0ww.js → repository-fz21q8me.js} +4 -4
- package/dist/chunks/{kv-968baqck.js → repository-g2ttgsev.js} +38 -38
- package/dist/chunks/{kv-a9e4s6y5.js → repository-g5yyevqf.js} +4 -4
- package/dist/chunks/{kv-96yt6zt0.js → repository-gbtq0qkg.js} +1 -1
- package/dist/chunks/{kv-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-0wddtmhn.js → repository-gf1vyzcg.js} +12 -12
- package/dist/chunks/{kv-r9babyk8.js → repository-gfwf98p3.js} +1 -1
- package/dist/chunks/{kv-ca40vn5a.js → repository-gpe6jd74.js} +8 -8
- package/dist/chunks/{kv-q931v04c.js → repository-gr925e17.js} +5 -5
- package/dist/chunks/{kv-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{kv-5kfhy3k0.js → repository-gxcjkrww.js} +284 -284
- package/dist/chunks/{kv-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
- package/dist/chunks/{kv-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-afre2yrw.js → repository-h72eb9sx.js} +30 -30
- package/dist/chunks/{kv-nppefrsq.js → repository-ha2ymhej.js} +16 -16
- package/dist/chunks/{kv-1awm1f41.js → repository-hc5nrc85.js} +14 -14
- package/dist/chunks/{kv-hjt4xg1x.js → repository-hjt4xg1x.js} +1 -1
- package/dist/chunks/{kv-h6ws6p6t.js → repository-hkwasy14.js} +32 -32
- package/dist/chunks/{kv-ybd0vcw2.js → repository-htdwccg2.js} +9 -9
- package/dist/chunks/{kv-3pb6rp4z.js → repository-hzy2m5kh.js} +24 -24
- package/dist/chunks/{kv-ebxxmhre.js → repository-j4jvep9r.js} +14 -14
- package/dist/chunks/{kv-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-azsdtfe1.js → repository-j7as52rv.js} +13 -13
- package/dist/chunks/{kv-knb36ns0.js → repository-jefma2gq.js} +10 -10
- package/dist/chunks/{kv-etq9z835.js → repository-jfkc9b5n.js} +2 -2
- package/dist/chunks/{kv-drknmmyh.js → repository-jx8g4evx.js} +9 -9
- package/dist/chunks/{kv-bcnz578n.js → repository-jxn3d5qw.js} +2 -2
- package/dist/chunks/{kv-76v974f3.js → repository-jz8tty61.js} +15 -15
- package/dist/chunks/{kv-8jen4ca3.js → repository-k5f8wpb1.js} +16 -16
- package/dist/chunks/{kv-rfbwz2gh.js → repository-k7z88jgs.js} +19 -19
- package/dist/chunks/{kv-cmbyd9dr.js → repository-ka539jxw.js} +15 -14
- package/dist/chunks/{kv-edgdtr1s.js → repository-kbep69gp.js} +42 -42
- package/dist/chunks/{kv-2k9xzrh9.js → repository-kedqt550.js} +20 -20
- package/dist/chunks/{kv-75tda2q9.js → repository-kf2529h4.js} +37 -37
- package/dist/chunks/{kv-kg06axw8.js → repository-kg06axw8.js} +1 -1
- package/dist/chunks/{kv-an11pnnt.js → repository-kg0jjcwj.js} +11 -11
- package/dist/chunks/{kv-70fkcx2s.js → repository-kj13mq9d.js} +39 -39
- package/dist/chunks/{kv-tmbkz46m.js → repository-kq4ab4h1.js} +1 -1
- package/dist/chunks/{kv-vz1j9mmw.js → repository-kr4ape1v.js} +18 -18
- package/dist/chunks/{kv-yqxv12x1.js → repository-m06pgbf8.js} +29 -29
- package/dist/chunks/{kv-4c2a19jd.js → repository-m3rgfk03.js} +6 -6
- package/dist/chunks/{kv-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-axmvebxj.js → repository-magykp64.js} +21 -21
- package/dist/chunks/{kv-a7386y5n.js → repository-majq4y6w.js} +16 -16
- package/dist/chunks/{kv-z69s9t6b.js → repository-mbchyd0s.js} +5 -5
- package/dist/chunks/{kv-csf2jhsg.js → repository-mfhfdr54.js} +4 -4
- package/dist/chunks/{kv-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
- package/dist/chunks/{kv-0t2h2sk3.js → repository-mpshf1ye.js} +5 -5
- package/dist/chunks/{kv-eaeq89r9.js → repository-mq52b90g.js} +10 -10
- package/dist/chunks/{kv-7yh4e7ss.js → repository-mvfsc1pv.js} +3 -3
- package/dist/chunks/{kv-wve3yzk2.js → repository-nhdt7g4d.js} +12 -12
- package/dist/chunks/{kv-2s81ped3.js → repository-nkdjhhay.js} +32 -32
- package/dist/chunks/{kv-fq6fvjs0.js → repository-nr8cezy4.js} +5 -5
- package/dist/chunks/{kv-vnwmzs4a.js → repository-nrk5vjbf.js} +5 -5
- package/dist/chunks/{kv-8f0b5v45.js → repository-ns2b79zq.js} +20 -20
- package/dist/chunks/{kv-nsgsffy1.js → repository-nsgsffy1.js} +3 -3
- package/dist/chunks/{kv-rfhs208y.js → repository-p5t1en88.js} +15 -15
- package/dist/chunks/{kv-h7gz2dsa.js → repository-p5vq1h1x.js} +32 -32
- package/dist/chunks/{kv-f3qv5bx3.js → repository-p8jw0zjb.js} +6 -6
- package/dist/chunks/repository-p9zbhqep.js +247 -0
- package/dist/chunks/{kv-j935v87r.js → repository-paphc93g.js} +2 -2
- package/dist/chunks/{kv-0egjfnvx.js → repository-pe4p92xe.js} +15 -15
- package/dist/chunks/{kv-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{kv-g298z4kx.js → repository-ppr425jm.js} +19 -19
- package/dist/chunks/{kv-5zdb2bkc.js → repository-ppzcs5qe.js} +22 -22
- package/dist/chunks/{kv-pqx6j71q.js → repository-pxv8awr7.js} +32 -34
- package/dist/chunks/{kv-mhecb7s9.js → repository-q0efknh2.js} +24 -24
- package/dist/chunks/{kv-7aserdg0.js → repository-q5sgvk0q.js} +11 -11
- package/dist/chunks/{kv-fgxxhjfg.js → repository-q9y68wbv.js} +5 -5
- package/dist/chunks/{kv-rykrqnsz.js → repository-qfhza6js.js} +33 -18
- package/dist/chunks/{kv-qgn6gcr1.js → repository-qgn6gcr1.js} +1 -1
- package/dist/chunks/{kv-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/repository-qtvmxc8s.js +4 -0
- package/dist/chunks/{kv-ja0y4ynt.js → repository-r2rry8w2.js} +15 -15
- package/dist/chunks/{kv-2jmaghvr.js → repository-r33ff4dw.js} +6 -6
- package/dist/chunks/{kv-9j28mq2b.js → repository-r3pdfb8a.js} +27 -27
- package/dist/chunks/{kv-hwewrxtp.js → repository-rm2yqhr0.js} +15 -15
- package/dist/chunks/{kv-m520pkxe.js → repository-s3fhdh3x.js} +18 -18
- package/dist/chunks/{kv-cenmv2f9.js → repository-s644107t.js} +2 -2
- package/dist/chunks/{kv-n76fdqym.js → repository-s7hhpcvx.js} +5 -5
- package/dist/chunks/{kv-gcybaz41.js → repository-s7zz1j9y.js} +31 -31
- package/dist/chunks/{kv-vncycja5.js → repository-sx1n432n.js} +4 -4
- package/dist/chunks/{kv-twy35tz0.js → repository-t0x5rdq8.js} +9 -9
- package/dist/chunks/{kv-t550f9t1.js → repository-t550f9t1.js} +1 -1
- package/dist/chunks/{kv-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-89znhe33.js → repository-tcezcvh9.js} +4 -4
- package/dist/chunks/{kv-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{kv-wz6f4x3q.js → repository-tjq77wbb.js} +19 -19
- package/dist/chunks/{kv-yx1b2vz2.js → repository-tq3hxdpy.js} +49 -49
- package/dist/chunks/{kv-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-06x8he3q.js → repository-tz4n1mmd.js} +4 -4
- package/dist/chunks/{kv-a08t2777.js → repository-v34has66.js} +11 -11
- package/dist/chunks/{kv-nafsrqg5.js → repository-v7rvz788.js} +27 -27
- package/dist/chunks/{kv-trvfwcf3.js → repository-vd9p42jh.js} +34 -34
- package/dist/chunks/{kv-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-9wjnegnz.js → repository-vyqn3nqs.js} +6 -6
- package/dist/chunks/{kv-231m2dt6.js → repository-vz71brqr.js} +6 -6
- package/dist/chunks/{kv-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-cz2808j2.js → repository-w48xm36n.js} +9 -9
- package/dist/chunks/{kv-7nmf5ssc.js → repository-w68crq9a.js} +24 -24
- package/dist/chunks/{kv-qdhh6c6w.js → repository-w6kysxt2.js} +7 -7
- package/dist/chunks/{kv-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{kv-axawr4n3.js → repository-wg3j617h.js} +15 -15
- package/dist/chunks/{kv-0fr0exqw.js → repository-wny5a0c2.js} +28 -28
- package/dist/chunks/{kv-qk0gpxf2.js → repository-wpm2rk0p.js} +6 -6
- package/dist/chunks/{kv-w61n6csx.js → repository-wt0zt129.js} +25 -25
- package/dist/chunks/{kv-fgh0kbhd.js → repository-wxyreeq2.js} +1 -1
- package/dist/chunks/{kv-nberrbqf.js → repository-x0nxw1am.js} +3 -3
- package/dist/chunks/{kv-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
- package/dist/chunks/{kv-barmx2sx.js → repository-xarast0t.js} +4 -4
- package/dist/chunks/{kv-pc89afeg.js → repository-xcq99e6n.js} +11 -11
- package/dist/chunks/{kv-f2tmy4z7.js → repository-xevndded.js} +23 -23
- package/dist/chunks/{kv-y6ttfmkw.js → repository-xqpzppg3.js} +16 -16
- package/dist/chunks/{kv-2w8771a9.js → repository-xz57177z.js} +46 -46
- package/dist/chunks/{kv-b2rq0zs9.js → repository-y0s3dbwc.js} +4 -4
- package/dist/chunks/{kv-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-s60tm16d.js → repository-y5qdajv2.js} +10 -10
- package/dist/chunks/{kv-pxt4kznk.js → repository-y6f0p4jw.js} +2 -2
- package/dist/chunks/{kv-y71avatq.js → repository-y71avatq.js} +1 -1
- package/dist/chunks/{kv-hbkrh4y4.js → repository-y8vfbp1t.js} +3 -3
- package/dist/chunks/{kv-0a9nes1v.js → repository-ydwbxywx.js} +15 -15
- package/dist/chunks/{kv-cd63sa4g.js → repository-ygm68jz5.js} +18 -18
- package/dist/chunks/{kv-jv01nqvq.js → repository-yjptyezs.js} +5 -5
- package/dist/chunks/{kv-1acjjqhc.js → repository-yp2x3t23.js} +4 -4
- package/dist/chunks/{kv-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-s4enseaf.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{kv-06c7t6vr.js → repository-yw2dvzw4.js} +13 -9
- package/dist/chunks/{kv-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-8cf7d7hg.js → repository-z399x6eb.js} +17 -17
- package/dist/chunks/{kv-29x78va6.js → repository-z63w68vq.js} +6 -6
- package/dist/chunks/{kv-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-wm3463ak.js → repository-zeqg0xp7.js} +25 -25
- package/dist/chunks/{kv-38zh3dk0.js → repository-zewav7xs.js} +15 -15
- package/dist/chunks/{kv-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-2m27ke96.js → repository-zx243jn3.js} +28 -28
- package/dist/chunks/{kv-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +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 +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +77 -77
- package/dist/instructions/builtins.js +78 -78
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- 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 +1 -1
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- 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 +80 -80
- package/dist/plugin/warming.js +110 -110
- 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 +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +107 -107
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +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/types/model-resolver.d.ts +2 -0
- package/dist/types/model.d.ts +1 -0
- package/dist/types/provider.d.ts +1 -0
- package/dist/types/session/runner/model.d.ts +1 -0
- package/dist/types/v1/config/migrate.d.ts +2 -0
- 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 +2 -2
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/kv-4zbw9bfp.js +0 -247
- package/dist/chunks/kv-619r8v3y.js +0 -18
- package/dist/chunks/kv-6kdq0pjd.js +0 -4
- /package/dist/chunks/{kv-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./repository-c5ws0z31.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-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: () => Input3,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin3,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name3
|
|
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 name3 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `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 Input3 = 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: Input3.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 Plugin3 = {
|
|
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* Service56;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name3,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input3,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin5 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name3,
|
|
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 { name3, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input3, Plugin3, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
node78
|
|
7
|
+
} from "./repository-w68crq9a.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service73,
|
|
17
|
+
node: () => node77,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service73 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service74;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service73.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [node78] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service73, readText2, syncTextBom2, node77, exports_file_mutation };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./repository-0chgf8x9.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin29
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin29 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service53;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
|
|
27
27
|
yield* ctx.catalog.transform((catalog) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin17 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin29, exports_policy };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./repository-02e0y54q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service20
|
|
6
|
+
} from "./repository-c08088rs.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make6
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make6 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service20;
|
|
24
|
+
const jobs = yield* Service42;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make5 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make6, exports_subagent_job };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service59
|
|
4
|
+
} from "./repository-q0efknh2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./repository-z399x6eb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service53
|
|
10
|
+
} from "./repository-0chgf8x9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service72,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-rm2yqhr0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service20
|
|
17
|
+
} from "./repository-c08088rs.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make6
|
|
20
|
+
} from "./repository-3a6d4gwd.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin30
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin30 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service53;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin16 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service76;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service72;
|
|
60
|
+
const sessions = yield* Service20;
|
|
61
|
+
const agents = yield* Service59;
|
|
62
|
+
const subagents = yield* make6;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin16 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin30, exports_command };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-2az9q9m5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node81
|
|
10
|
+
} from "./repository-z399x6eb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service56,
|
|
13
|
+
node59
|
|
14
|
+
} from "./repository-c5ws0z31.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service17,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node20,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service17 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service76;
|
|
61
|
+
const permission = yield* Service56;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service17.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node20 = makeLocationNode({ service: Service17, layer, deps: [FSUtil.node, node81, node59] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service17, resolvePath2, node20, exports_file_access };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./repository-w68crq9a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service73,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-343vvr6y.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./repository-wg3j617h.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service56
|
|
14
|
+
} from "./repository-c5ws0z31.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service17
|
|
17
|
+
} from "./repository-3r9tyhmb.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin12,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin12 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service17;
|
|
56
|
+
const fileMutation = yield* Service73;
|
|
57
|
+
const environment = yield* Service74;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service56;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output7, toModelContent6, Plugin12, exports_write };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./repository-xqpzppg3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service18,
|
|
6
|
+
Event3
|
|
7
|
+
} from "./repository-fmnw6ddm.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -14,8 +14,8 @@ import { Effect, Stream } from "effect";
|
|
|
14
14
|
var ModelsDevPlugin2 = define({
|
|
15
15
|
id: "opencode.models.dev",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
|
-
const modelsDev = yield*
|
|
18
|
-
const bus = yield*
|
|
17
|
+
const modelsDev = yield* Service18;
|
|
18
|
+
const bus = yield* Service79;
|
|
19
19
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
20
20
|
yield* ctx.integration.transform((integrations) => {
|
|
21
21
|
for (const provider of loaded.data) {
|
|
@@ -49,7 +49,7 @@ var ModelsDevPlugin2 = define({
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
|
-
yield* bus.subscribe(
|
|
52
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
55
|
function environmentNames(provider) {
|