@opencode/core 0.0.0-dev-20281 → 0.0.0-dev-20283
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +90 -90
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{rpc-e32h2zds.js → ripgrep-06n2z7nb.js} +16 -16
- package/dist/chunks/{rpc-wcjyc11q.js → ripgrep-0fn2v7vk.js} +6 -6
- package/dist/chunks/{rpc-n6gj03av.js → ripgrep-0gv4c46g.js} +11 -11
- package/dist/chunks/{rpc-4zyrrfq5.js → ripgrep-0kkkb007.js} +20 -20
- package/dist/chunks/{rpc-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{rpc-83xp5e3e.js → ripgrep-0r3beqsh.js} +2 -2
- package/dist/chunks/{rpc-ww9wy50d.js → ripgrep-0tc49hzt.js} +14 -14
- package/dist/chunks/{rpc-2ehxhhx0.js → ripgrep-0vzfp6w4.js} +12 -12
- package/dist/chunks/{rpc-nmjntwhv.js → ripgrep-0wb0q5h4.js} +13 -13
- package/dist/chunks/{rpc-jt55evk2.js → ripgrep-192mpch6.js} +17 -17
- package/dist/chunks/{rpc-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{rpc-v9cny2f3.js → ripgrep-1njemvak.js} +11 -11
- package/dist/chunks/{rpc-sd7amxc6.js → ripgrep-1re4qzs4.js} +52 -52
- package/dist/chunks/{rpc-9dvxtgw7.js → ripgrep-1tanxn91.js} +20 -20
- package/dist/chunks/{rpc-0kvh2d7d.js → ripgrep-1wr2wsh9.js} +24 -24
- package/dist/chunks/{rpc-1ygqh575.js → ripgrep-1ygqh575.js} +2 -2
- package/dist/chunks/{rpc-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{rpc-fe85qmjv.js → ripgrep-22sq01kd.js} +9 -9
- package/dist/chunks/{rpc-gs3nyf6v.js → ripgrep-23nkdrsj.js} +2 -2
- package/dist/chunks/{rpc-62f0kzmk.js → ripgrep-29t7jrtx.js} +22 -22
- package/dist/chunks/{rpc-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{rpc-yw9vmcw5.js → ripgrep-2dym5fsc.js} +24 -24
- package/dist/chunks/{rpc-0t2955jx.js → ripgrep-2e3h7fb2.js} +33 -33
- package/dist/chunks/{rpc-57ez7d0k.js → ripgrep-2fgn2we9.js} +9 -9
- package/dist/chunks/{rpc-c10q62gs.js → ripgrep-2gqjzmey.js} +34 -34
- package/dist/chunks/{rpc-g7xrawpy.js → ripgrep-2pfa7bdd.js} +30 -30
- package/dist/chunks/{rpc-vt17nwfb.js → ripgrep-2wd0qsc7.js} +87 -87
- package/dist/chunks/{rpc-kz2x8dvd.js → ripgrep-2wr44tv0.js} +12 -12
- package/dist/chunks/{rpc-8q7zwx93.js → ripgrep-38hxcnaa.js} +162 -162
- package/dist/chunks/{rpc-37s12vcn.js → ripgrep-3cfzdc8e.js} +5 -5
- package/dist/chunks/{rpc-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{rpc-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-p1k6g3zz.js → ripgrep-3n3n8ks1.js} +15 -15
- package/dist/chunks/{rpc-d5msnsy6.js → ripgrep-3qr7k6ss.js} +15 -15
- package/dist/chunks/{rpc-yvvvp4gn.js → ripgrep-3rtxz4nr.js} +8 -8
- package/dist/chunks/{rpc-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{rpc-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{rpc-2sskxj6s.js → ripgrep-3w4c8cd5.js} +26 -26
- package/dist/chunks/{rpc-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{rpc-yr3j3mvp.js → ripgrep-461gzhy0.js} +11 -11
- package/dist/chunks/{rpc-cxb8c9p3.js → ripgrep-4709er5r.js} +15 -15
- package/dist/chunks/{rpc-29qym6xz.js → ripgrep-4v7ngy20.js} +4 -4
- package/dist/chunks/{rpc-50mzsvk4.js → ripgrep-50mzsvk4.js} +1 -1
- package/dist/chunks/{rpc-0jkw1j53.js → ripgrep-51f5btjf.js} +6 -6
- package/dist/chunks/ripgrep-54jdj5x0.js +252 -0
- package/dist/chunks/{rpc-54ma36ye.js → ripgrep-54ma36ye.js} +1 -1
- package/dist/chunks/{rpc-m2x37xra.js → ripgrep-586f3q72.js} +7 -7
- package/dist/chunks/{rpc-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{rpc-3v1hba8n.js → ripgrep-5f61tf2t.js} +31 -31
- package/dist/chunks/{rpc-p5fnt7js.js → ripgrep-5p90x35g.js} +41 -41
- package/dist/chunks/{rpc-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{rpc-nxzfgd6f.js → ripgrep-5vc9exp4.js} +8 -8
- package/dist/chunks/{rpc-5j6r72e5.js → ripgrep-5w6d4e9q.js} +1 -1
- package/dist/chunks/{rpc-14h20gk9.js → ripgrep-5yja9ydc.js} +18 -18
- package/dist/chunks/{rpc-qgn6gcr1.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{rpc-9nepbqpa.js → ripgrep-64mbz47k.js} +6 -6
- package/dist/chunks/{rpc-deeq2pzv.js → ripgrep-64t0s254.js} +87 -87
- package/dist/chunks/{rpc-asqr2k0y.js → ripgrep-653z4qt3.js} +10 -10
- package/dist/chunks/{rpc-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{rpc-nfjk7xkz.js → ripgrep-66xtzngh.js} +33 -33
- package/dist/chunks/{rpc-tmxcz70p.js → ripgrep-6g52vc25.js} +15 -15
- package/dist/chunks/{rpc-s61pm60b.js → ripgrep-6kxy4d36.js} +16 -16
- package/dist/chunks/{rpc-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{rpc-j51ddsps.js → ripgrep-6nm8v0bb.js} +15 -15
- package/dist/chunks/{rpc-wsr1ah9b.js → ripgrep-6qdhg23j.js} +23 -23
- package/dist/chunks/{rpc-xzp83s65.js → ripgrep-6zyttfys.js} +9 -9
- package/dist/chunks/{rpc-dw0sqts0.js → ripgrep-70z7e0t6.js} +17 -17
- package/dist/chunks/{rpc-c9vtk06m.js → ripgrep-71kkrfgw.js} +13 -13
- package/dist/chunks/{rpc-9e1k052j.js → ripgrep-72kwbecb.js} +11 -11
- package/dist/chunks/{rpc-g0hp4pfd.js → ripgrep-72pre59p.js} +33 -33
- package/dist/chunks/{rpc-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-bakcbm75.js → ripgrep-7h1r83p4.js} +4 -4
- package/dist/chunks/{rpc-w1eejvng.js → ripgrep-84txncab.js} +5 -5
- package/dist/chunks/{rpc-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{rpc-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{rpc-06j8v02r.js → ripgrep-8enrc4hn.js} +18 -18
- package/dist/chunks/{rpc-w169z2fj.js → ripgrep-8hy6v193.js} +6 -6
- package/dist/chunks/{rpc-gfvb90ym.js → ripgrep-94ek1h2f.js} +2 -2
- package/dist/chunks/{rpc-g9kjbw1c.js → ripgrep-952mvmqa.js} +46 -46
- package/dist/chunks/{rpc-5xfmbqkv.js → ripgrep-9jn68dry.js} +6 -6
- package/dist/chunks/{rpc-e3zw7zk6.js → ripgrep-9m91pah8.js} +7 -7
- package/dist/chunks/{rpc-141hy0jj.js → ripgrep-9nv1851k.js} +20 -20
- package/dist/chunks/{rpc-2bbyca3v.js → ripgrep-9wp1zfh0.js} +34 -34
- package/dist/chunks/{rpc-tw7vszv5.js → ripgrep-a5np2jg2.js} +21 -21
- package/dist/chunks/{rpc-8m6sn5gg.js → ripgrep-aabpnaee.js} +20 -20
- package/dist/chunks/{rpc-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{rpc-r6jt1nbf.js → ripgrep-abtj82ew.js} +12 -12
- package/dist/chunks/{rpc-n4jfkgh8.js → ripgrep-adv251k7.js} +11 -11
- package/dist/chunks/{rpc-7860t2hb.js → ripgrep-aemfex0m.js} +18 -18
- package/dist/chunks/{rpc-bn1bhpjp.js → ripgrep-amfnqe2s.js} +18 -18
- package/dist/chunks/{rpc-nw79srx6.js → ripgrep-aqzfyccc.js} +8 -8
- package/dist/chunks/{rpc-yd8awzfr.js → ripgrep-axtjp1k3.js} +19 -19
- package/dist/chunks/{rpc-t3ew74rm.js → ripgrep-azd87vph.js} +23 -23
- package/dist/chunks/{rpc-rwmsc9fw.js → ripgrep-b1dgk78w.js} +30 -30
- package/dist/chunks/{rpc-zem4mrp3.js → ripgrep-b2hpr2td.js} +19 -19
- package/dist/chunks/{rpc-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{rpc-r4yqrmdq.js → ripgrep-bgs9y14h.js} +5 -5
- package/dist/chunks/{rpc-ttpmax8e.js → ripgrep-bs3x7gw6.js} +30 -30
- package/dist/chunks/{rpc-f29mbr7f.js → ripgrep-c35597j6.js} +4 -4
- package/dist/chunks/{rpc-6vz6grh2.js → ripgrep-c6ajamfk.js} +29 -29
- package/dist/chunks/{rpc-7s8ttw7e.js → ripgrep-c6mpbtvn.js} +24 -24
- package/dist/chunks/{rpc-ft3hqk2c.js → ripgrep-c765mh8b.js} +9 -9
- package/dist/chunks/{rpc-4gc3neaj.js → ripgrep-ca4nd7sf.js} +11 -11
- package/dist/chunks/{rpc-wp3v471f.js → ripgrep-cf1vp582.js} +12 -12
- package/dist/chunks/{rpc-afqdt354.js → ripgrep-cfjzxm9d.js} +4 -4
- package/dist/chunks/{rpc-bjqeqaym.js → ripgrep-ch7rw6pf.js} +25 -25
- package/dist/chunks/{rpc-54tcyq79.js → ripgrep-ckecvw8r.js} +2 -2
- package/dist/chunks/{rpc-633ne18k.js → ripgrep-cr5th6ty.js} +33 -33
- package/dist/chunks/{rpc-yd2mve5d.js → ripgrep-cx016b67.js} +29 -29
- package/dist/chunks/{rpc-vy4zg7qh.js → ripgrep-d2ztc3sk.js} +12 -12
- package/dist/chunks/{rpc-zn33kztm.js → ripgrep-d3a20c9v.js} +5 -5
- package/dist/chunks/{rpc-v9d4hk29.js → ripgrep-d3xwyf2m.js} +4 -4
- package/dist/chunks/{rpc-x3pzyyn5.js → ripgrep-d7gjgrs2.js} +5 -5
- package/dist/chunks/{rpc-e42pfdfs.js → ripgrep-db40k7kg.js} +23 -23
- package/dist/chunks/{rpc-v9xrr8sf.js → ripgrep-ddfm2d7g.js} +3 -3
- package/dist/chunks/{rpc-p9g6edyn.js → ripgrep-dg7ycq4j.js} +11 -11
- package/dist/chunks/{rpc-a5bdhyw0.js → ripgrep-dn4v5eqq.js} +15 -15
- package/dist/chunks/{rpc-y71avatq.js → ripgrep-dpkg50ah.js} +4 -4
- package/dist/chunks/{rpc-9e4j78a5.js → ripgrep-e4g6rnfs.js} +15 -15
- package/dist/chunks/{rpc-2p8k3371.js → ripgrep-e5d0vv29.js} +5 -5
- package/dist/chunks/{rpc-vs4gd2t2.js → ripgrep-e5ynk9n0.js} +3 -3
- package/dist/chunks/{rpc-arqmvm47.js → ripgrep-e7g2j36k.js} +9 -9
- package/dist/chunks/{rpc-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{rpc-m0ftxd20.js → ripgrep-ecx38efq.js} +16 -16
- package/dist/chunks/{rpc-n5e92k76.js → ripgrep-edy6vzfc.js} +11 -11
- package/dist/chunks/{rpc-5ypa2p6a.js → ripgrep-eehp0yw8.js} +27 -27
- package/dist/chunks/{rpc-t5h2sqdf.js → ripgrep-eeshsd4e.js} +10 -10
- package/dist/chunks/{rpc-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{rpc-3v4byysy.js → ripgrep-eff9pjvh.js} +4 -4
- package/dist/chunks/{rpc-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{rpc-05x7j1j7.js → ripgrep-ey4ng7y9.js} +14 -14
- package/dist/chunks/{rpc-1j7wb12c.js → ripgrep-fja6f62c.js} +13 -13
- package/dist/chunks/ripgrep-fn1xezbj.js +26 -0
- package/dist/chunks/{rpc-t3e63qpa.js → ripgrep-fnjd7ews.js} +11 -11
- package/dist/chunks/{rpc-rk1r2hx8.js → ripgrep-fp2xarvc.js} +1 -1
- package/dist/chunks/{rpc-fjv2ngq8.js → ripgrep-fq96zpya.js} +32 -32
- package/dist/chunks/{rpc-qbsyshfb.js → ripgrep-fqkdxzw8.js} +11 -11
- package/dist/chunks/{rpc-sqmzwr9m.js → ripgrep-fw181sc9.js} +9 -9
- package/dist/chunks/{rpc-4kmxbxdg.js → ripgrep-fw2pwnnn.js} +16 -16
- package/dist/chunks/{rpc-dgkzhmrs.js → ripgrep-g3edykf5.js} +26 -26
- package/dist/chunks/{rpc-9gx13w9t.js → ripgrep-g9t1zgfv.js} +28 -28
- package/dist/chunks/{rpc-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{rpc-6wxw79w5.js → ripgrep-gfj3dknr.js} +16 -16
- package/dist/chunks/{rpc-zc3gqq1k.js → ripgrep-ghz97sg6.js} +41 -41
- package/dist/chunks/{rpc-ntfntkz5.js → ripgrep-gqf2zns2.js} +3 -3
- package/dist/chunks/{rpc-ps0jvca7.js → ripgrep-gqzgrd8f.js} +42 -42
- package/dist/chunks/{rpc-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{rpc-xx4yg2g6.js → ripgrep-gwkc77fa.js} +19 -19
- package/dist/chunks/{rpc-cky531be.js → ripgrep-h4ej1pk3.js} +10 -10
- package/dist/chunks/{rpc-h6r3nrb9.js → ripgrep-h6r3nrb9.js} +1 -1
- package/dist/chunks/{rpc-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{rpc-sqq1y2kk.js → ripgrep-hc6n7qkh.js} +34 -34
- package/dist/chunks/{rpc-3s9hx8mg.js → ripgrep-hfeaaxxs.js} +6 -6
- package/dist/chunks/{rpc-999vxy5h.js → ripgrep-hg7raqqh.js} +5 -5
- package/dist/chunks/{rpc-mgnc1c7z.js → ripgrep-hgbe9dcz.js} +23 -23
- package/dist/chunks/{rpc-jcrvr82e.js → ripgrep-hmaez4gc.js} +32 -32
- package/dist/chunks/{rpc-d9skxfzj.js → ripgrep-hn5zg849.js} +15 -15
- package/dist/chunks/{rpc-ye2dcr60.js → ripgrep-hsav4n22.js} +14 -14
- package/dist/chunks/ripgrep-ht5y0zrb.js +18 -0
- package/dist/chunks/{rpc-701yh738.js → ripgrep-hwprkm7s.js} +11 -11
- package/dist/chunks/{rpc-kpyndhjd.js → ripgrep-j14tmgba.js} +5 -5
- package/dist/chunks/{rpc-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{rpc-182ks7j2.js → ripgrep-j699j8bt.js} +2 -2
- package/dist/chunks/{rpc-h07bg3jc.js → ripgrep-jbvsa6eq.js} +6 -6
- package/dist/chunks/{rpc-7padzwyv.js → ripgrep-jdtprj7c.js} +5 -5
- package/dist/chunks/{rpc-mmrehy5f.js → ripgrep-jgnp4k1d.js} +5 -5
- package/dist/chunks/{rpc-mwqdf1sn.js → ripgrep-jhkfvevy.js} +25 -25
- package/dist/chunks/{rpc-66d21r53.js → ripgrep-jhz2qgyn.js} +313 -313
- package/dist/chunks/{rpc-baaqp4zd.js → ripgrep-jvf3yq6v.js} +4 -4
- package/dist/chunks/{rpc-365rh5wb.js → ripgrep-jz8ef9q4.js} +10 -10
- package/dist/chunks/{rpc-nzks3jc8.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{rpc-mm13qbkm.js → ripgrep-kehckfbc.js} +3 -3
- package/dist/chunks/{rpc-qkqfr02h.js → ripgrep-kmd76d9b.js} +20 -20
- package/dist/chunks/{rpc-x8fbbgnb.js → ripgrep-kmpmz7ta.js} +16 -16
- package/dist/chunks/{rpc-f40tx9v5.js → ripgrep-kygfjk3j.js} +7 -7
- package/dist/chunks/{rpc-349p06hg.js → ripgrep-m0txghk3.js} +12 -12
- package/dist/chunks/{rpc-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{rpc-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-5964kreg.js → ripgrep-mawhga53.js} +10 -10
- package/dist/chunks/{rpc-73tb2d7t.js → ripgrep-mhkvc446.js} +3 -3
- package/dist/chunks/{rpc-zbrmq810.js → ripgrep-mhy5ejww.js} +15 -15
- package/dist/chunks/{rpc-xbcqcrm3.js → ripgrep-mm13q5bj.js} +30 -30
- package/dist/chunks/{rpc-ycaeh1sm.js → ripgrep-mv0eybxy.js} +60 -60
- package/dist/chunks/{rpc-g6yabpgm.js → ripgrep-myz5g07t.js} +20 -20
- package/dist/chunks/{rpc-mzywpf3p.js → ripgrep-n1ka8r9d.js} +4 -4
- package/dist/chunks/{rpc-ykbhpvja.js → ripgrep-n2t9j3sy.js} +27 -27
- package/dist/chunks/{rpc-fy1sbc2w.js → ripgrep-na5tatc9.js} +20 -20
- package/dist/chunks/{rpc-qs4aqrgb.js → ripgrep-nav1p6g3.js} +8 -8
- package/dist/chunks/{rpc-4k0xqdp1.js → ripgrep-nbzsj80d.js} +6 -6
- package/dist/chunks/{rpc-r4rdmmte.js → ripgrep-nwx73hp2.js} +48 -48
- package/dist/chunks/{rpc-b4g74394.js → ripgrep-p0kznwb9.js} +1 -1
- package/dist/chunks/{rpc-dv1qgsyq.js → ripgrep-pa8pe2x7.js} +8 -8
- package/dist/chunks/{rpc-7w4s0c2p.js → ripgrep-pjn99fz1.js} +33 -33
- package/dist/chunks/{rpc-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{rpc-q19p4fn9.js → ripgrep-pk2244jm.js} +3 -3
- package/dist/chunks/{rpc-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-4n607a2z.js → ripgrep-pp7e5es3.js} +5 -5
- package/dist/chunks/{rpc-ym26fzz4.js → ripgrep-ptm9s311.js} +24 -24
- package/dist/chunks/{rpc-w92k2e0p.js → ripgrep-py3kkmfq.js} +8 -8
- package/dist/chunks/{rpc-bct739vz.js → ripgrep-q2b1ymqp.js} +4 -4
- package/dist/chunks/{rpc-zd488a3c.js → ripgrep-q48yxynx.js} +17 -17
- package/dist/chunks/{rpc-cee7aztj.js → ripgrep-q4y9jszz.js} +13 -13
- package/dist/chunks/{rpc-bgvfp3ce.js → ripgrep-q62vekht.js} +12 -12
- package/dist/chunks/{rpc-wv1xvc5h.js → ripgrep-qc4swbm3.js} +4 -4
- package/dist/chunks/{rpc-g30dahm1.js → ripgrep-qcwfdsz9.js} +18 -18
- package/dist/chunks/{rpc-qg0jgkcp.js → ripgrep-qg0jgkcp.js} +2 -2
- package/dist/chunks/{rpc-510m7gjw.js → ripgrep-qjnxxf51.js} +5 -5
- package/dist/chunks/{rpc-791sxkqm.js → ripgrep-qs8vrnz3.js} +9 -9
- package/dist/chunks/{rpc-cc4mce2f.js → ripgrep-qsaqrdx1.js} +11 -11
- package/dist/chunks/{rpc-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{rpc-7rvkzce7.js → ripgrep-qy0j41j3.js} +13 -13
- package/dist/chunks/{rpc-1866jdqb.js → ripgrep-r4zqymag.js} +29 -29
- package/dist/chunks/{rpc-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{rpc-ea8zm51c.js → ripgrep-re9s8qmv.js} +49 -49
- package/dist/chunks/{rpc-rjeydd8s.js → ripgrep-rh7femja.js} +20 -7
- package/dist/chunks/{rpc-kxpygcw9.js → ripgrep-rph3zd4r.js} +4 -4
- package/dist/chunks/{rpc-hvn3gssd.js → ripgrep-rqf72ha7.js} +4 -4
- package/dist/chunks/{rpc-pccby3rj.js → ripgrep-rsehase2.js} +22 -22
- package/dist/chunks/{rpc-4e8vs6eh.js → ripgrep-rvf0m9x6.js} +8 -8
- package/dist/chunks/{rpc-hkfg6fzm.js → ripgrep-s8zy8myc.js} +5 -5
- package/dist/chunks/{rpc-ssbdqrjt.js → ripgrep-sc51x728.js} +8 -8
- package/dist/chunks/{rpc-jej1981d.js → ripgrep-sdgvmrxh.js} +5 -5
- package/dist/chunks/{rpc-qkxbnhbs.js → ripgrep-sqf5tk1d.js} +22 -22
- package/dist/chunks/{rpc-6s236mgx.js → ripgrep-sw8epyzb.js} +32 -32
- package/dist/chunks/{rpc-s8d7rejh.js → ripgrep-t550f9t1.js} +4 -4
- package/dist/chunks/{rpc-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{rpc-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{rpc-g4tp3wzg.js → ripgrep-tfng5yfz.js} +23 -23
- package/dist/chunks/{rpc-vbfgae2j.js → ripgrep-tjedn1bk.js} +4 -4
- package/dist/chunks/{rpc-r8bat8tc.js → ripgrep-tn03727c.js} +12 -12
- package/dist/chunks/{rpc-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{rpc-5vhcwf2z.js → ripgrep-txkk9php.js} +42 -42
- package/dist/chunks/{rpc-3149w101.js → ripgrep-v2yjcsz6.js} +3 -3
- package/dist/chunks/{rpc-geewefw6.js → ripgrep-v472qedx.js} +5 -5
- package/dist/chunks/{rpc-fqb2p7cx.js → ripgrep-v5dkyp31.js} +4 -4
- package/dist/chunks/{rpc-hcjd2d0x.js → ripgrep-vb9j5e0s.js} +20 -20
- package/dist/chunks/{rpc-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{rpc-8mfdap3f.js → ripgrep-vkt5fbj2.js} +8 -8
- package/dist/chunks/{rpc-b87jqyzw.js → ripgrep-vn914t7m.js} +10 -10
- package/dist/chunks/{rpc-nt1ytqhs.js → ripgrep-vwwm0ssm.js} +22 -22
- package/dist/chunks/{rpc-bh0r781w.js → ripgrep-vx615f2b.js} +43 -43
- package/dist/chunks/{rpc-7zpeh0yx.js → ripgrep-vxzh5eqq.js} +4 -4
- package/dist/chunks/{rpc-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{rpc-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{rpc-aqr04kca.js → ripgrep-w1pw1k2p.js} +48 -48
- package/dist/chunks/{rpc-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-yq2cczkq.js → ripgrep-waa9wdep.js} +9 -9
- package/dist/chunks/{rpc-psazpmmj.js → ripgrep-wd3x2cqz.js} +2 -2
- package/dist/chunks/{rpc-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-ve87mz4w.js → ripgrep-wh08dk1v.js} +47 -47
- package/dist/chunks/{rpc-z5rd9rww.js → ripgrep-wmq3bkd4.js} +8 -8
- package/dist/chunks/{rpc-29ewe8af.js → ripgrep-wwm7g6wd.js} +11 -11
- package/dist/chunks/{rpc-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{rpc-57b9ws8p.js → ripgrep-xfkkasph.js} +7 -7
- package/dist/chunks/{rpc-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
- package/dist/chunks/{rpc-tp2y1s10.js → ripgrep-xmtsqv3v.js} +10 -10
- package/dist/chunks/{rpc-298xyahw.js → ripgrep-xr6qtqyc.js} +8 -8
- package/dist/chunks/{rpc-b39ffzrr.js → ripgrep-xs4zavqa.js} +6 -6
- package/dist/chunks/{rpc-gjeb9azq.js → ripgrep-xsrxekss.js} +9 -9
- package/dist/chunks/{rpc-vmnk7m7g.js → ripgrep-xtzmd6wt.js} +11 -11
- package/dist/chunks/{rpc-xvp1j2dc.js → ripgrep-xvp1j2dc.js} +2 -2
- package/dist/chunks/{rpc-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{rpc-wk5z6jzv.js → ripgrep-y56ehv6b.js} +2 -2
- package/dist/chunks/{rpc-8rhgz57t.js → ripgrep-y7twe0p8.js} +6 -6
- package/dist/chunks/{rpc-myd9142g.js → ripgrep-yhfdknax.js} +15 -15
- package/dist/chunks/{rpc-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{rpc-nt406rr4.js → ripgrep-yph78zey.js} +26 -26
- package/dist/chunks/{rpc-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{rpc-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{rpc-0vf1tx4v.js → ripgrep-yw7j19ra.js} +32 -32
- package/dist/chunks/{rpc-bjtzbw4r.js → ripgrep-z07pqspn.js} +3 -3
- package/dist/chunks/{rpc-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{rpc-k5tj5dm6.js → ripgrep-z1q4sxn4.js} +5 -5
- package/dist/chunks/{rpc-ncms4gaj.js → ripgrep-z2ngxmye.js} +15 -15
- package/dist/chunks/{rpc-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{rpc-32gc6g6n.js → ripgrep-z8ykwhve.js} +18 -18
- package/dist/chunks/{rpc-3x4nas8y.js → ripgrep-z9w6k4dw.js} +11 -11
- package/dist/chunks/{rpc-1z5zt5kg.js → ripgrep-zcw9ks1j.js} +8 -8
- package/dist/chunks/{rpc-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{rpc-qmq4w36z.js → ripgrep-zhw050v3.js} +6 -6
- package/dist/chunks/{rpc-rh0bbtdf.js → ripgrep-zq16ydxf.js} +12 -12
- package/dist/chunks/{rpc-y66s3efq.js → ripgrep-zqnpk9gj.js} +37 -37
- package/dist/chunks/{rpc-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{rpc-g6begz1c.js → ripgrep-zxmjcz0n.js} +4 -4
- package/dist/chunks/{rpc-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 +83 -83
- 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 +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- 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 +90 -90
- 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 +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- 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 +79 -79
- 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 +368 -368
- 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/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 +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- 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 +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- 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 +126 -126
- 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 +98 -98
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- 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 +120 -120
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- 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 +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- 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 +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +70 -70
- 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 +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- 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 +6 -6
- package/dist/plugin.js +230 -230
- 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/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +2 -2
- package/dist/session/runner/step.js +124 -124
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- 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 +16 -16
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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 +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +85 -85
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/rpc-8skgypty.js +0 -252
- package/dist/chunks/rpc-9sh4wc5j.js +0 -18
- package/dist/chunks/rpc-gc8f23sy.js +0 -26
- /package/dist/chunks/{rpc-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{rpc-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{rpc-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-qc4swbm3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service33,
|
|
7
|
+
node36
|
|
8
|
+
} from "./ripgrep-re9s8qmv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node63
|
|
12
|
+
} from "./ripgrep-nwx73hp2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service39,
|
|
15
|
+
node42
|
|
16
|
+
} from "./ripgrep-jhkfvevy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service32 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service33;
|
|
42
|
+
const tools = yield* Service39;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service61;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node35 = makeLocationNode({
|
|
124
|
+
service: Service32,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node42, node36, node87, node63]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service32, layer12, node35, exports_mcp3 };
|
|
@@ -1,60 +1,60 @@
|
|
|
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-qc4swbm3.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./ripgrep-ecx38efq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./ripgrep-06n2z7nb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node69
|
|
20
|
+
} from "./ripgrep-1wr2wsh9.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service82,
|
|
24
|
+
node86
|
|
25
|
+
} from "./ripgrep-tfng5yfz.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
|
+
Service77,
|
|
34
|
+
node81
|
|
35
|
+
} from "./ripgrep-myz5g07t.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: () => NotFoundError2,
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service33,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured2,
|
|
56
|
+
layer: () => layer13,
|
|
57
|
+
node: () => node36
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -91,21 +91,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service33 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
|
-
var
|
|
96
|
+
var Options2 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
98
98
|
name: Schema.String,
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var
|
|
103
|
-
const location = yield*
|
|
104
|
-
const environment = yield*
|
|
102
|
+
var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
103
|
+
const location = yield* Service79;
|
|
104
|
+
const environment = yield* Service67;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
|
-
const forms = yield*
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
106
|
+
const forms = yield* Service82;
|
|
107
|
+
const integration = yield* Service77;
|
|
108
|
+
const credentials = yield* Service78;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -117,7 +117,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
117
117
|
return;
|
|
118
118
|
const remote = entry.config;
|
|
119
119
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
120
|
-
const integrationID =
|
|
120
|
+
const integrationID = ID14.make(suffix);
|
|
121
121
|
entry.integrationID = integrationID;
|
|
122
122
|
owned.add(integrationID);
|
|
123
123
|
const methodID = MethodID2.make(suffix);
|
|
@@ -133,7 +133,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -142,19 +142,19 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
142
142
|
const name = ServerName2.make(server);
|
|
143
143
|
const entry = entries.get(name);
|
|
144
144
|
if (!entry)
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new NotFoundError2({ server: name });
|
|
146
146
|
return { name, entry };
|
|
147
147
|
});
|
|
148
148
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
156
156
|
if (input.params.mode === "url") {
|
|
157
|
-
const formID =
|
|
157
|
+
const formID = ID18.create();
|
|
158
158
|
const elicitationID = input.params.elicitationId;
|
|
159
159
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
160
160
|
if (key)
|
|
@@ -257,7 +257,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
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(
|
|
260
|
+
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(Service67, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -408,7 +408,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service33.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -514,14 +514,14 @@ function mergeCatalogs(catalogs) {
|
|
|
514
514
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function configured2(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
520
|
-
layer:
|
|
521
|
-
deps: [
|
|
519
|
+
service: Service33,
|
|
520
|
+
layer: layer13(options),
|
|
521
|
+
deps: [node83, node69, node87, node86, node81, node82]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node36 = configured2();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service33, Options2, layer13, configured2, node36, exports_mcp4 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-6qdhg23j.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-b1dgk78w.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -142,6 +142,19 @@ var nvidiaChat = (model, support) => {
|
|
|
142
142
|
}));
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
|
+
var workersAITemplate = (thinking) => ({
|
|
146
|
+
body: { chat_template_kwargs: { enable_thinking: thinking, thinking } }
|
|
147
|
+
});
|
|
148
|
+
var workersAIChat = (_, support) => {
|
|
149
|
+
switch (support.type) {
|
|
150
|
+
case "effort":
|
|
151
|
+
return efforts(support.values ?? EFFORTS, (effort) => effort === "none" ? workersAITemplate(false) : { settings: { reasoningEffort: effort } });
|
|
152
|
+
case "toggle":
|
|
153
|
+
return toggle(workersAITemplate(false), workersAITemplate(true));
|
|
154
|
+
case "budget_tokens":
|
|
155
|
+
return [];
|
|
156
|
+
}
|
|
157
|
+
};
|
|
145
158
|
var basetenTemplate = (enable_thinking) => ({
|
|
146
159
|
body: { chat_template_args: { enable_thinking } }
|
|
147
160
|
});
|
|
@@ -465,7 +478,7 @@ var PROTOCOLS = {
|
|
|
465
478
|
"@opencode/ai/providers/alibaba/chat": alibabaChat,
|
|
466
479
|
"@opencode/ai/providers/baseten": basetenChat,
|
|
467
480
|
"@opencode/ai/providers/cerebras": openaiChat,
|
|
468
|
-
"@opencode/ai/providers/cloudflare-workers-ai":
|
|
481
|
+
"@opencode/ai/providers/cloudflare-workers-ai": workersAIChat,
|
|
469
482
|
"@opencode/ai/providers/deepinfra": deepinfraChat,
|
|
470
483
|
"@opencode/ai/providers/deepseek": deepseekChat,
|
|
471
484
|
"@opencode/ai/providers/fireworks": openaiChat,
|
|
@@ -496,4 +509,4 @@ var PROTOCOLS = {
|
|
|
496
509
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
497
510
|
};
|
|
498
511
|
|
|
499
|
-
export {
|
|
512
|
+
export { resolve4, exports_variant };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_lsp, {
|
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
10
|
Entry: () => Entry3,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info15,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info15, exports_lsp };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-aemfex0m.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-qc4swbm3.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-nwx73hp2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info17,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service40,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node43,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event7 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info17 = Skill.Info;
|
|
43
|
+
var ID4 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service40 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID4.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID4.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID4.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service40.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node43 = makeLocationNode({
|
|
112
|
+
service: Service40,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info17, ID4, Name2, available2, toModelOutput3, prepare3, Service40, node43, exports_skill5, Event7 };
|
|
@@ -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: () => Service64,
|
|
10
|
+
node: () => node66
|
|
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 Service64 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service64, 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(Service73, 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 Service64.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node66 = makeLocationNode({ service: Service64, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service64, node66, exports_hooks };
|
|
@@ -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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-06n2z7nb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service70,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
14
|
node: () => node72,
|
|
15
15
|
reload: () => reload2
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service70 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service70, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var node72 = LayerNode.unbound(
|
|
27
|
+
var node72 = LayerNode.unbound(Service70, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service70;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service70, node72, reload2, canonical3, exports_location_service_map };
|