@opencode/core 0.0.0-dev-20297 → 0.0.0-dev-20303
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{vcs-h5vcs21w.js → ripgrep-00bkszwx.js} +23 -23
- package/dist/chunks/{vcs-5gwm7s57.js → ripgrep-0939078r.js} +3 -3
- package/dist/chunks/{vcs-9jzp6rtr.js → ripgrep-0996nyz8.js} +9 -9
- package/dist/chunks/{vcs-kzcxnww5.js → ripgrep-0ahrpcjw.js} +7 -7
- package/dist/chunks/{vcs-ymss648d.js → ripgrep-0b5t2wwf.js} +9 -9
- package/dist/chunks/{vcs-8jxztqqt.js → ripgrep-0f9afca0.js} +5 -5
- package/dist/chunks/{vcs-5k1yf8nh.js → ripgrep-0j9j0cr0.js} +22 -22
- package/dist/chunks/{vcs-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0a1dfz7r.js → ripgrep-18qa6r1n.js} +16 -16
- package/dist/chunks/{vcs-72f4v86y.js → ripgrep-1d3bftpa.js} +11 -11
- package/dist/chunks/{vcs-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-pxpwb23y.js → ripgrep-1jd7dvgb.js} +17 -17
- package/dist/chunks/{vcs-wr6f3qv2.js → ripgrep-1m0xqqrr.js} +14 -14
- package/dist/chunks/{vcs-cf7p89xb.js → ripgrep-1nkg8qc4.js} +12 -12
- package/dist/chunks/{vcs-56gdpj1q.js → ripgrep-1ygqh575.js} +9 -9
- package/dist/chunks/{vcs-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-37sfe3bm.js → ripgrep-2pdg46mn.js} +11 -11
- package/dist/chunks/{vcs-zd5bv8nv.js → ripgrep-2qtr0tge.js} +44 -44
- package/dist/chunks/{vcs-755ktwre.js → ripgrep-2t95j9c0.js} +24 -24
- package/dist/chunks/{vcs-qv52y0kk.js → ripgrep-2x0wkexj.js} +22 -22
- package/dist/chunks/{vcs-18296zga.js → ripgrep-2xqghjp6.js} +3 -3
- package/dist/chunks/ripgrep-31wx1wqg.js +424 -0
- package/dist/chunks/{vcs-rp8jz6x1.js → ripgrep-35agz59w.js} +4 -4
- package/dist/chunks/{vcs-vktfeg91.js → ripgrep-37m9xwpn.js} +24 -24
- package/dist/chunks/ripgrep-38phvaps.js +252 -0
- package/dist/chunks/{vcs-7j156qnj.js → ripgrep-3c4e9bh1.js} +7 -7
- package/dist/chunks/{vcs-83ww5tb3.js → ripgrep-3es9bxre.js} +15 -15
- package/dist/chunks/{vcs-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-yvshgw5k.js → ripgrep-3kkw8qnw.js} +21 -21
- package/dist/chunks/{vcs-983bx4tv.js → ripgrep-3p17jnne.js} +11 -11
- package/dist/chunks/{vcs-ng7678yv.js → ripgrep-3skt28fc.js} +3 -3
- package/dist/chunks/{vcs-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-4e9nfnk1.js → ripgrep-3v1h8cz5.js} +57 -57
- package/dist/chunks/{vcs-3y377wv9.js → ripgrep-3y377wv9.js} +1 -1
- package/dist/chunks/{vcs-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-6erhv98a.js → ripgrep-4438m4a7.js} +18 -18
- package/dist/chunks/{vcs-y8s8f6j8.js → ripgrep-4858gwxg.js} +43 -43
- package/dist/chunks/{vcs-1h0nj16t.js → ripgrep-4gr8y5nf.js} +20 -20
- package/dist/chunks/{vcs-fhcrmec4.js → ripgrep-4k5pyaj2.js} +10 -10
- package/dist/chunks/{vcs-wn21040f.js → ripgrep-4nj6keg1.js} +18 -18
- package/dist/chunks/{vcs-w9h9v0y2.js → ripgrep-4pdcrpe9.js} +13 -13
- package/dist/chunks/{vcs-54ma36ye.js → ripgrep-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-yavzwk2n.js → ripgrep-552s6kfz.js} +15 -15
- package/dist/chunks/{vcs-d9s573fh.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{vcs-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-hkagk5ex.js → ripgrep-5frpvc34.js} +2 -2
- package/dist/chunks/{vcs-j5r7mnag.js → ripgrep-5gxtf2ep.js} +27 -27
- package/dist/chunks/{vcs-q9xmsq5j.js → ripgrep-5hcrxyky.js} +6 -6
- package/dist/chunks/{vcs-e3qxr5gk.js → ripgrep-5qd3pb7m.js} +2 -2
- package/dist/chunks/{vcs-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-6fza0gtm.js → ripgrep-5vqak28j.js} +15 -15
- package/dist/chunks/{vcs-3wgpjb8z.js → ripgrep-632bft3r.js} +19 -19
- package/dist/chunks/{vcs-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{vcs-tj141g8h.js → ripgrep-695yb3ne.js} +19 -19
- package/dist/chunks/{vcs-rt6eccz9.js → ripgrep-6ejtffh2.js} +19 -19
- package/dist/chunks/{vcs-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-xat61z3k.js → ripgrep-6ne0j7pm.js} +11 -11
- package/dist/chunks/{vcs-73tb2d7t.js → ripgrep-73tb2d7t.js} +1 -1
- package/dist/chunks/{vcs-teyc4whj.js → ripgrep-74a0hazz.js} +11 -11
- package/dist/chunks/{vcs-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-2k8khapm.js → ripgrep-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-np4zyaxz.js → ripgrep-7j2mf0b2.js} +8 -8
- package/dist/chunks/{vcs-rkj6e36x.js → ripgrep-7y05g5y6.js} +5 -5
- package/dist/chunks/{vcs-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{vcs-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-k3g1rb3k.js → ripgrep-8djhgsab.js} +22 -22
- package/dist/chunks/{vcs-s8anskx2.js → ripgrep-8epfg41c.js} +8 -8
- package/dist/chunks/{vcs-fwv01ez0.js → ripgrep-8gy77n4q.js} +12 -12
- package/dist/chunks/{vcs-1djhwe97.js → ripgrep-8jsvkn40.js} +31 -31
- package/dist/chunks/{vcs-ndmv45hp.js → ripgrep-8q7cq0y1.js} +3 -3
- package/dist/chunks/{vcs-pxkhtqdc.js → ripgrep-8qxm69fb.js} +19 -19
- package/dist/chunks/{vcs-eef36fdw.js → ripgrep-8vxvqh3p.js} +23 -23
- package/dist/chunks/{vcs-knevfgda.js → ripgrep-8wbxkt1z.js} +4 -4
- package/dist/chunks/{vcs-2gqdr94z.js → ripgrep-92z2dgw1.js} +3 -3
- package/dist/chunks/{vcs-gfvb90ym.js → ripgrep-94ek1h2f.js} +2 -2
- package/dist/chunks/{vcs-3pebang0.js → ripgrep-9gjvwznx.js} +25 -25
- package/dist/chunks/{vcs-k8t255qq.js → ripgrep-9tn9hv36.js} +35 -35
- package/dist/chunks/{vcs-pgwqr8ee.js → ripgrep-9x50181g.js} +12 -12
- package/dist/chunks/ripgrep-9zdhvgqs.js +18 -0
- package/dist/chunks/{vcs-62ezrtah.js → ripgrep-a2tjj438.js} +92 -92
- package/dist/chunks/{vcs-4acqjqp7.js → ripgrep-aa6tf4fy.js} +22 -22
- package/dist/chunks/{vcs-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-x3an4z7c.js → ripgrep-ab4nhn8b.js} +6 -6
- package/dist/chunks/{vcs-3vbw7yca.js → ripgrep-ag1tg3gv.js} +32 -32
- package/dist/chunks/{vcs-p2etx821.js → ripgrep-amjwwp15.js} +22 -22
- package/dist/chunks/{vcs-y5hhwgev.js → ripgrep-ay7z0nzh.js} +13 -13
- package/dist/chunks/{vcs-b8d4rmcw.js → ripgrep-b1k697tw.js} +9 -9
- package/dist/chunks/{vcs-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-keqjy1g6.js → ripgrep-bahgfxtd.js} +26 -26
- package/dist/chunks/{vcs-42kdhqse.js → ripgrep-bea85hdf.js} +3 -3
- package/dist/chunks/{vcs-cq46pgcx.js → ripgrep-bgxcxs0p.js} +5 -5
- package/dist/chunks/{vcs-svaspcxn.js → ripgrep-bhzbay2t.js} +5 -5
- package/dist/chunks/{vcs-fzd0b8n6.js → ripgrep-bm4pzggq.js} +21 -21
- package/dist/chunks/{vcs-724n6vts.js → ripgrep-bs1d3dhn.js} +3 -3
- package/dist/chunks/{vcs-4z58m4b4.js → ripgrep-c35597j6.js} +4 -4
- package/dist/chunks/{vcs-54tcyq79.js → ripgrep-ckecvw8r.js} +2 -2
- package/dist/chunks/{vcs-v4aesa73.js → ripgrep-ckr8yqr6.js} +5 -5
- package/dist/chunks/{vcs-p9kt6re1.js → ripgrep-cx34d9wd.js} +11 -11
- package/dist/chunks/{vcs-56dsz7qa.js → ripgrep-cztphjx7.js} +332 -332
- package/dist/chunks/{vcs-gx21vd1f.js → ripgrep-d21fb1vq.js} +13 -13
- package/dist/chunks/{vcs-f2wfspan.js → ripgrep-d450k981.js} +8 -8
- package/dist/chunks/{vcs-5p6nskts.js → ripgrep-d8s5zaak.js} +18 -18
- package/dist/chunks/{vcs-q54gewa9.js → ripgrep-d9wxm2fe.js} +8 -8
- package/dist/chunks/{vcs-dds4m2b5.js → ripgrep-dc0h2f5m.js} +10 -10
- package/dist/chunks/{vcs-h6dd5nj3.js → ripgrep-deajr4zv.js} +11 -11
- package/dist/chunks/{vcs-cqtvvg9q.js → ripgrep-dj9sq318.js} +5 -5
- package/dist/chunks/{vcs-cwa6csj7.js → ripgrep-djszqvmq.js} +9 -9
- package/dist/chunks/{vcs-3s57j9d0.js → ripgrep-dq3vednk.js} +15 -15
- package/dist/chunks/{vcs-3cvhxgkj.js → ripgrep-dr2s0fjn.js} +12 -12
- package/dist/chunks/{vcs-xfkkasph.js → ripgrep-drwq78ky.js} +4 -4
- package/dist/chunks/{vcs-xna4x1sn.js → ripgrep-dtyy8xh0.js} +18 -18
- package/dist/chunks/{vcs-76zvcd1g.js → ripgrep-dvs6zpk2.js} +39 -39
- package/dist/chunks/{vcs-0876npy8.js → ripgrep-e0rfdckv.js} +13 -13
- package/dist/chunks/{vcs-3h8yw40x.js → ripgrep-e4dzh796.js} +9 -9
- package/dist/chunks/{vcs-zcws0pck.js → ripgrep-e65wgfyf.js} +9 -9
- package/dist/chunks/{vcs-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{vcs-mcjvxj01.js → ripgrep-eefdys5x.js} +4 -4
- package/dist/chunks/{vcs-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-8041njv8.js → ripgrep-eqd5gpxy.js} +42 -42
- package/dist/chunks/{vcs-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-rfd4cgzf.js → ripgrep-f6ejcacf.js} +35 -31
- package/dist/chunks/{vcs-bvkd440q.js → ripgrep-f7xy0jcj.js} +15 -15
- package/dist/chunks/{vcs-wrb545ka.js → ripgrep-fbxnn3zg.js} +41 -41
- package/dist/chunks/{vcs-cw54z5t2.js → ripgrep-febda8v4.js} +15 -15
- package/dist/chunks/{vcs-8nqy64kg.js → ripgrep-ff3zzamp.js} +32 -32
- package/dist/chunks/{vcs-6j71bdrn.js → ripgrep-fj137pk4.js} +4 -4
- package/dist/chunks/{vcs-mdm5j4bj.js → ripgrep-fk34k8b0.js} +84 -84
- package/dist/chunks/{vcs-3556dn8t.js → ripgrep-fp2xarvc.js} +1 -1
- package/dist/chunks/{vcs-0tqkw5bw.js → ripgrep-fq5zwzwv.js} +18 -18
- package/dist/chunks/{vcs-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-6e5bh3xz.js → ripgrep-gmfetzq4.js} +27 -27
- package/dist/chunks/{vcs-yyb7tjpc.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-rr7w9yzr.js → ripgrep-gvrdb957.js} +11 -11
- package/dist/chunks/{vcs-dsazm5eh.js → ripgrep-h2r7bbkd.js} +9 -9
- package/dist/chunks/{vcs-wjrrvf51.js → ripgrep-h3whq8hs.js} +10 -10
- package/dist/chunks/{vcs-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-ejm60891.js → ripgrep-h93zm1px.js} +7 -7
- package/dist/chunks/{vcs-e8qyrgb1.js → ripgrep-hbyhqfhs.js} +5 -5
- package/dist/chunks/{vcs-qtf7ajd6.js → ripgrep-hzxzc04q.js} +24 -24
- package/dist/chunks/{vcs-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-9z431jrj.js → ripgrep-j6rk38x8.js} +9 -9
- package/dist/chunks/{vcs-5v1c364k.js → ripgrep-j726xjcb.js} +28 -28
- package/dist/chunks/{vcs-s4cpw0g8.js → ripgrep-je856w56.js} +11 -11
- package/dist/chunks/{vcs-grbear6k.js → ripgrep-jkfm4w29.js} +28 -28
- package/dist/chunks/{vcs-zffvdhag.js → ripgrep-jpz1sap8.js} +12 -12
- package/dist/chunks/{vcs-0z1gmn2q.js → ripgrep-jr0j7mve.js} +6 -6
- package/dist/chunks/{vcs-6mg6ac8r.js → ripgrep-jtkxxjqx.js} +14 -14
- package/dist/chunks/{vcs-xdk9p2qn.js → ripgrep-jw80jp6b.js} +21 -21
- package/dist/chunks/{vcs-b61wnr05.js → ripgrep-jzq9sbf8.js} +38 -38
- package/dist/chunks/{vcs-4q8m0zqq.js → ripgrep-k06t1zgt.js} +13 -13
- package/dist/chunks/{vcs-gs4tkc79.js → ripgrep-k1qrnqst.js} +8 -8
- package/dist/chunks/{vcs-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{vcs-bxbtj1qd.js → ripgrep-k40x70x4.js} +8 -8
- package/dist/chunks/{vcs-n8c291r7.js → ripgrep-k8e0krnc.js} +9 -9
- package/dist/chunks/{vcs-mwfejemj.js → ripgrep-kb333kjr.js} +9 -9
- package/dist/chunks/{vcs-7zpeh0yx.js → ripgrep-kb6vbnxp.js} +4 -4
- package/dist/chunks/{vcs-1ekk4s7j.js → ripgrep-kcetpk2c.js} +12 -12
- package/dist/chunks/{vcs-ptm59064.js → ripgrep-kmjdna7m.js} +48 -48
- package/dist/chunks/{vcs-mvn2r3z4.js → ripgrep-m2d0j7c0.js} +9 -9
- package/dist/chunks/{vcs-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-v0xjps6b.js → ripgrep-m4v4sst7.js} +31 -31
- package/dist/chunks/{vcs-1v2b2k63.js → ripgrep-m74y7a9x.js} +14 -14
- package/dist/chunks/{vcs-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-c7h0x4yk.js → ripgrep-mjpfq375.js} +21 -21
- package/dist/chunks/{vcs-61zp4wnv.js → ripgrep-mtf32xg9.js} +11 -11
- package/dist/chunks/{vcs-njx86ncx.js → ripgrep-mwyh8wfh.js} +27 -27
- package/dist/chunks/{vcs-ntmafhxh.js → ripgrep-n0gf5ey7.js} +21 -21
- package/dist/chunks/{vcs-86n330eh.js → ripgrep-n1ka8r9d.js} +4 -4
- package/dist/chunks/{vcs-tstnsxca.js → ripgrep-n3fk10xz.js} +25 -25
- package/dist/chunks/{vcs-axj6q4j4.js → ripgrep-n50qm4s2.js} +49 -49
- package/dist/chunks/{vcs-jcs87n6r.js → ripgrep-ngymw408.js} +4 -4
- package/dist/chunks/{vcs-ehn7vv3c.js → ripgrep-nhvjymvq.js} +21 -21
- package/dist/chunks/{vcs-khxyc70q.js → ripgrep-nn5bpfje.js} +9 -9
- package/dist/chunks/{vcs-3y1r2rpt.js → ripgrep-nqfwyc43.js} +8 -8
- package/dist/chunks/{vcs-1esepqbd.js → ripgrep-nsth5a41.js} +37 -37
- package/dist/chunks/{vcs-44txpx69.js → ripgrep-p97ze781.js} +23 -23
- package/dist/chunks/{vcs-8v6pyhej.js → ripgrep-pa8pe2x7.js} +8 -8
- package/dist/chunks/{vcs-5sz650yn.js → ripgrep-pf2cvmpq.js} +73 -73
- package/dist/chunks/{vcs-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-9h4501ja.js → ripgrep-pmg28md7.js} +1 -1
- package/dist/chunks/{vcs-66j8y0n9.js → ripgrep-pnh2hy2c.js} +23 -23
- package/dist/chunks/{vcs-88k66p5t.js → ripgrep-pqcvfzvm.js} +36 -36
- package/dist/chunks/{vcs-erwyzksv.js → ripgrep-pttkx1dj.js} +27 -27
- package/dist/chunks/{vcs-yqnvcheb.js → ripgrep-pvvafe22.js} +10 -10
- package/dist/chunks/ripgrep-pwr21gwd.js +26 -0
- package/dist/chunks/{vcs-dda0p7y7.js → ripgrep-px76j0pk.js} +9 -9
- package/dist/chunks/{vcs-pjz0zcv2.js → ripgrep-pxvtywqb.js} +11 -11
- package/dist/chunks/{vcs-cb6xbnd9.js → ripgrep-q13923st.js} +2 -2
- package/dist/chunks/{vcs-3kbhjp3q.js → ripgrep-q1v5hekz.js} +11 -11
- package/dist/chunks/{vcs-hh4v7266.js → ripgrep-q26n4fcx.js} +14 -14
- package/dist/chunks/{vcs-q2k50tdt.js → ripgrep-q6kv5hce.js} +35 -35
- package/dist/chunks/{vcs-j7y1n5ns.js → ripgrep-q9m9wzt0.js} +19 -19
- package/dist/chunks/{vcs-40e80s20.js → ripgrep-qa3v0gpg.js} +24 -24
- package/dist/chunks/{vcs-44m1ppkf.js → ripgrep-qbv4sgsg.js} +44 -44
- package/dist/chunks/{vcs-28nztbsp.js → ripgrep-qcbzzkxa.js} +32 -32
- package/dist/chunks/{vcs-jh1zbppd.js → ripgrep-qfchpyts.js} +27 -27
- package/dist/chunks/{vcs-n4z35x1w.js → ripgrep-qrgme6ew.js} +9 -9
- package/dist/chunks/{vcs-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-szpqyd6h.js → ripgrep-qwhsc8p7.js} +18 -18
- package/dist/chunks/{vcs-1fw2a5v8.js → ripgrep-qx1x9vga.js} +22 -22
- package/dist/chunks/{vcs-msq4ntpz.js → ripgrep-qzqedjgs.js} +28 -28
- package/dist/chunks/{vcs-wc17nh9t.js → ripgrep-r2rgjgj7.js} +33 -33
- package/dist/chunks/{vcs-ydgy0jv4.js → ripgrep-r7nsrefv.js} +6 -6
- package/dist/chunks/{vcs-ww82v16z.js → ripgrep-r9w59ptg.js} +25 -25
- package/dist/chunks/{vcs-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-ct913see.js → ripgrep-rk6ps10a.js} +5 -5
- package/dist/chunks/{vcs-38adaqc0.js → ripgrep-rkdvqggb.js} +5 -5
- package/dist/chunks/{vcs-py3kkmfq.js → ripgrep-rkprpv83.js} +2 -2
- package/dist/chunks/{vcs-304ndgye.js → ripgrep-rnk4bdv4.js} +21 -21
- package/dist/chunks/{vcs-yr5w62k6.js → ripgrep-rthtq9ap.js} +20 -20
- package/dist/chunks/{vcs-hv3dmpp2.js → ripgrep-s5hrj64x.js} +20 -20
- package/dist/chunks/{vcs-vqfzq50h.js → ripgrep-sd5f6jdk.js} +6 -6
- package/dist/chunks/{vcs-7854zz5a.js → ripgrep-sfpzfcnw.js} +3 -3
- package/dist/chunks/{vcs-s1kdbxwg.js → ripgrep-sj415v3s.js} +10 -10
- package/dist/chunks/{vcs-7rwqf82v.js → ripgrep-sm965ndy.js} +8 -8
- package/dist/chunks/{vcs-3aq2526j.js → ripgrep-srep0201.js} +48 -48
- package/dist/chunks/{vcs-4mtvmndk.js → ripgrep-szsbf3na.js} +4 -4
- package/dist/chunks/{vcs-rhjbct0v.js → ripgrep-t550f9t1.js} +4 -4
- package/dist/chunks/{vcs-70vk70yg.js → ripgrep-t849abxh.js} +5 -5
- package/dist/chunks/{vcs-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-dyrwyt65.js → ripgrep-tdmq7741.js} +38 -38
- package/dist/chunks/{vcs-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-qbqbaz6q.js → ripgrep-tjedn1bk.js} +4 -4
- package/dist/chunks/{vcs-x5es4t48.js → ripgrep-tk70hm4f.js} +33 -33
- package/dist/chunks/{vcs-btsrk6c2.js → ripgrep-ts8814z6.js} +16 -16
- package/dist/chunks/{vcs-py6tvht3.js → ripgrep-ttpyk6f9.js} +9 -9
- package/dist/chunks/{vcs-hn57h045.js → ripgrep-ttqh24zm.js} +4 -4
- package/dist/chunks/{vcs-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-ratrq7cm.js → ripgrep-v5dkyp31.js} +4 -4
- package/dist/chunks/{vcs-f7sbcs1s.js → ripgrep-v5fx191f.js} +26 -26
- package/dist/chunks/{vcs-s9ampnzs.js → ripgrep-v6695139.js} +11 -11
- package/dist/chunks/{vcs-4j9evkcm.js → ripgrep-v89pjvzk.js} +8 -8
- package/dist/chunks/{vcs-vtg51jxy.js → ripgrep-v9htzwy6.js} +33 -33
- package/dist/chunks/{vcs-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-dfe8djrf.js → ripgrep-vncycja5.js} +4 -4
- package/dist/chunks/{vcs-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-was7srj9.js → ripgrep-w1ad28wa.js} +8 -8
- package/dist/chunks/{vcs-84txncab.js → ripgrep-w1eejvng.js} +5 -5
- package/dist/chunks/{vcs-5p9dmvg9.js → ripgrep-w2y23yj1.js} +13 -13
- package/dist/chunks/{vcs-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-8vf9p1vn.js → ripgrep-w8wd44rg.js} +21 -21
- package/dist/chunks/{vcs-psazpmmj.js → ripgrep-wd3x2cqz.js} +2 -2
- package/dist/chunks/{vcs-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-n62nckym.js → ripgrep-whp3wsjn.js} +11 -11
- package/dist/chunks/{vcs-p4q1g30v.js → ripgrep-wj1rks9h.js} +37 -37
- package/dist/chunks/{vcs-c8m1ndyk.js → ripgrep-wpzekwss.js} +6 -6
- package/dist/chunks/{vcs-dfh0xed5.js → ripgrep-ws6q902r.js} +5 -5
- package/dist/chunks/{vcs-bp5zn84r.js → ripgrep-wybk36vp.js} +10 -10
- package/dist/chunks/{vcs-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-bm3qhbmn.js → ripgrep-x591492r.js} +17 -17
- package/dist/chunks/{vcs-9f9b48nn.js → ripgrep-x7xnx0we.js} +20 -20
- package/dist/chunks/{vcs-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
- package/dist/chunks/{vcs-s2ynmxvy.js → ripgrep-xsbrecyh.js} +12 -12
- package/dist/chunks/{vcs-8zh4h089.js → ripgrep-xvp1j2dc.js} +5 -5
- package/dist/chunks/{vcs-rf0rwq9q.js → ripgrep-y1cgxa56.js} +16 -16
- package/dist/chunks/{vcs-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{vcs-7enbc4fp.js → ripgrep-ycg97etn.js} +170 -170
- package/dist/chunks/{vcs-293305v0.js → ripgrep-yhc2xmq5.js} +1 -1
- package/dist/chunks/{vcs-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{vcs-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-s4enseaf.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-231222c6.js → ripgrep-ytbta4pq.js} +4 -4
- package/dist/chunks/{vcs-qz3g8v3b.js → ripgrep-yxj4ckh3.js} +20 -20
- package/dist/chunks/{vcs-wycg3qep.js → ripgrep-yyksnw28.js} +18 -18
- package/dist/chunks/{vcs-bjtzbw4r.js → ripgrep-z07pqspn.js} +3 -3
- package/dist/chunks/{vcs-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-8n9ym7bh.js → ripgrep-z1t4ccqy.js} +8 -8
- package/dist/chunks/{vcs-29x78va6.js → ripgrep-z63w68vq.js} +6 -6
- package/dist/chunks/{vcs-2sv6eqec.js → ripgrep-zbzhtaz8.js} +7 -7
- package/dist/chunks/{vcs-z5g6ermd.js → ripgrep-zd5925e4.js} +10 -10
- package/dist/chunks/{vcs-rq775frq.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-hk4fmd6v.js → ripgrep-zexvq6re.js} +30 -30
- package/dist/chunks/{vcs-hndg17wg.js → ripgrep-zgfpqdce.js} +40 -40
- package/dist/chunks/{vcs-y7a3vg46.js → ripgrep-zmyzpzwz.js} +5 -5
- package/dist/chunks/{vcs-vrq98xzz.js → ripgrep-zn4xb62a.js} +18 -18
- package/dist/chunks/{vcs-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-9k60352s.js → ripgrep-zrc0yy2v.js} +21 -21
- package/dist/chunks/{vcs-n0tq777j.js → ripgrep-zrq8kphx.js} +8 -8
- package/dist/chunks/{vcs-2kzd1k6y.js → ripgrep-zwet3d57.js} +27 -27
- package/dist/chunks/{vcs-cnj8r2zb.js → ripgrep-zxf6vy87.js} +12 -12
- package/dist/chunks/{vcs-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- 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 +125 -125
- package/dist/config/plugin/command.js +215 -215
- 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 +132 -132
- 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 +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 +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 +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +372 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +92 -92
- 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 +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +95 -95
- 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 +99 -99
- 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 +363 -362
- package/dist/instruction-discovery.js +83 -83
- 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 +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +129 -129
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- 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 +74 -74
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +335 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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/chatgpt.js +104 -0
- 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 +78 -78
- 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 +93 -93
- 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 +79 -79
- 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 +163 -162
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -351
- 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/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 +6 -6
- 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 +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- 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 +95 -95
- 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 +133 -133
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +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 +232 -232
- 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 +4 -4
- 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 +172 -172
- 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 +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +108 -108
- package/dist/snapshot.js +93 -93
- 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 +124 -124
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +114 -114
- 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/types/plugin/provider/chatgpt.d.ts +33 -0
- 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 +4 -4
- 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 +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 +80 -80
- 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 +76 -76
- 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 +98 -98
- package/package.json +9 -8
- package/dist/chunks/vcs-5bzc4ph3.js +0 -26
- package/dist/chunks/vcs-619r8v3y.js +0 -18
- package/dist/chunks/vcs-ryxm5mwn.js +0 -252
- /package/dist/chunks/{vcs-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-zexvq6re.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
10
|
Info24
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-ag1tg3gv.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID11.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -119,10 +119,10 @@ function build(id, remote, baseURL, previous) {
|
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
121
|
return Info24.make({
|
|
122
|
-
...Info24.default(
|
|
122
|
+
...Info24.default(ID12.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID11.make(remote.id),
|
|
125
|
+
providerID: ID12.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./ripgrep-n50qm4s2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service40
|
|
10
|
+
} from "./ripgrep-37m9xwpn.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
18
|
Input: () => Input5,
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
19
|
+
Output: () => Output3,
|
|
20
|
+
Plugin: () => Plugin39,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
22
|
description: () => description3,
|
|
23
23
|
name: () => name5,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
@@ -28,9 +28,9 @@ import { Effect, Schema } from "effect";
|
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
var name5 = "skill";
|
|
30
30
|
var Input5 = Schema.Struct({
|
|
31
|
-
id:
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,18 +43,18 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin39 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service40;
|
|
51
|
+
const permission = yield* Service58;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
53
|
name: name5,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description3,
|
|
56
56
|
input: Input5,
|
|
57
|
-
output:
|
|
57
|
+
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
@@ -79,4 +79,4 @@ var Plugin23 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export { name5, Input5,
|
|
82
|
+
export { name5, Input5, Output3, description3, toModelOutput2, Plugin39, exports_skill3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-wd3x2cqz.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service44
|
|
4
|
+
} from "./ripgrep-2qtr0tge.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin22
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin22 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service44;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin5 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin22, exports_websearch };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error = {};
|
|
10
|
+
__export(exports_error, {
|
|
11
|
+
ConfigErrorV1: () => exports_error,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service61,
|
|
6
|
+
node64
|
|
7
|
+
} from "./ripgrep-qbv4sgsg.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
@@ -38,7 +38,7 @@ class Service20 extends Context.Service()("@opencode/Generate") {
|
|
|
38
38
|
}
|
|
39
39
|
var layer9 = Layer.effect(Service20, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service61;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -73,7 +73,7 @@ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
73
73
|
var node23 = makeLocationNode({
|
|
74
74
|
service: Service20,
|
|
75
75
|
layer: layer9,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node64, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
79
|
export { ModelSelectionError2, UnavailableError2, Service20, layer9, node23, exports_generate };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./ripgrep-zgfpqdce.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./ripgrep-n50qm4s2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin43
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin43 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service35;
|
|
26
|
+
const permission = yield* Service58;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin26 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin43, exports_mcp_resource };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./ripgrep-kcetpk2c.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-3y377wv9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID13,
|
|
14
|
+
Service67,
|
|
15
|
+
node70,
|
|
16
|
+
Event16
|
|
17
|
+
} from "./ripgrep-bahgfxtd.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node82
|
|
21
|
+
} from "./ripgrep-q26n4fcx.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
40
|
+
Event: () => Event15,
|
|
41
|
+
ID: () => ID12,
|
|
42
42
|
Info: () => Info25,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service66,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node69,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event15 } from "@opencode/schema/provider";
|
|
68
|
+
var ID12 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -212,7 +212,7 @@ var Transport2 = Provider.Transport;
|
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
213
|
var Info25 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service66 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
229
|
-
const bus = yield*
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
228
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
229
|
+
const bus = yield* Service80;
|
|
230
|
+
const integrations = yield* Service67;
|
|
231
|
+
const location = yield* Service78;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service66.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node69 = makeLocationNode({ service: Service66, layer, deps: [node84, node70, node82] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info25, Service66, node69, exports_provider3, Event15 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service83,
|
|
6
|
-
node87
|
|
7
|
-
} from "./vcs-1ekk4s7j.js";
|
|
8
|
-
import {
|
|
9
|
-
Event19,
|
|
10
|
-
Service75,
|
|
11
|
-
node78
|
|
12
|
-
} from "./vcs-6e5bh3xz.js";
|
|
3
|
+
} from "./ripgrep-y71avatq.js";
|
|
13
4
|
import {
|
|
14
5
|
Service80,
|
|
15
6
|
node84
|
|
16
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-kcetpk2c.js";
|
|
8
|
+
import {
|
|
9
|
+
Event17,
|
|
10
|
+
Service68,
|
|
11
|
+
node71
|
|
12
|
+
} from "./ripgrep-gmfetzq4.js";
|
|
17
13
|
import {
|
|
18
14
|
Service78,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
15
|
+
node82
|
|
16
|
+
} from "./ripgrep-q26n4fcx.js";
|
|
17
|
+
import {
|
|
18
|
+
Service73,
|
|
19
|
+
node76
|
|
20
|
+
} from "./ripgrep-qa3v0gpg.js";
|
|
21
21
|
import {
|
|
22
22
|
ID15,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service69,
|
|
24
|
+
node72
|
|
25
|
+
} from "./ripgrep-rthtq9ap.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service67,
|
|
34
|
+
node70
|
|
35
|
+
} from "./ripgrep-bahgfxtd.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 = {};
|
|
@@ -49,7 +49,7 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service35,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
@@ -91,7 +91,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service35 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
96
|
var Options4 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -99,13 +99,13 @@ var Options4 = Schema.Struct({
|
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var layer15 = (options) => Layer.effect(
|
|
103
|
-
const location = yield*
|
|
104
|
-
const environment = yield*
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const forms = yield*
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
102
|
+
var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
103
|
+
const location = yield* Service78;
|
|
104
|
+
const environment = yield* Service73;
|
|
105
|
+
const bus = yield* Service80;
|
|
106
|
+
const forms = yield* Service69;
|
|
107
|
+
const integration = yield* Service67;
|
|
108
|
+
const credentials = yield* Service68;
|
|
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 layer15 = (options) => Layer.effect(Service34, 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 = ID13.make(suffix);
|
|
121
121
|
entry.integrationID = integrationID;
|
|
122
122
|
owned.add(integrationID);
|
|
123
123
|
const methodID = MethodID2.make(suffix);
|
|
@@ -133,7 +133,7 @@ var layer15 = (options) => Layer.effect(Service34, 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(Service68, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -149,7 +149,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
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(Service68, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
@@ -257,7 +257,7 @@ var layer15 = (options) => Layer.effect(Service34, 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(Service73, 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;
|
|
@@ -382,7 +382,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
382
382
|
yield* startServer(name, entry);
|
|
383
383
|
}).pipe(locks.withLock(name));
|
|
384
384
|
});
|
|
385
|
-
fork(bus.subscribe(
|
|
385
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
386
386
|
const state = create3({
|
|
387
387
|
name: "mcp",
|
|
388
388
|
initial: () => ({
|
|
@@ -408,7 +408,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service35.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,9 +516,9 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
}
|
|
517
517
|
function configured4(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
519
|
+
service: Service35,
|
|
520
520
|
layer: layer15(options),
|
|
521
|
-
deps: [
|
|
521
|
+
deps: [node82, node76, node84, node72, node70, node71]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
524
|
var node38 = configured4();
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options4, layer15, configured4, node38, exports_mcp4 };
|