@opencode/core 0.0.0-dev-19391 → 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 +81 -81
- 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/{git-s6h26ryx.js → repository-02e0y54q.js} +17 -17
- package/dist/chunks/{git-mexw47yp.js → repository-04fcbydd.js} +6 -6
- package/dist/chunks/{git-2f3d9t1j.js → repository-0chgf8x9.js} +46 -46
- package/dist/chunks/{git-t8g0rz63.js → repository-0h1dgn2a.js} +23 -23
- package/dist/chunks/{git-6k7qnnge.js → repository-0jvretd3.js} +13 -13
- package/dist/chunks/{git-gve6vxyf.js → repository-0n0mhreg.js} +27 -27
- package/dist/chunks/{git-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-5d0wqk5a.js → repository-0pcjts55.js} +59 -59
- package/dist/chunks/{git-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{git-qc5bn8wy.js → repository-0v13smbh.js} +11 -11
- package/dist/chunks/{git-zj4wpktz.js → repository-0wh211te.js} +16 -16
- package/dist/chunks/{git-jw59a53t.js → repository-11kz9drc.js} +22 -22
- package/dist/chunks/{git-gnn1fpcv.js → repository-17y9e0xf.js} +9 -9
- package/dist/chunks/{git-ep79ehza.js → repository-1ck6d65j.js} +16 -16
- package/dist/chunks/{git-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-7sdps93t.js → repository-1eyaby9q.js} +5 -5
- package/dist/chunks/{git-6420c4zj.js → repository-1h8056qn.js} +166 -166
- package/dist/chunks/{git-33yrb4zc.js → repository-1mr1b0wr.js} +33 -33
- package/dist/chunks/{git-bby00dsd.js → repository-1vtz46z8.js} +8 -8
- package/dist/chunks/{git-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{git-4rbykmww.js → repository-24tr1rny.js} +43 -43
- package/dist/chunks/{git-w1ad28wa.js → repository-2a4f6v5q.js} +8 -8
- package/dist/chunks/{git-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-dn02v3xn.js → repository-2az9q9m5.js} +23 -23
- package/dist/chunks/{git-y116a4zg.js → repository-2venq07n.js} +12 -12
- package/dist/chunks/{git-y1p1x618.js → repository-343vvr6y.js} +13 -13
- package/dist/chunks/{git-kkz4yv35.js → repository-37wraq67.js} +9 -9
- package/dist/chunks/{git-9gyd2w40.js → repository-39r80e1r.js} +1 -1
- package/dist/chunks/{git-0fgcnd78.js → repository-3a6d4gwd.js} +11 -11
- package/dist/chunks/{git-2qp6y8xf.js → repository-3cfzdc8e.js} +5 -5
- package/dist/chunks/{git-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-dh4vxs71.js → repository-3g5b63xy.js} +28 -28
- package/dist/chunks/{git-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-msn3ckcs.js → repository-3r9tyhmb.js} +18 -18
- package/dist/chunks/{git-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-2gnzn4g6.js → repository-3vaccfnm.js} +32 -32
- package/dist/chunks/{git-stzp5pqk.js → repository-45yvhxnf.js} +6 -6
- package/dist/chunks/{git-h5dbjsx9.js → repository-48974jce.js} +35 -35
- package/dist/chunks/{git-pck3w1ab.js → repository-49hrpkdk.js} +4 -4
- package/dist/chunks/{git-chg3p55r.js → repository-4hgtqqtz.js} +6 -6
- package/dist/chunks/{git-aezjx6de.js → repository-4hnbmwf5.js} +4 -4
- package/dist/chunks/{git-4y21m883.js → repository-4jfex6ks.js} +11 -11
- package/dist/chunks/{git-sgystvcz.js → repository-4jktxnha.js} +8 -8
- package/dist/chunks/{git-vqskmh9d.js → repository-4mtecjc1.js} +26 -26
- package/dist/chunks/{git-56gnm113.js → repository-4t0960ha.js} +10 -10
- package/dist/chunks/{git-z7wfm2nz.js → repository-4v5k2jq1.js} +21 -21
- package/dist/chunks/{git-stz96qh8.js → repository-4vbarqrf.js} +32 -32
- package/dist/chunks/repository-4yk32cn1.js +22 -0
- package/dist/chunks/{git-k304t88f.js → repository-54q2yb5y.js} +43 -43
- package/dist/chunks/{git-1ygqh575.js → repository-56gdpj1q.js} +9 -9
- package/dist/chunks/{git-jngqetej.js → repository-57vc1f1w.js} +26 -26
- package/dist/chunks/{git-5cvbs26k.js → repository-5a7jwez6.js} +41 -41
- package/dist/chunks/{git-q6mfqnjt.js → repository-5b0ze84y.js} +3 -3
- package/dist/chunks/{git-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{git-hb60fmtr.js → repository-5dczmsbe.js} +8 -8
- package/dist/chunks/{git-wgvbtfqc.js → repository-5qp0xphp.js} +25 -25
- package/dist/chunks/{git-3stj0jvq.js → repository-5sh276j6.js} +11 -11
- package/dist/chunks/{git-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{git-2402vzrj.js → repository-6h73sxmp.js} +5 -5
- package/dist/chunks/{git-6xy3x0mr.js → repository-6hhx0jg1.js} +27 -27
- package/dist/chunks/{git-79xankta.js → repository-6kgdg5m2.js} +17 -17
- package/dist/chunks/{git-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{git-2vrs9bvz.js → repository-6pmke597.js} +40 -40
- package/dist/chunks/{git-jxxmrcps.js → repository-6vjnk7fh.js} +9 -9
- package/dist/chunks/{git-mpnn67vs.js → repository-6yt6jtkp.js} +13 -13
- package/dist/chunks/{git-71q4at8m.js → repository-71q4at8m.js} +1 -1
- package/dist/chunks/{git-dng8y5a3.js → repository-77e0zb3k.js} +18 -18
- package/dist/chunks/{git-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-7xvabjvw.js → repository-7ebdzj7v.js} +27 -27
- package/dist/chunks/{git-qr42g2ex.js → repository-7g7rfx25.js} +12 -12
- package/dist/chunks/{git-e2wxm4gs.js → repository-7y5q31fh.js} +71 -71
- package/dist/chunks/{git-81swgkk7.js → repository-81swgkk7.js} +2 -2
- package/dist/chunks/{git-971xr3xt.js → repository-85jhkfmq.js} +7 -7
- package/dist/chunks/{git-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-qkhbq9gn.js → repository-8j0ymjpm.js} +23 -23
- package/dist/chunks/{git-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
- package/dist/chunks/{git-fkxhr6rb.js → repository-8vtetfvn.js} +27 -27
- package/dist/chunks/{git-fkzsndak.js → repository-8x8j0yap.js} +7 -7
- package/dist/chunks/{git-dn5grvbk.js → repository-919rdka5.js} +25 -25
- package/dist/chunks/{git-rf04hjb3.js → repository-93v0v8g0.js} +32 -32
- package/dist/chunks/{git-1zbe0hwx.js → repository-98k43r7d.js} +27 -27
- package/dist/chunks/{git-7yd68jh1.js → repository-9hm1nb7k.js} +20 -20
- package/dist/chunks/{git-nn6nb4dq.js → repository-9s7jgwbd.js} +13 -13
- package/dist/chunks/{git-rernzhsx.js → repository-9tvhpt1h.js} +37 -37
- package/dist/chunks/{git-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
- package/dist/chunks/{git-cm4cwf14.js → repository-a29n1zs3.js} +9 -9
- package/dist/chunks/{git-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{git-8g26s1rr.js → repository-ab1rm27r.js} +14 -14
- package/dist/chunks/{git-v87fc2n4.js → repository-aeh5fpw2.js} +35 -35
- package/dist/chunks/{git-yzejvhvn.js → repository-aggqyzrf.js} +6 -6
- package/dist/chunks/{git-68fh3z7z.js → repository-anrzzgjr.js} +20 -20
- package/dist/chunks/{git-a3vgeg8v.js → repository-ar3kqjsa.js} +20 -20
- package/dist/chunks/{git-vzm76b3t.js → repository-asn1qnte.js} +6 -6
- package/dist/chunks/{git-a4exdnt3.js → repository-b17kd43r.js} +4 -4
- package/dist/chunks/{git-nwd3ssra.js → repository-b1h1c68h.js} +11 -11
- package/dist/chunks/{git-f9bavhm2.js → repository-b47t4zxj.js} +1 -1
- package/dist/chunks/{git-cb0b94q1.js → repository-b67qqecp.js} +11 -11
- package/dist/chunks/{git-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-hfdr1yjj.js → repository-bajakh74.js} +4 -4
- package/dist/chunks/{git-gvphacjb.js → repository-bfhmxbp5.js} +12 -12
- package/dist/chunks/{git-ssybtts3.js → repository-bpf5xa8r.js} +6 -6
- package/dist/chunks/{git-wfeyvemf.js → repository-bragb0zt.js} +11 -11
- package/dist/chunks/{git-nhvhf6q8.js → repository-bv56xrks.js} +2 -2
- package/dist/chunks/{git-8fjt75y9.js → repository-bx51kgqc.js} +20 -20
- package/dist/chunks/{git-9smnhnck.js → repository-c08088rs.js} +92 -92
- package/dist/chunks/{git-xsz6vv8y.js → repository-c5ws0z31.js} +62 -62
- package/dist/chunks/{git-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
- package/dist/chunks/{git-mcq2hdeb.js → repository-cjdhxnc7.js} +28 -28
- package/dist/chunks/{git-8bdgxx6d.js → repository-cqmjdmfy.js} +37 -37
- package/dist/chunks/{git-f90chkmn.js → repository-cr07tj7n.js} +5 -5
- package/dist/chunks/{git-v6xr4mhk.js → repository-crptryd9.js} +9 -9
- package/dist/chunks/{git-967tbwmz.js → repository-cv1c066y.js} +44 -44
- package/dist/chunks/{git-wa88tsz1.js → repository-cw5vx56j.js} +36 -36
- package/dist/chunks/{git-7by8wea0.js → repository-cwsfv75g.js} +5 -5
- package/dist/chunks/{git-q26tgv94.js → repository-cxv3b682.js} +8 -8
- package/dist/chunks/{git-znt1ym30.js → repository-d1yx4qwh.js} +9 -9
- package/dist/chunks/{git-3cxhyqx9.js → repository-d2t4pj3k.js} +24 -24
- package/dist/chunks/{git-9p3a0bey.js → repository-d3j72vaa.js} +7 -7
- package/dist/chunks/{git-2evyaa68.js → repository-d8nc1xcx.js} +4 -4
- package/dist/chunks/{git-57rb2d2p.js → repository-ddbrkqgx.js} +18 -18
- package/dist/chunks/{git-6ht6hv3f.js → repository-depcwyj9.js} +24 -24
- package/dist/chunks/{git-f1afprnz.js → repository-dk4nfg5s.js} +10 -10
- package/dist/chunks/repository-dxj72tfx.js +18 -0
- package/dist/chunks/{git-5jtdmvnp.js → repository-e0g3hjre.js} +1 -1
- package/dist/chunks/{git-60ng23p3.js → repository-e275mf5g.js} +4 -4
- package/dist/chunks/{git-z8kcrd6j.js → repository-e2q75spx.js} +18 -18
- package/dist/chunks/{git-n776arpk.js → repository-e6z046pm.js} +11 -11
- package/dist/chunks/{git-qe26s0zb.js → repository-eeaf82dq.js} +8 -8
- package/dist/chunks/{git-5n9f6zmz.js → repository-epg4pcgt.js} +6 -6
- package/dist/chunks/{git-99j83k2z.js → repository-es5b1610.js} +10 -10
- package/dist/chunks/{git-4cp288bt.js → repository-es9es8em.js} +92 -92
- package/dist/chunks/{git-k79tzb9n.js → repository-esj243wz.js} +9 -9
- package/dist/chunks/{git-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-f828m53h.js → repository-f828m53h.js} +2 -2
- package/dist/chunks/{git-v8ch97zc.js → repository-fa6dyqja.js} +1 -1
- package/dist/chunks/{git-at5d07az.js → repository-fdv30zvt.js} +7 -7
- package/dist/chunks/{git-hsbe2v8d.js → repository-fmnw6ddm.js} +28 -28
- package/dist/chunks/{git-4x81xeqa.js → repository-fpvgn4t1.js} +11 -11
- package/dist/chunks/{git-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{git-2d6j2h4j.js → repository-fy497h6e.js} +8 -8
- package/dist/chunks/{git-kp844bkx.js → repository-fyjrpq2n.js} +11 -11
- package/dist/chunks/{git-qr27hz8v.js → repository-fz21q8me.js} +4 -4
- package/dist/chunks/{git-yx8yz41b.js → repository-g2ttgsev.js} +41 -41
- package/dist/chunks/{git-0sgtxrs8.js → repository-g5yyevqf.js} +4 -4
- package/dist/chunks/{git-jy16bfac.js → repository-gbtq0qkg.js} +1 -1
- package/dist/chunks/{git-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-7hsf2613.js → repository-gf1vyzcg.js} +12 -12
- package/dist/chunks/{git-31dz7cp4.js → repository-gfwf98p3.js} +1 -1
- package/dist/chunks/{git-1k8wtqrp.js → repository-gpe6jd74.js} +8 -8
- package/dist/chunks/{git-wvgmydwz.js → repository-gr925e17.js} +5 -5
- package/dist/chunks/{git-th5km1p3.js → repository-gv6a8nnw.js} +5 -5
- package/dist/chunks/{git-y5rc9adv.js → repository-gxcjkrww.js} +299 -299
- package/dist/chunks/{git-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
- package/dist/chunks/{git-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-mrem20pc.js → repository-h72eb9sx.js} +30 -30
- package/dist/chunks/{git-fxm9f60t.js → repository-ha2ymhej.js} +16 -16
- package/dist/chunks/{git-80e0yyk8.js → repository-hc5nrc85.js} +14 -14
- package/dist/chunks/{git-nhy5jxhy.js → repository-hjt4xg1x.js} +4 -4
- package/dist/chunks/{git-wttsyvcc.js → repository-hkwasy14.js} +24 -24
- package/dist/chunks/{git-43710w3q.js → repository-htdwccg2.js} +9 -9
- package/dist/chunks/{git-53nby2n7.js → repository-hzy2m5kh.js} +22 -22
- package/dist/chunks/{git-p0n6b7j7.js → repository-j4jvep9r.js} +18 -18
- package/dist/chunks/{git-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{git-8234338a.js → repository-j7as52rv.js} +18 -18
- package/dist/chunks/{git-9edcvf27.js → repository-jefma2gq.js} +10 -10
- package/dist/chunks/{git-v4b36nj3.js → repository-jfkc9b5n.js} +2 -2
- package/dist/chunks/{git-drknmmyh.js → repository-jx8g4evx.js} +9 -9
- package/dist/chunks/{git-q3hev8r4.js → repository-jxn3d5qw.js} +2 -2
- package/dist/chunks/{git-gyeht8yw.js → repository-jz8tty61.js} +15 -15
- package/dist/chunks/{git-sfv52yq4.js → repository-k5f8wpb1.js} +16 -16
- package/dist/chunks/{git-5c7438wj.js → repository-k7z88jgs.js} +19 -19
- package/dist/chunks/{git-5a1z0ner.js → repository-ka539jxw.js} +13 -13
- package/dist/chunks/{git-wxqedpd9.js → repository-kbep69gp.js} +43 -43
- package/dist/chunks/{git-wnpvrkxy.js → repository-kedqt550.js} +24 -24
- package/dist/chunks/{git-5a7skn1d.js → repository-kf2529h4.js} +35 -35
- package/dist/chunks/{git-kg06axw8.js → repository-kg06axw8.js} +1 -1
- package/dist/chunks/{git-7yfaff3y.js → repository-kg0jjcwj.js} +11 -11
- package/dist/chunks/{git-00fexjy9.js → repository-kj13mq9d.js} +45 -45
- package/dist/chunks/{git-5fbvx1w6.js → repository-kq4ab4h1.js} +1 -1
- package/dist/chunks/{git-gk8mfka9.js → repository-kr4ape1v.js} +23 -23
- package/dist/chunks/{git-dr9j5dyg.js → repository-m06pgbf8.js} +31 -31
- package/dist/chunks/{git-f4wfpfa2.js → repository-m3rgfk03.js} +9 -9
- package/dist/chunks/{git-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-zepncfka.js → repository-magykp64.js} +21 -21
- package/dist/chunks/{git-e49xbsfe.js → repository-majq4y6w.js} +18 -18
- package/dist/chunks/{git-1ah30sey.js → repository-mbchyd0s.js} +5 -5
- package/dist/chunks/{git-hrndf12w.js → repository-mfhfdr54.js} +4 -4
- package/dist/chunks/{git-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
- package/dist/chunks/{git-07q9q0s0.js → repository-mpshf1ye.js} +5 -5
- package/dist/chunks/{git-tqckr4z0.js → repository-mq52b90g.js} +13 -13
- package/dist/chunks/{git-mhkvc446.js → repository-mvfsc1pv.js} +3 -3
- package/dist/chunks/{git-r66r7cmm.js → repository-nhdt7g4d.js} +15 -15
- package/dist/chunks/{git-5skvzk75.js → repository-nkdjhhay.js} +33 -33
- package/dist/chunks/{git-7547p87k.js → repository-nr8cezy4.js} +5 -5
- package/dist/chunks/{git-0t098hqn.js → repository-nrk5vjbf.js} +5 -5
- package/dist/chunks/{git-zbynka28.js → repository-ns2b79zq.js} +24 -24
- package/dist/chunks/{git-6jqkynh6.js → repository-nsgsffy1.js} +11 -11
- package/dist/chunks/{git-et1r2jf6.js → repository-p5t1en88.js} +15 -15
- package/dist/chunks/{git-sgy72gpz.js → repository-p5vq1h1x.js} +32 -32
- package/dist/chunks/{git-6gekrhsf.js → repository-p8jw0zjb.js} +6 -6
- package/dist/chunks/repository-p9zbhqep.js +247 -0
- package/dist/chunks/{git-j935v87r.js → repository-paphc93g.js} +2 -2
- package/dist/chunks/{git-0m9zqasy.js → repository-pe4p92xe.js} +15 -15
- package/dist/chunks/{git-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{git-cybh4q4m.js → repository-ppr425jm.js} +19 -19
- package/dist/chunks/{git-bj18y5e0.js → repository-ppzcs5qe.js} +24 -24
- package/dist/chunks/{git-cz8ja6bv.js → repository-pxv8awr7.js} +30 -30
- package/dist/chunks/{git-17rjwhd8.js → repository-q0efknh2.js} +27 -27
- package/dist/chunks/{git-azt3fn9h.js → repository-q5sgvk0q.js} +11 -11
- package/dist/chunks/{git-b2x839n7.js → repository-q9y68wbv.js} +8 -8
- package/dist/chunks/{git-5rcfzxhb.js → repository-qfhza6js.js} +11 -11
- package/dist/chunks/{git-fcrkznn8.js → repository-qgn6gcr1.js} +5 -5
- package/dist/chunks/{git-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/repository-qtvmxc8s.js +4 -0
- package/dist/chunks/{git-rjrt7vbj.js → repository-r2rry8w2.js} +14 -14
- package/dist/chunks/{git-1tq060df.js → repository-r33ff4dw.js} +4 -4
- package/dist/chunks/{git-m1qcsqkx.js → repository-r3pdfb8a.js} +27 -27
- package/dist/chunks/{git-n7t5qjpz.js → repository-rm2yqhr0.js} +19 -19
- package/dist/chunks/{git-8ey0tjev.js → repository-s3fhdh3x.js} +18 -18
- package/dist/chunks/{git-9v94xm60.js → repository-s644107t.js} +2 -2
- package/dist/chunks/{git-sv9bpgvh.js → repository-s7hhpcvx.js} +5 -5
- package/dist/chunks/{git-7r4pq86q.js → repository-s7zz1j9y.js} +30 -30
- package/dist/chunks/{git-1a6p2twq.js → repository-sx1n432n.js} +4 -4
- package/dist/chunks/{git-p1wf2k30.js → repository-t0x5rdq8.js} +9 -9
- package/dist/chunks/{git-s8d7rejh.js → repository-t550f9t1.js} +4 -4
- package/dist/chunks/{git-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{git-cyj3cv9r.js → repository-tjq77wbb.js} +20 -20
- package/dist/chunks/{git-5gfn8sdf.js → repository-tq3hxdpy.js} +51 -51
- package/dist/chunks/{git-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{git-ca7w653e.js → repository-tz4n1mmd.js} +4 -4
- package/dist/chunks/{git-wk2zc65r.js → repository-v34has66.js} +11 -11
- package/dist/chunks/{git-hc0zr8pa.js → repository-v7rvz788.js} +29 -29
- package/dist/chunks/{git-epqeryd2.js → repository-vd9p42jh.js} +34 -34
- package/dist/chunks/{git-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{git-t4pzxwv6.js → repository-vyqn3nqs.js} +7 -7
- package/dist/chunks/{git-k0zzqzfm.js → repository-vz71brqr.js} +6 -6
- package/dist/chunks/{git-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-nmv7fedf.js → repository-w48xm36n.js} +9 -9
- package/dist/chunks/{git-6c0cft2p.js → repository-w68crq9a.js} +24 -24
- package/dist/chunks/{git-prp4t9gw.js → repository-w6kysxt2.js} +6 -6
- package/dist/chunks/{git-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{git-8n0zdm8f.js → repository-wg3j617h.js} +18 -18
- package/dist/chunks/{git-9kqp7g4a.js → repository-wny5a0c2.js} +24 -24
- package/dist/chunks/{git-r3q6pmcz.js → repository-wpm2rk0p.js} +6 -6
- package/dist/chunks/{git-b7zanwxg.js → repository-wt0zt129.js} +18 -18
- package/dist/chunks/{git-qmr73083.js → repository-wxyreeq2.js} +1 -1
- package/dist/chunks/{git-bvqzzpnc.js → repository-x0nxw1am.js} +5 -5
- package/dist/chunks/{git-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
- package/dist/chunks/{git-7verde8t.js → repository-xarast0t.js} +4 -4
- package/dist/chunks/{git-sexm24t3.js → repository-xcq99e6n.js} +11 -11
- package/dist/chunks/{git-tcxw2wsh.js → repository-xevndded.js} +18 -18
- package/dist/chunks/{git-xcmxfd3t.js → repository-xqpzppg3.js} +16 -16
- package/dist/chunks/{git-rpk3p4vp.js → repository-xz57177z.js} +46 -46
- package/dist/chunks/{git-xaxrq1k6.js → repository-y0s3dbwc.js} +4 -4
- package/dist/chunks/{git-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-h3ekzffn.js → repository-y5qdajv2.js} +10 -10
- package/dist/chunks/{git-dv250zvr.js → repository-y6f0p4jw.js} +3 -3
- package/dist/chunks/{git-dpkg50ah.js → repository-y71avatq.js} +4 -4
- package/dist/chunks/{git-saq61fd1.js → repository-y8vfbp1t.js} +3 -3
- package/dist/chunks/{git-mf8gs4da.js → repository-ydwbxywx.js} +18 -18
- package/dist/chunks/{git-81btcj5e.js → repository-ygm68jz5.js} +16 -16
- package/dist/chunks/{git-qte5z7bc.js → repository-yjptyezs.js} +5 -5
- package/dist/chunks/{git-f2n192rq.js → repository-yp2x3t23.js} +4 -4
- package/dist/chunks/{git-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-s4enseaf.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{git-fp7bntjd.js → repository-yw2dvzw4.js} +9 -9
- package/dist/chunks/{git-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-ezys8rkd.js → repository-z399x6eb.js} +14 -14
- package/dist/chunks/{git-29x78va6.js → repository-z63w68vq.js} +6 -6
- package/dist/chunks/{git-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{git-zf4p5794.js → repository-zeqg0xp7.js} +19 -19
- package/dist/chunks/{git-fbxzb085.js → repository-zewav7xs.js} +20 -20
- package/dist/chunks/{git-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-7t2bfs77.js → repository-zx243jn3.js} +28 -28
- package/dist/chunks/{git-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +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 +81 -81
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +79 -79
- 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 +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +78 -78
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- 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 +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +101 -101
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +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 +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 +83 -83
- package/dist/websearch.js +78 -78
- 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 +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/git-6kdq0pjd.js +0 -4
- package/dist/chunks/git-d7szvhg8.js +0 -247
- package/dist/chunks/git-q509s3k3.js +0 -18
- package/dist/chunks/git-wqy8zhmg.js +0 -22
- /package/dist/chunks/{git-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{git-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./repository-bragb0zt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./repository-xqpzppg3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service37
|
|
9
|
+
} from "./repository-asn1qnte.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError5,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-6vjnk7fh.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service57
|
|
29
|
+
} from "./repository-ppr425jm.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service36
|
|
34
|
+
} from "./repository-919rdka5.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service34
|
|
37
|
+
} from "./repository-5a7jwez6.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./repository-ha2ymhej.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./repository-5qp0xphp.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./repository-d1yx4qwh.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./repository-w48xm36n.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./repository-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make13
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
67
|
-
const database = yield*
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
65
|
+
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service79;
|
|
67
|
+
const database = yield* Service80;
|
|
68
|
+
const store = yield* Service57;
|
|
69
|
+
const instances = yield* Service37;
|
|
70
|
+
const execution = yield* Service34;
|
|
71
|
+
const admission = yield* Service36;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError5({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -127,7 +127,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
127
127
|
});
|
|
128
128
|
if (existing)
|
|
129
129
|
return existing;
|
|
130
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
130
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service37, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
131
131
|
if (session.revert)
|
|
132
132
|
yield* commit2(bus, session);
|
|
133
133
|
return yield* admission.admit({
|
|
@@ -143,7 +143,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
143
143
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
144
144
|
const session = yield* get(sessionID);
|
|
145
145
|
const running = yield* Effect.gen(function* () {
|
|
146
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
146
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service37, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
147
147
|
text: `User shell command failed to start:
|
|
148
148
|
${input.command}
|
|
149
149
|
|
|
@@ -172,7 +172,7 @@ ${error.message}`,
|
|
|
172
172
|
});
|
|
173
173
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
174
174
|
const session = yield* get(sessionID);
|
|
175
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
175
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service37, instances));
|
|
176
176
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
177
177
|
sessionID,
|
|
178
178
|
id: skill.id,
|
|
@@ -229,13 +229,13 @@ ${error.message}`,
|
|
|
229
229
|
const session = yield* get(sessionID);
|
|
230
230
|
if (yield* execution.isActive(sessionID))
|
|
231
231
|
return yield* new BusyError2({ sessionID });
|
|
232
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
232
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
|
|
233
233
|
});
|
|
234
234
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
235
235
|
const session = yield* get(sessionID);
|
|
236
236
|
if (yield* execution.isActive(sessionID))
|
|
237
237
|
return yield* new BusyError2({ sessionID });
|
|
238
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
238
|
+
yield* clear2(session).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service79, bus));
|
|
239
239
|
return yield* execution.wake(sessionID);
|
|
240
240
|
});
|
|
241
241
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -315,4 +315,4 @@ ${error.message}`,
|
|
|
315
315
|
return { forSession };
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
export {
|
|
318
|
+
export { make13, exports_session2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info9,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info9 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info9, exports_mcp5 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service6,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service6.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node9 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service6, node9, exports_discovery };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node84
|
|
7
|
+
} from "./repository-xqpzppg3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service64,
|
|
11
|
+
node68
|
|
12
|
+
} from "./repository-1mr1b0wr.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service76,
|
|
15
|
+
node81
|
|
16
|
+
} from "./repository-z399x6eb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service74,
|
|
19
|
+
node78
|
|
20
|
+
} from "./repository-w68crq9a.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
ID12,
|
|
23
|
+
Service63,
|
|
24
24
|
node67
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-7ebdzj7v.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID11,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
33
|
+
Service62,
|
|
34
34
|
node66
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-0n0mhreg.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service32,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
65
|
configured: () => configured4,
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
66
|
+
layer: () => layer14,
|
|
67
|
+
node: () => node36
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID11.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
170
|
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -173,13 +173,13 @@ var Options4 = Schema.Struct({
|
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
176
|
+
var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service76;
|
|
178
|
+
const environment = yield* Service74;
|
|
179
|
+
const bus = yield* Service79;
|
|
180
|
+
const forms = yield* Service63;
|
|
181
|
+
const integration = yield* Service62;
|
|
182
|
+
const credentials = yield* Service64;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID11.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -315,7 +315,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID12.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service74, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service32.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -709,12 +709,12 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
709
709
|
}));
|
|
710
710
|
function configured4(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service32,
|
|
713
|
+
layer: layer14(options),
|
|
714
|
+
deps: [node81, node78, node84, node67, node66, node68]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node36 = configured4();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service32, Options4, layer14, configured4, node36, exports_mcp4 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service50
|
|
11
|
-
} from "./git-6c0cft2p.js";
|
|
7
|
+
Service76
|
|
8
|
+
} from "./repository-z399x6eb.js";
|
|
12
9
|
import {
|
|
13
10
|
Service74
|
|
14
|
-
} from "./
|
|
11
|
+
} from "./repository-w68crq9a.js";
|
|
12
|
+
import {
|
|
13
|
+
Service13
|
|
14
|
+
} from "./repository-wg3j617h.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service73,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-343vvr6y.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service56
|
|
22
|
+
} from "./repository-c5ws0z31.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service17,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-3r9tyhmb.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin5,
|
|
42
|
+
name: () => name5,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name5 = "patch";
|
|
89
|
+
var Input5 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin5 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service74;
|
|
112
|
+
const access = yield* Service17;
|
|
113
|
+
const fileMutation = yield* Service73;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service76;
|
|
116
|
+
const permission = yield* Service56;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin27 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name5, Input5, Applied2, Output2, toModelContent2, Plugin5, exports_patch };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./repository-z399x6eb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service76;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service10,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node13
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service10 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node13 = makeLocationNode({
|
|
19
|
+
service: Service10,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service10, Service10.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service10, node13, bound2, exports_instance2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./repository-asn1qnte.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-dxj72tfx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./repository-tq3hxdpy.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service37;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|