@opencode/core 0.0.0-dev-20067 → 0.0.0-dev-20069
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-9e0shq8y.js → ripgrep-0ayx05qh.js} +2 -2
- package/dist/chunks/{repository-9cz3xmmc.js → ripgrep-0mgs0snk.js} +20 -20
- package/dist/chunks/{repository-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-5ah4ptg6.js → ripgrep-0w5b0zhk.js} +21 -21
- package/dist/chunks/{repository-hz151azf.js → ripgrep-12samabn.js} +13 -13
- package/dist/chunks/{repository-p37cw4rj.js → ripgrep-1ajx6rf5.js} +8 -8
- package/dist/chunks/{repository-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-40dfcbtc.js → ripgrep-1se9s7cd.js} +1 -1
- package/dist/chunks/{repository-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{repository-bwyp434w.js → ripgrep-22159n9k.js} +11 -11
- package/dist/chunks/{repository-6h73sxmp.js → ripgrep-2402vzrj.js} +5 -5
- package/dist/chunks/{repository-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-h2qs67km.js → ripgrep-2hr23n0w.js} +9 -9
- package/dist/chunks/{repository-nxc66smq.js → ripgrep-2hr6k3wd.js} +15 -15
- package/dist/chunks/{repository-9dkxgaaz.js → ripgrep-2sdtchw9.js} +10 -10
- package/dist/chunks/{repository-wrtzz9dy.js → ripgrep-310pygx3.js} +21 -21
- package/dist/chunks/{repository-zfjfs7fw.js → ripgrep-3133pbgg.js} +30 -30
- package/dist/chunks/{repository-a7ya2t55.js → ripgrep-314cfvev.js} +4 -4
- package/dist/chunks/{repository-67rsx3vb.js → ripgrep-3exhk902.js} +24 -24
- package/dist/chunks/{repository-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-t2rxy3d5.js → ripgrep-3h0mkt05.js} +32 -32
- package/dist/chunks/{repository-9f40cav3.js → ripgrep-3h6g4yxf.js} +14 -14
- package/dist/chunks/{repository-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-es9eybw2.js → ripgrep-3j5kzqk4.js} +11 -11
- package/dist/chunks/{repository-rph3zd4r.js → ripgrep-3k6sfp50.js} +6 -6
- package/dist/chunks/{repository-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-bayr7sdc.js → ripgrep-3zca3at5.js} +7 -7
- package/dist/chunks/{repository-5qedxm44.js → ripgrep-3zjyq5kp.js} +9 -9
- package/dist/chunks/{repository-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-mwwxnxty.js → ripgrep-44pdqs77.js} +4 -4
- package/dist/chunks/{repository-672f612c.js → ripgrep-45xdrqn4.js} +43 -43
- package/dist/chunks/{repository-1e86tkh9.js → ripgrep-4dnzmhzq.js} +11 -11
- package/dist/chunks/{repository-05nshcdg.js → ripgrep-4e766vfh.js} +24 -24
- package/dist/chunks/{repository-nayt11ps.js → ripgrep-4k1416er.js} +6 -6
- package/dist/chunks/{repository-a1nprqvr.js → ripgrep-4qg5r729.js} +11 -11
- package/dist/chunks/{repository-g4fxz0gt.js → ripgrep-4y23n6zb.js} +29 -29
- package/dist/chunks/{repository-rb1ekxdp.js → ripgrep-518fy5x0.js} +42 -42
- package/dist/chunks/{repository-ckecvw8r.js → ripgrep-54tcyq79.js} +2 -2
- package/dist/chunks/{repository-hbehhpwg.js → ripgrep-55ec8s4g.js} +36 -36
- package/dist/chunks/{repository-56gdpj1q.js → ripgrep-56gdpj1q.js} +2 -2
- package/dist/chunks/{repository-rrqraew9.js → ripgrep-57ez7d0k.js} +9 -9
- package/dist/chunks/{repository-vka4dmj0.js → ripgrep-5a5dg86c.js} +16 -16
- package/dist/chunks/{repository-mtjp9z6s.js → ripgrep-5az6qf77.js} +14 -14
- package/dist/chunks/{repository-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-mgdyehf1.js → ripgrep-5df7hbgb.js} +28 -28
- package/dist/chunks/{repository-5ekn9679.js → ripgrep-5ekn9679.js} +1 -1
- package/dist/chunks/{repository-srfhtv6w.js → ripgrep-5jcjmpah.js} +9 -9
- package/dist/chunks/{repository-trfxp1r8.js → ripgrep-5q70a6nc.js} +17 -17
- package/dist/chunks/{repository-e3qxr5gk.js → ripgrep-5qd3pb7m.js} +2 -2
- package/dist/chunks/{repository-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-kgeqhxvw.js → ripgrep-5wbzy8nn.js} +11 -11
- package/dist/chunks/{repository-qgn6gcr1.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{repository-pgrpmprb.js → ripgrep-63p6tvjf.js} +11 -11
- package/dist/chunks/{repository-0rr436fd.js → ripgrep-65eqnm58.js} +12 -12
- package/dist/chunks/{repository-0e3mg8wg.js → ripgrep-65rfk13t.js} +24 -24
- package/dist/chunks/{repository-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{repository-pgej9n36.js → ripgrep-66m6eh7j.js} +18 -18
- package/dist/chunks/{repository-faxz800z.js → ripgrep-68y7phbn.js} +12 -12
- package/dist/chunks/{repository-7yscfpph.js → ripgrep-6ae9v3b9.js} +7 -7
- package/dist/chunks/{repository-x7zswy26.js → ripgrep-6e4b4bvx.js} +11 -11
- package/dist/chunks/{repository-vftkj9v3.js → ripgrep-6j042nns.js} +14 -14
- package/dist/chunks/{repository-cm70vevn.js → ripgrep-6jqke6p8.js} +9 -9
- package/dist/chunks/{repository-f90zn7ca.js → ripgrep-6kxxvxy9.js} +4 -4
- package/dist/chunks/{repository-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-gwp4cf3v.js → ripgrep-6npe6m7n.js} +34 -34
- package/dist/chunks/{repository-gwmntvvs.js → ripgrep-6rww2kbq.js} +37 -37
- package/dist/chunks/{repository-g2066sd0.js → ripgrep-6v1ffft6.js} +9 -9
- package/dist/chunks/{repository-9btcgg48.js → ripgrep-6whh3zwz.js} +35 -35
- package/dist/chunks/{repository-fg50bsfr.js → ripgrep-6xakybcw.js} +16 -16
- package/dist/chunks/{repository-g9qh6fen.js → ripgrep-6ypqnq6y.js} +8 -8
- package/dist/chunks/{repository-cng14k4f.js → ripgrep-72bztqfg.js} +33 -33
- package/dist/chunks/{repository-51bq5gc4.js → ripgrep-75j187sy.js} +10 -10
- package/dist/chunks/{repository-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-yz4vzcv9.js → ripgrep-7pj4hm0p.js} +17 -17
- package/dist/chunks/{repository-pnqe9gv0.js → ripgrep-7tgakezr.js} +1 -1
- package/dist/chunks/{repository-x5x7d8yk.js → ripgrep-7tr6rhhd.js} +10 -10
- package/dist/chunks/{repository-mvfsc1pv.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{repository-tx02rs4k.js → ripgrep-7zszha7m.js} +34 -34
- package/dist/chunks/{repository-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{repository-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-bd3nb3vt.js → ripgrep-8n3vm8hr.js} +8 -8
- package/dist/chunks/{repository-n2ahj3nb.js → ripgrep-8vk5gx22.js} +18 -18
- package/dist/chunks/{repository-t0sqncza.js → ripgrep-94s48bjb.js} +5 -5
- package/dist/chunks/{repository-8czqb76g.js → ripgrep-95en9f50.js} +16 -16
- package/dist/chunks/{repository-vtxr0yy2.js → ripgrep-9cyfspf3.js} +5 -5
- package/dist/chunks/{repository-5re94sxb.js → ripgrep-9h8yadab.js} +7 -7
- package/dist/chunks/{repository-bwe1n6j9.js → ripgrep-9jscrgm8.js} +10 -10
- package/dist/chunks/{repository-xbw2xfj9.js → ripgrep-9kdsp20r.js} +3 -3
- package/dist/chunks/{repository-k5dsc5hs.js → ripgrep-9q81rv62.js} +9 -9
- package/dist/chunks/{repository-dxz6h2zt.js → ripgrep-9r7rpdpb.js} +5 -5
- package/dist/chunks/{repository-hngsf9ze.js → ripgrep-9yp3a3kk.js} +24 -24
- package/dist/chunks/ripgrep-9zdhvgqs.js +18 -0
- package/dist/chunks/{repository-1d8ygdpn.js → ripgrep-a4ddpw0g.js} +24 -24
- package/dist/chunks/{repository-8hgfhrm0.js → ripgrep-a68v6zx7.js} +11 -11
- package/dist/chunks/{repository-actq9frn.js → ripgrep-a7e8yba8.js} +15 -15
- package/dist/chunks/{repository-25rd3h41.js → ripgrep-a82wvf7y.js} +45 -45
- package/dist/chunks/{repository-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-7s2tn799.js → ripgrep-ahd542yp.js} +8 -8
- package/dist/chunks/{repository-ff0svapt.js → ripgrep-ak8wweg5.js} +2 -2
- package/dist/chunks/{repository-vxzf7v58.js → ripgrep-ak95znyc.js} +5 -5
- package/dist/chunks/{repository-72p6r3xc.js → ripgrep-aqc2n7k1.js} +13 -13
- package/dist/chunks/{repository-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-nz569jqt.js → ripgrep-b7b4ctej.js} +5 -5
- package/dist/chunks/{repository-15rr61m4.js → ripgrep-bc17a4yt.js} +13 -13
- package/dist/chunks/{repository-r98e92ep.js → ripgrep-bct739vz.js} +4 -4
- package/dist/chunks/{repository-z07pqspn.js → ripgrep-bjtzbw4r.js} +3 -3
- package/dist/chunks/{repository-gby7h8ab.js → ripgrep-btdn1fj9.js} +6 -6
- package/dist/chunks/{repository-m1fqb20v.js → ripgrep-c13e6esw.js} +3 -3
- package/dist/chunks/{repository-855aw91c.js → ripgrep-c6smxwme.js} +18 -18
- package/dist/chunks/{repository-gtckgk66.js → ripgrep-c765aa0m.js} +12 -12
- package/dist/chunks/{repository-bmhahcnt.js → ripgrep-c8fzc5kk.js} +3 -3
- package/dist/chunks/{repository-9h1eecz9.js → ripgrep-ccgx1agb.js} +87 -87
- package/dist/chunks/{repository-kb4rpjaq.js → ripgrep-cczmq9j9.js} +313 -313
- package/dist/chunks/{repository-3s43hn5t.js → ripgrep-csmmbkrn.js} +1 -1
- package/dist/chunks/{repository-r2m716tb.js → ripgrep-cwa6csj7.js} +9 -9
- package/dist/chunks/{repository-jdzrt0z1.js → ripgrep-cyzqg38g.js} +24 -24
- package/dist/chunks/{repository-zvt5dnpc.js → ripgrep-dhmh7aw6.js} +4 -4
- package/dist/chunks/{repository-y71avatq.js → ripgrep-dpkg50ah.js} +4 -4
- package/dist/chunks/{repository-4nddn0b6.js → ripgrep-dq0k2458.js} +3 -3
- package/dist/chunks/{repository-0vecsj11.js → ripgrep-dqr0m1y5.js} +10 -10
- package/dist/chunks/{repository-285t386e.js → ripgrep-drsj7rnm.js} +42 -42
- package/dist/chunks/{repository-xfkkasph.js → ripgrep-drwq78ky.js} +4 -4
- package/dist/chunks/{repository-rp43rah6.js → ripgrep-dwkyy60h.js} +12 -12
- package/dist/chunks/{repository-115t4k1h.js → ripgrep-e37h8kwf.js} +12 -12
- package/dist/chunks/{repository-kjfdeayr.js → ripgrep-e7710hd6.js} +8 -8
- package/dist/chunks/{repository-25wpb8ep.js → ripgrep-e82rfkh8.js} +169 -169
- package/dist/chunks/{repository-vb0c2wr9.js → ripgrep-e9mavkfm.js} +13 -13
- package/dist/chunks/{repository-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-bprjk2xr.js → ripgrep-ejndgxwh.js} +31 -31
- package/dist/chunks/{repository-erw5rpbs.js → ripgrep-erw5rpbs.js} +2 -2
- package/dist/chunks/{repository-kpwmpstw.js → ripgrep-eswwkexn.js} +11 -11
- package/dist/chunks/{repository-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-c78bbtc9.js → ripgrep-evbgk2k8.js} +5 -5
- package/dist/chunks/{repository-rt22yq9v.js → ripgrep-ewxpkfp1.js} +23 -23
- package/dist/chunks/{repository-660wmw6d.js → ripgrep-f16gbcxr.js} +21 -21
- package/dist/chunks/{repository-311gkrra.js → ripgrep-f2y31vad.js} +3 -3
- package/dist/chunks/{repository-ajdggk3v.js → ripgrep-f5q6vpa8.js} +2 -2
- package/dist/chunks/{repository-bhxp9hdq.js → ripgrep-febc8204.js} +6 -6
- package/dist/chunks/{repository-65xxhm4m.js → ripgrep-fhgj836q.js} +23 -23
- package/dist/chunks/{repository-6bsje7ws.js → ripgrep-fqka1xvk.js} +3 -3
- package/dist/chunks/{repository-4sthw002.js → ripgrep-fxfc3qkp.js} +10 -10
- package/dist/chunks/{repository-55t602r9.js → ripgrep-g1n6bxpc.js} +31 -31
- package/dist/chunks/{repository-5rk57adz.js → ripgrep-g2sgta8f.js} +5 -5
- package/dist/chunks/{repository-mpqj6jx7.js → ripgrep-g7y1z024.js} +7 -7
- package/dist/chunks/{repository-19vf66h0.js → ripgrep-g8d3gcyj.js} +7 -7
- package/dist/chunks/{repository-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-94ek1h2f.js → ripgrep-gfvb90ym.js} +2 -2
- package/dist/chunks/{repository-50sbk7kr.js → ripgrep-gjbcvzr2.js} +8 -8
- package/dist/chunks/{repository-fs4kxnc4.js → ripgrep-gqtakvcm.js} +5 -5
- package/dist/chunks/{repository-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-1t7xnya2.js → ripgrep-h0yqkzt5.js} +11 -11
- package/dist/chunks/{repository-16fz2w0a.js → ripgrep-h3yfa6ks.js} +53 -53
- package/dist/chunks/{repository-7cc8avcc.js → ripgrep-h52xnkn8.js} +23 -23
- package/dist/chunks/{repository-pwqr28vb.js → ripgrep-h5tmfsew.js} +30 -30
- package/dist/chunks/{repository-h6r3nrb9.js → ripgrep-h6r3nrb9.js} +1 -1
- package/dist/chunks/{repository-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-gx8hye9g.js → ripgrep-h7w9m21h.js} +6 -6
- package/dist/chunks/{repository-emevknz1.js → ripgrep-h8t8zj8w.js} +8 -8
- package/dist/chunks/{repository-z3dqhhkj.js → ripgrep-hf4drxk6.js} +6 -6
- package/dist/chunks/{repository-rxzqzsj3.js → ripgrep-hgnmjjw1.js} +14 -14
- package/dist/chunks/{repository-djwrd78c.js → ripgrep-hhpnm7dw.js} +21 -21
- package/dist/chunks/{repository-dvep9rg9.js → ripgrep-hrc132h6.js} +9 -9
- package/dist/chunks/{repository-1g9ztc78.js → ripgrep-hsqtqw31.js} +43 -43
- package/dist/chunks/{repository-p57dvf2n.js → ripgrep-j311gd59.js} +9 -9
- package/dist/chunks/{repository-a0s974gf.js → ripgrep-j4ab9r48.js} +1 -1
- package/dist/chunks/{repository-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-s5d9hk7s.js → ripgrep-j58c5xyq.js} +9 -9
- package/dist/chunks/{repository-69fj14ep.js → ripgrep-jf99zcgg.js} +24 -24
- package/dist/chunks/{repository-ya6d81gt.js → ripgrep-k1fg4vp1.js} +14 -14
- package/dist/chunks/{repository-wmq3bkd4.js → ripgrep-k1qrnqst.js} +8 -8
- package/dist/chunks/{repository-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-my3s7g2v.js → ripgrep-kj13tdgj.js} +6 -6
- package/dist/chunks/{repository-3y7z246r.js → ripgrep-km9v8s4p.js} +24 -24
- package/dist/chunks/{repository-k9kj6xed.js → ripgrep-knb7evpn.js} +6 -6
- package/dist/chunks/{repository-ypwah405.js → ripgrep-kwh94f5y.js} +24 -24
- package/dist/chunks/{repository-7td85jfa.js → ripgrep-m14g7d03.js} +7 -7
- package/dist/chunks/{repository-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-g0kgf922.js → ripgrep-m9ekcepj.js} +9 -9
- package/dist/chunks/{repository-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-c1kskfb6.js → ripgrep-mb5k3eyw.js} +42 -42
- package/dist/chunks/{repository-4ragw8tk.js → ripgrep-md9pgxe8.js} +26 -26
- package/dist/chunks/{repository-5qb1g724.js → ripgrep-mjyv029k.js} +8 -8
- package/dist/chunks/{repository-dmzyn4sw.js → ripgrep-mppnnt9x.js} +20 -20
- package/dist/chunks/{repository-3sy2qy7n.js → ripgrep-mt4rfx33.js} +1 -1
- package/dist/chunks/{repository-gcmeeq5b.js → ripgrep-myhvmvaw.js} +24 -24
- package/dist/chunks/{repository-1te7cy4s.js → ripgrep-mzywpf3p.js} +4 -4
- package/dist/chunks/{repository-3nwqvhst.js → ripgrep-nacy1b3s.js} +9 -9
- package/dist/chunks/ripgrep-nc9jdwq6.js +252 -0
- package/dist/chunks/{repository-ejrhby57.js → ripgrep-npcgt3gc.js} +46 -46
- package/dist/chunks/{repository-0yf2ggb4.js → ripgrep-nqhkz2h0.js} +3 -3
- package/dist/chunks/{repository-5wtwrezn.js → ripgrep-nrdmrqsx.js} +21 -21
- package/dist/chunks/{repository-dzk3ryj8.js → ripgrep-nxq64296.js} +15 -15
- package/dist/chunks/{repository-3yv9m03g.js → ripgrep-p8p1q38m.js} +17 -17
- package/dist/chunks/{repository-n6scd4pv.js → ripgrep-pdq8pnd2.js} +10 -10
- package/dist/chunks/{repository-n72a9sqp.js → ripgrep-pff1gvzk.js} +46 -46
- package/dist/chunks/{repository-enk2rrcf.js → ripgrep-phfbqzjs.js} +17 -17
- package/dist/chunks/{repository-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{repository-5psjtcc4.js → ripgrep-pp3p6rz8.js} +24 -24
- package/dist/chunks/{repository-wd3x2cqz.js → ripgrep-psazpmmj.js} +2 -2
- package/dist/chunks/{repository-s28bjvt5.js → ripgrep-qjjdbt4x.js} +18 -18
- package/dist/chunks/{repository-vmq7ehpy.js → ripgrep-qn4ba14w.js} +5 -5
- package/dist/chunks/{repository-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-3qw0meeq.js → ripgrep-r3va1q30.js} +20 -20
- package/dist/chunks/{repository-khm1sf7f.js → ripgrep-r4bzzscv.js} +4 -4
- package/dist/chunks/{repository-j0vh8jjz.js → ripgrep-r6h5nhyv.js} +25 -25
- package/dist/chunks/{repository-jrb0xr74.js → ripgrep-rd066f3k.js} +12 -12
- package/dist/chunks/{repository-0pr3hkd7.js → ripgrep-rdecwvm0.js} +4 -4
- package/dist/chunks/{repository-skykqwxk.js → ripgrep-rdf5zzeq.js} +26 -26
- package/dist/chunks/{repository-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-7nf3ddzq.js → ripgrep-rkd9y7hg.js} +11 -11
- package/dist/chunks/{repository-t1tem6a2.js → ripgrep-rn3cq9ja.js} +27 -27
- package/dist/chunks/{repository-vsp4125s.js → ripgrep-rtrd7687.js} +4 -4
- package/dist/chunks/{repository-wy75xbqv.js → ripgrep-rwpqnmrd.js} +51 -51
- package/dist/chunks/{repository-xq7r4p5w.js → ripgrep-s2v5xhym.js} +33 -33
- package/dist/chunks/{repository-0xezjjjn.js → ripgrep-s5met55r.js} +8 -8
- package/dist/chunks/{repository-32h82zqh.js → ripgrep-s74ft2z0.js} +2 -2
- package/dist/chunks/{repository-gr0jztbm.js → ripgrep-s7d0jgbp.js} +15 -15
- package/dist/chunks/{repository-eaj1djv9.js → ripgrep-s8d7rejh.js} +6 -6
- package/dist/chunks/{repository-d2aac7k2.js → ripgrep-s8zy8myc.js} +5 -5
- package/dist/chunks/{repository-0c1nc1g2.js → ripgrep-sh5yyyta.js} +4 -4
- package/dist/chunks/{repository-ygxwf2ce.js → ripgrep-svjy1kds.js} +20 -20
- package/dist/chunks/{repository-h297ymck.js → ripgrep-szs8vbwv.js} +9 -9
- package/dist/chunks/{repository-6301jba8.js → ripgrep-t1nv7t91.js} +35 -35
- package/dist/chunks/{repository-stvp1p58.js → ripgrep-t9jfj42y.js} +19 -19
- package/dist/chunks/{repository-6wg7wrda.js → ripgrep-t9ym9qvh.js} +6 -6
- package/dist/chunks/{repository-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-kkybr322.js → ripgrep-tcfbr18x.js} +10 -10
- package/dist/chunks/{repository-y3f887mz.js → ripgrep-tcnfwqy6.js} +7 -7
- package/dist/chunks/{repository-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{repository-b8kezapz.js → ripgrep-thf27y4c.js} +12 -12
- package/dist/chunks/{repository-naep0e5n.js → ripgrep-trqv73xc.js} +17 -17
- package/dist/chunks/{repository-gv6qzrxf.js → ripgrep-trv0dvrm.js} +35 -35
- package/dist/chunks/{repository-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-f1zbxv7x.js → ripgrep-v8g8r3p5.js} +9 -9
- package/dist/chunks/{repository-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-98da7btb.js → ripgrep-vk5cd3wv.js} +10 -10
- package/dist/chunks/{repository-2a6rn6yr.js → ripgrep-vvccsdf3.js} +4 -4
- package/dist/chunks/{repository-5md3tagz.js → ripgrep-vw5tv20s.js} +18 -18
- package/dist/chunks/{repository-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-2zbc03eg.js → ripgrep-vztfwee2.js} +32 -32
- package/dist/chunks/{repository-qx9nwsft.js → ripgrep-w0amkjx1.js} +20 -20
- package/dist/chunks/{repository-fxr6x0aq.js → ripgrep-w28p7srs.js} +16 -16
- package/dist/chunks/{repository-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-5r9k8zx2.js → ripgrep-wamfr8ew.js} +10 -10
- package/dist/chunks/{repository-e4bv3p7h.js → ripgrep-wd7bxs2p.js} +30 -30
- package/dist/chunks/{repository-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{repository-j40a86xr.js → ripgrep-wdqt7cqw.js} +10 -10
- package/dist/chunks/{repository-qwb2h62g.js → ripgrep-wj3w7pcn.js} +18 -18
- package/dist/chunks/{repository-3ewed21c.js → ripgrep-wj76ss2k.js} +4 -4
- package/dist/chunks/{repository-r256v5vh.js → ripgrep-wjvmat6z.js} +22 -22
- package/dist/chunks/{repository-qakz50hz.js → ripgrep-wmfp1rw3.js} +20 -20
- package/dist/chunks/{repository-tsa77ep8.js → ripgrep-wpa4rsnk.js} +12 -12
- package/dist/chunks/{repository-3rk7bqzq.js → ripgrep-wwy2qggx.js} +6 -6
- package/dist/chunks/{repository-xq6svqxg.js → ripgrep-x01dtww3.js} +23 -23
- package/dist/chunks/{repository-zszwk29h.js → ripgrep-x0phpbjd.js} +292 -292
- package/dist/chunks/{repository-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-0cry2zrq.js → ripgrep-x9p82aqm.js} +13 -13
- package/dist/chunks/{repository-de3mgeae.js → ripgrep-xdyhb63d.js} +18 -18
- package/dist/chunks/{repository-1dnqgg3s.js → ripgrep-xwx3c2sc.js} +9 -9
- package/dist/chunks/{repository-hysnaan8.js → ripgrep-xz23vemp.js} +6 -6
- package/dist/chunks/{repository-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-18e56dsp.js → ripgrep-y67gsgy6.js} +4 -4
- package/dist/chunks/{repository-xkqrr95v.js → ripgrep-yagfenz7.js} +65 -65
- package/dist/chunks/{repository-4yyfqv5e.js → ripgrep-yejpxas0.js} +11 -11
- package/dist/chunks/{repository-1acjjqhc.js → ripgrep-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-s4enseaf.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-j1711vkv.js → ripgrep-ys5hb573.js} +23 -23
- package/dist/chunks/{repository-j3s2z371.js → ripgrep-ywkfy99j.js} +9 -9
- package/dist/chunks/{repository-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-v4cj4tts.js → ripgrep-z1a2kmfk.js} +13 -13
- package/dist/chunks/{repository-29x78va6.js → ripgrep-z63w68vq.js} +6 -6
- package/dist/chunks/{repository-gxd07ah8.js → ripgrep-z66c1k9w.js} +48 -48
- package/dist/chunks/{repository-2xqh5gj0.js → ripgrep-zajadr6b.js} +24 -24
- package/dist/chunks/{repository-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-7n420167.js → ripgrep-zkt84azb.js} +11 -11
- package/dist/chunks/{repository-qh54trmw.js → ripgrep-zp8bqaxg.js} +14 -14
- package/dist/chunks/{repository-jhmd4ezs.js → ripgrep-zq2g0th5.js} +15 -15
- package/dist/chunks/{repository-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-kx253xx8.js → ripgrep-zr8y6ync.js} +4 -4
- package/dist/chunks/{repository-dq2gf7dd.js → ripgrep-zrye3yph.js} +86 -86
- package/dist/chunks/{repository-kk7xnzba.js → ripgrep-zwfnejf5.js} +1 -1
- package/dist/chunks/{repository-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +139 -139
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +88 -88
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- 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 +91 -91
- 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 +3 -3
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +87 -87
- 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 +127 -127
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +112 -112
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +7 -7
- 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 +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-619r8v3y.js +0 -18
- package/dist/chunks/repository-vz0qs4v4.js +0 -252
- /package/dist/chunks/{repository-0mesazry.js → ripgrep-0mesazry.js} +0 -0
- /package/dist/chunks/{repository-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./ripgrep-3133pbgg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./ripgrep-5q70a6nc.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service62,
|
|
19
|
+
node65
|
|
20
|
+
} from "./ripgrep-4e766vfh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./ripgrep-km9v8s4p.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node80
|
|
35
|
+
} from "./ripgrep-ejndgxwh.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service31,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured3,
|
|
57
|
+
layer: () => layer13,
|
|
58
|
+
node: () => node34
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options3 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
104
|
+
var layer13 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service80;
|
|
106
|
+
const environment = yield* Service62;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service78;
|
|
109
|
+
const integration = yield* Service76;
|
|
110
|
+
const credentials = yield* Service77;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID14.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError4({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID16.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
const load = 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(
|
|
262
|
+
const load = 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(Service62, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service31.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured3(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
521
|
+
service: Service31,
|
|
522
|
+
layer: layer13(options),
|
|
523
|
+
deps: [node84, node65, node87, node82, node80, node81]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node34 = configured3();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service31, Options3, layer13, configured3, node34, exports_mcp4 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./ripgrep-68y7phbn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./ripgrep-5q70a6nc.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-9zdhvgqs.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service37,
|
|
18
|
+
node40
|
|
19
|
+
} from "./ripgrep-jf99zcgg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node19
|
|
22
|
+
} from "./ripgrep-5a5dg86c.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node14
|
|
26
|
+
} from "./ripgrep-cwa6csj7.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service11,
|
|
36
|
+
node: () => node13
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service80;
|
|
47
|
+
const watcher = yield* Service37;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service11.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node13 = makeLocationNode({
|
|
106
|
+
service: Service11,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node40, FSUtil.node, node84, node86, node87, node19, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service11, node13, exports_location_watcher2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service66,
|
|
10
|
+
node: () => node70
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service66 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service66.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node70 = makeLocationNode({ service: Service66, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service66, node70, exports_hooks };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-x0phpbjd.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info6,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-myhvmvaw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service36
|
|
11
|
+
} from "./ripgrep-npcgt3gc.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill3 = {};
|
|
18
18
|
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin42,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin42 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info6.make({
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info6.make({
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service36;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin42, exports_skill3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,14 +36,14 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-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: () => Info11,
|
|
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 Info11 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info11, exports_mcp5 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-nqhkz2h0.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./ripgrep-5q70a6nc.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service17,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node20
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service17 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service17.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node20 = makeLocationNode({
|
|
168
|
+
service: Service17,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node84, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service17, node20, exports_vcs };
|