@opencode/core 0.0.0-dev-20206 → 0.0.0-dev-20208
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{model-resolver-d2m9pb5z.js → ripgrep-0ahxpr47.js} +20 -20
- package/dist/chunks/{model-resolver-fp2xarvc.js → ripgrep-0bfcnrg1.js} +1 -1
- package/dist/chunks/{model-resolver-j5w2yx54.js → ripgrep-0jkw1j53.js} +6 -6
- package/dist/chunks/{model-resolver-zfa6q2z4.js → ripgrep-0n0m8a3f.js} +33 -33
- package/dist/chunks/{model-resolver-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-pmr4s4kc.js → ripgrep-0v53mg2y.js} +4 -4
- package/dist/chunks/{model-resolver-bhgmygfr.js → ripgrep-0w792yr2.js} +6 -6
- package/dist/chunks/{model-resolver-s3pj7kac.js → ripgrep-12ex7h85.js} +18 -18
- package/dist/chunks/{model-resolver-2zdc6rg7.js → ripgrep-19wg5z72.js} +11 -11
- package/dist/chunks/{model-resolver-7yh4e7ss.js → ripgrep-1bbkgx8g.js} +3 -3
- package/dist/chunks/{model-resolver-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-jqseed9b.js → ripgrep-1jj73053.js} +30 -23
- package/dist/chunks/{model-resolver-0yw898m4.js → ripgrep-1ngy2a1q.js} +44 -44
- package/dist/chunks/{model-resolver-xmh38ey0.js → ripgrep-1qgpawzy.js} +13 -13
- package/dist/chunks/{model-resolver-yfkyvkx0.js → ripgrep-1qvbyjth.js} +18 -18
- package/dist/chunks/{model-resolver-pvz5x29g.js → ripgrep-1zd8jyw5.js} +5 -5
- package/dist/chunks/{model-resolver-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-1wjepk3t.js → ripgrep-222jz6em.js} +36 -36
- package/dist/chunks/{model-resolver-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-ha2jz5gs.js → ripgrep-29jfjc42.js} +11 -11
- package/dist/chunks/{model-resolver-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-c1q35zrn.js → ripgrep-2cdfzw0z.js} +23 -23
- package/dist/chunks/{model-resolver-kd7vez3r.js → ripgrep-2tts1rbt.js} +4 -4
- package/dist/chunks/{model-resolver-nhqjn2vx.js → ripgrep-2wts5qzq.js} +8 -8
- package/dist/chunks/{model-resolver-gse5gt66.js → ripgrep-2wyx13rv.js} +4 -4
- package/dist/chunks/{model-resolver-zxrxjv84.js → ripgrep-2y34zzjz.js} +9 -9
- package/dist/chunks/{model-resolver-37s12vcn.js → ripgrep-3cfzdc8e.js} +5 -5
- package/dist/chunks/{model-resolver-m0t981be.js → ripgrep-3cn1ssxv.js} +29 -29
- package/dist/chunks/{model-resolver-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-70pv625h.js → ripgrep-3fj6qvgg.js} +20 -20
- package/dist/chunks/{model-resolver-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-dfbbfk99.js → ripgrep-3jmrct4k.js} +12 -12
- package/dist/chunks/{model-resolver-b37fysv1.js → ripgrep-3my6sg7q.js} +13 -13
- package/dist/chunks/{model-resolver-m2d0j7c0.js → ripgrep-3pe7sts8.js} +9 -9
- package/dist/chunks/{model-resolver-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-1ey1z90k.js → ripgrep-3tfwac8j.js} +24 -24
- package/dist/chunks/{model-resolver-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-m3qnxpr9.js → ripgrep-42050xq7.js} +11 -11
- package/dist/chunks/{model-resolver-7pnt7zw0.js → ripgrep-45jbahag.js} +10 -10
- package/dist/chunks/{model-resolver-ms93yq6r.js → ripgrep-4c2df9zx.js} +8 -8
- package/dist/chunks/{model-resolver-cbx2ya3s.js → ripgrep-4cynn25j.js} +33 -33
- package/dist/chunks/{model-resolver-xtcf9r2h.js → ripgrep-4hj33adv.js} +14 -14
- package/dist/chunks/{model-resolver-tahc25fw.js → ripgrep-4ndvwbzn.js} +3 -3
- package/dist/chunks/ripgrep-4pwcxzf5.js +252 -0
- package/dist/chunks/{model-resolver-r8v59qyv.js → ripgrep-4zsftp3p.js} +16 -16
- package/dist/chunks/{model-resolver-rzmcp3en.js → ripgrep-4zx5xh11.js} +16 -16
- package/dist/chunks/{model-resolver-qn4ba14w.js → ripgrep-510m7gjw.js} +5 -5
- package/dist/chunks/{model-resolver-dzrsrzty.js → ripgrep-54j2g604.js} +8 -8
- package/dist/chunks/{model-resolver-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{model-resolver-06x0cg99.js → ripgrep-59v0df5r.js} +10 -10
- package/dist/chunks/{model-resolver-4rhbtwdt.js → ripgrep-5c8b91wp.js} +9 -9
- package/dist/chunks/{model-resolver-pk2244jm.js → ripgrep-5cmxdwv8.js} +3 -3
- package/dist/chunks/{model-resolver-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/ripgrep-5dcbbbm6.js +507 -0
- package/dist/chunks/{model-resolver-2fvr2s65.js → ripgrep-5gmd8n57.js} +30 -30
- package/dist/chunks/{model-resolver-eq6d70b7.js → ripgrep-5k1e7mf5.js} +42 -42
- package/dist/chunks/{model-resolver-ms5024b2.js → ripgrep-5nsg3879.js} +6 -6
- package/dist/chunks/{model-resolver-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-93smetpw.js → ripgrep-5x15qns5.js} +3 -3
- package/dist/chunks/{model-resolver-wq13kg2q.js → ripgrep-5ypma9ks.js} +25 -25
- package/dist/chunks/{model-resolver-w00ed993.js → ripgrep-5zabxtne.js} +5 -5
- package/dist/chunks/{model-resolver-3dx22m0j.js → ripgrep-613jmpvb.js} +12 -12
- package/dist/chunks/{model-resolver-k7h4drr1.js → ripgrep-64bb9vvw.js} +27 -27
- package/dist/chunks/{model-resolver-93gypvht.js → ripgrep-64n4gtmn.js} +34 -34
- package/dist/chunks/{model-resolver-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-kw6cevd8.js → ripgrep-6982ny1p.js} +38 -38
- package/dist/chunks/{model-resolver-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-0mtkqq6e.js → ripgrep-6p19cha5.js} +6 -6
- package/dist/chunks/{model-resolver-a0s8413t.js → ripgrep-6szrap79.js} +5 -5
- package/dist/chunks/{model-resolver-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-1aq54yaq.js → ripgrep-7fx79kx0.js} +24 -24
- package/dist/chunks/{model-resolver-9y9w4qw6.js → ripgrep-7kmx613t.js} +3 -3
- package/dist/chunks/{model-resolver-5jqe332k.js → ripgrep-7q7gzags.js} +8 -8
- package/dist/chunks/{model-resolver-fmcqyzhx.js → ripgrep-7v81x33d.js} +9 -9
- package/dist/chunks/{model-resolver-662kcsnq.js → ripgrep-7wh335xe.js} +17 -17
- package/dist/chunks/{model-resolver-8tsdq50x.js → ripgrep-80scg3y3.js} +4 -4
- package/dist/chunks/{model-resolver-b7b4ctej.js → ripgrep-84zcxbc9.js} +5 -5
- package/dist/chunks/{model-resolver-y0gws88p.js → ripgrep-89etmhv5.js} +11 -11
- package/dist/chunks/{model-resolver-40jcz8ad.js → ripgrep-8d0p2m37.js} +8 -8
- package/dist/chunks/{model-resolver-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-1h9atmhq.js → ripgrep-8fng9cdc.js} +19 -19
- package/dist/chunks/{model-resolver-7fkffz83.js → ripgrep-8sze2n9a.js} +8 -8
- package/dist/chunks/{model-resolver-yzyw4hev.js → ripgrep-8wcympts.js} +14 -14
- package/dist/chunks/{model-resolver-fp8b183e.js → ripgrep-8xxde4qy.js} +10 -10
- package/dist/chunks/{model-resolver-94ek1h2f.js → ripgrep-94ek1h2f.js} +2 -2
- package/dist/chunks/{model-resolver-w9j9c9r7.js → ripgrep-97amtrvq.js} +12 -12
- package/dist/chunks/{model-resolver-bmcwmng9.js → ripgrep-98h2hpj2.js} +8 -8
- package/dist/chunks/{model-resolver-31879egc.js → ripgrep-9j8vss6m.js} +17 -17
- package/dist/chunks/{model-resolver-n0eb95ej.js → ripgrep-9jgayhyn.js} +11 -11
- package/dist/chunks/{model-resolver-8ttzzsr1.js → ripgrep-9penf6tv.js} +44 -44
- package/dist/chunks/{model-resolver-w90vmgx1.js → ripgrep-9tca1jv6.js} +39 -39
- package/dist/chunks/{model-resolver-6ntqtawn.js → ripgrep-9wrdw65j.js} +46 -46
- package/dist/chunks/{model-resolver-acnx8j53.js → ripgrep-9xgggab3.js} +9 -9
- package/dist/chunks/{model-resolver-1r2atdqm.js → ripgrep-a05wftvw.js} +24 -24
- package/dist/chunks/{model-resolver-yajf6e80.js → ripgrep-a2pmyfka.js} +23 -23
- package/dist/chunks/{model-resolver-bnmr3cva.js → ripgrep-a2qe2ev9.js} +8 -8
- package/dist/chunks/{model-resolver-jc9nhtt9.js → ripgrep-a488z9aq.js} +13 -13
- package/dist/chunks/{model-resolver-e8n3qg4t.js → ripgrep-a7p5y4dd.js} +37 -37
- package/dist/chunks/{model-resolver-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-2d57kztd.js → ripgrep-ab9238g2.js} +6 -6
- package/dist/chunks/{model-resolver-q1aqvm29.js → ripgrep-acvtchx0.js} +32 -32
- package/dist/chunks/{model-resolver-j9gbxbd4.js → ripgrep-aj930q3s.js} +3 -3
- package/dist/chunks/{model-resolver-ak9g7d9n.js → ripgrep-ajr7rvj8.js} +32 -32
- package/dist/chunks/{model-resolver-48zhkjc5.js → ripgrep-ap55p1nx.js} +78 -78
- package/dist/chunks/{model-resolver-z2c7c2d6.js → ripgrep-aqshan78.js} +20 -20
- package/dist/chunks/{model-resolver-55kqbvq6.js → ripgrep-avzdjs5z.js} +6 -6
- package/dist/chunks/{model-resolver-z97dy45p.js → ripgrep-aznc6x47.js} +10 -10
- package/dist/chunks/{model-resolver-jehhjn5p.js → ripgrep-b2kz5m05.js} +11 -11
- package/dist/chunks/{model-resolver-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-6kkcd6qd.js → ripgrep-bf8qrrce.js} +11 -11
- package/dist/chunks/{model-resolver-6xec00j9.js → ripgrep-bts96xta.js} +32 -32
- package/dist/chunks/{model-resolver-bg8arhpn.js → ripgrep-bvnzkxjc.js} +36 -36
- package/dist/chunks/{model-resolver-a3ftg8j6.js → ripgrep-bzgcn0jp.js} +9 -9
- package/dist/chunks/{model-resolver-35xajyyx.js → ripgrep-bzpt0j1a.js} +13 -13
- package/dist/chunks/{model-resolver-3ghz8s00.js → ripgrep-c2p9jgdj.js} +18 -18
- package/dist/chunks/{model-resolver-j7d6ser5.js → ripgrep-c4er40t9.js} +25 -25
- package/dist/chunks/{model-resolver-dr1fjqgk.js → ripgrep-cjvaq67s.js} +8 -8
- package/dist/chunks/{model-resolver-ckecvw8r.js → ripgrep-ckecvw8r.js} +2 -2
- package/dist/chunks/{model-resolver-3c98vr6c.js → ripgrep-cn6jgx1z.js} +10 -10
- package/dist/chunks/{model-resolver-bgc5ggmx.js → ripgrep-cp937pt4.js} +4 -4
- package/dist/chunks/{model-resolver-6nf8xs8b.js → ripgrep-crdcv09r.js} +32 -32
- package/dist/chunks/{model-resolver-jnt43jm9.js → ripgrep-csbx136w.js} +99 -99
- package/dist/chunks/{model-resolver-w6ns9rpk.js → ripgrep-cskmpdg7.js} +27 -27
- package/dist/chunks/{model-resolver-h6pajdtw.js → ripgrep-cxkbgxve.js} +10 -10
- package/dist/chunks/{model-resolver-br0tr5aq.js → ripgrep-czfptnv9.js} +8 -8
- package/dist/chunks/{model-resolver-nxhqveyz.js → ripgrep-d2aac7k2.js} +5 -5
- package/dist/chunks/{model-resolver-rznw7p1c.js → ripgrep-d334d6fa.js} +30 -30
- package/dist/chunks/{model-resolver-6ncjhc5z.js → ripgrep-d51p1snd.js} +33 -33
- package/dist/chunks/{model-resolver-0xyjb436.js → ripgrep-dfp96c79.js} +13 -13
- package/dist/chunks/{model-resolver-zx0yy5px.js → ripgrep-dhp284ad.js} +22 -22
- package/dist/chunks/{model-resolver-k50stbs9.js → ripgrep-dkbcejsd.js} +10 -10
- package/dist/chunks/{model-resolver-90zwzkn8.js → ripgrep-dnwg479b.js} +20 -20
- package/dist/chunks/{model-resolver-cnvnzs5z.js → ripgrep-dq0v80fr.js} +12 -12
- package/dist/chunks/{model-resolver-yryk7av5.js → ripgrep-dqx57jvk.js} +7 -7
- package/dist/chunks/{model-resolver-x5vcyvvk.js → ripgrep-dsgyqgn7.js} +88 -88
- package/dist/chunks/{model-resolver-6st2m2tt.js → ripgrep-dxczsaw9.js} +12 -12
- package/dist/chunks/{model-resolver-cgmaehw3.js → ripgrep-dy0x8zhs.js} +4 -4
- package/dist/chunks/{model-resolver-rhjbct0v.js → ripgrep-eaj1djv9.js} +8 -8
- package/dist/chunks/{model-resolver-y473g9cd.js → ripgrep-eaz2r2r7.js} +18 -18
- package/dist/chunks/{model-resolver-xvbsysbp.js → ripgrep-eb9pgxhh.js} +42 -42
- package/dist/chunks/{model-resolver-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-3k23bpvr.js → ripgrep-ez62b8nj.js} +6 -6
- package/dist/chunks/{model-resolver-j3pfw49f.js → ripgrep-f6cx8hw8.js} +15 -15
- package/dist/chunks/{model-resolver-5jmkacqm.js → ripgrep-f8yxf6yh.js} +2 -2
- package/dist/chunks/{model-resolver-8emzq1v9.js → ripgrep-fb2wt6fa.js} +11 -11
- package/dist/chunks/{model-resolver-8q8smbff.js → ripgrep-fhty9aym.js} +11 -11
- package/dist/chunks/{model-resolver-hagmrwq3.js → ripgrep-fnq7f60k.js} +61 -61
- package/dist/chunks/{model-resolver-s0thh5dw.js → ripgrep-fy185n8r.js} +10 -10
- package/dist/chunks/{model-resolver-kt0b5dy1.js → ripgrep-g61gwje2.js} +21 -21
- package/dist/chunks/{model-resolver-5ctg7cef.js → ripgrep-g8ynzfkw.js} +32 -32
- package/dist/chunks/{model-resolver-mj3g57tw.js → ripgrep-g9x4v4td.js} +20 -20
- package/dist/chunks/{model-resolver-y20bgrwx.js → ripgrep-ga6490wn.js} +15 -15
- package/dist/chunks/{model-resolver-mnbtwaby.js → ripgrep-gb3evf1k.js} +8 -8
- package/dist/chunks/{model-resolver-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-31j6fr5m.js → ripgrep-gh70s58z.js} +17 -17
- package/dist/chunks/{model-resolver-tt3q36pf.js → ripgrep-gke1gaw3.js} +9 -9
- package/dist/chunks/{model-resolver-bds46r3z.js → ripgrep-gptkyj0y.js} +54 -54
- package/dist/chunks/{model-resolver-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-7f9xvnkr.js → ripgrep-h134x250.js} +20 -20
- package/dist/chunks/{model-resolver-f3rwh7he.js → ripgrep-h46vtd2a.js} +28 -28
- package/dist/chunks/{model-resolver-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-r6zp23ak.js → ripgrep-hmhm0cn6.js} +19 -19
- package/dist/chunks/{model-resolver-b03gjzb4.js → ripgrep-hvv7vc5p.js} +30 -30
- package/dist/chunks/ripgrep-hxa7m5za.js +4 -0
- package/dist/chunks/{model-resolver-72syy6q7.js → ripgrep-j2sfdfbt.js} +4 -4
- package/dist/chunks/{model-resolver-exarhmpa.js → ripgrep-j32h1066.js} +15 -15
- package/dist/chunks/{model-resolver-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-tr8rwgax.js → ripgrep-j5mm8q72.js} +12 -12
- package/dist/chunks/{model-resolver-t058hrzj.js → ripgrep-jczp48x9.js} +22 -22
- package/dist/chunks/{model-resolver-naj50rvz.js → ripgrep-jj72jhew.js} +8 -8
- package/dist/chunks/{model-resolver-1qghahg6.js → ripgrep-jk94ewr9.js} +23 -23
- package/dist/chunks/{model-resolver-zmg0hy4v.js → ripgrep-jvzajy3h.js} +11 -11
- package/dist/chunks/{model-resolver-x2qdxhwm.js → ripgrep-k1qrnqst.js} +8 -8
- package/dist/chunks/{model-resolver-nzks3jc8.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-d3mkwwpa.js → ripgrep-k4s7esk4.js} +42 -42
- package/dist/chunks/ripgrep-k840h17t.js +26 -0
- package/dist/chunks/{model-resolver-hnr8f6ws.js → ripgrep-kb6vbnxp.js} +4 -4
- package/dist/chunks/{model-resolver-0ad39zh4.js → ripgrep-kgsbr495.js} +20 -20
- package/dist/chunks/{model-resolver-gja2jk4r.js → ripgrep-kv3szn4m.js} +57 -57
- package/dist/chunks/{model-resolver-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-bb326kwh.js → ripgrep-m6f5ghys.js} +17 -17
- package/dist/chunks/{model-resolver-9h236asx.js → ripgrep-m6xj40dh.js} +32 -32
- package/dist/chunks/{model-resolver-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-k7fv6ppr.js → ripgrep-mayc1q7t.js} +11 -11
- package/dist/chunks/{model-resolver-56gdpj1q.js → ripgrep-mfqp6xfm.js} +6 -6
- package/dist/chunks/{model-resolver-f3ngv102.js → ripgrep-mjymc32g.js} +4 -4
- package/dist/chunks/{model-resolver-5kgz3sjj.js → ripgrep-mngbseg8.js} +17 -17
- package/dist/chunks/{model-resolver-bmv2wk1h.js → ripgrep-mx7pd35q.js} +28 -28
- package/dist/chunks/{model-resolver-84gx0bmj.js → ripgrep-mxfbfm56.js} +1 -1
- package/dist/chunks/{model-resolver-nk4qtf6b.js → ripgrep-mz0a5xtr.js} +31 -31
- package/dist/chunks/{model-resolver-a8vp4ryg.js → ripgrep-n4m8a7d6.js} +5 -5
- package/dist/chunks/{model-resolver-4w4q249n.js → ripgrep-ne587evb.js} +8 -8
- package/dist/chunks/{model-resolver-4kngcreg.js → ripgrep-nmtrt2bh.js} +37 -37
- package/dist/chunks/{model-resolver-q5q8f7qb.js → ripgrep-npqb0cgz.js} +33 -33
- package/dist/chunks/{model-resolver-3hdgzgjd.js → ripgrep-nw11vmr7.js} +22 -22
- package/dist/chunks/{model-resolver-4dgbcxzg.js → ripgrep-nzyhnfxz.js} +4 -4
- package/dist/chunks/{model-resolver-vspyk4wa.js → ripgrep-p83yf1cx.js} +27 -27
- package/dist/chunks/{model-resolver-4111r571.js → ripgrep-peqw7khj.js} +22 -22
- package/dist/chunks/{model-resolver-zvnydg09.js → ripgrep-phmevcvr.js} +18 -18
- package/dist/chunks/{model-resolver-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-6ytc35nj.js → ripgrep-px5knkzc.js} +21 -21
- package/dist/chunks/{model-resolver-6bwfswtt.js → ripgrep-q2v7jffc.js} +27 -27
- package/dist/chunks/ripgrep-q509s3k3.js +18 -0
- package/dist/chunks/{model-resolver-0mm9aq32.js → ripgrep-q826ync2.js} +15 -15
- package/dist/chunks/{model-resolver-8q7htp70.js → ripgrep-qgc2t3bc.js} +25 -25
- package/dist/chunks/{model-resolver-0jwsre1p.js → ripgrep-qgn6gcr1.js} +5 -5
- package/dist/chunks/{model-resolver-s6xd6wvt.js → ripgrep-qgsvjgde.js} +7 -7
- package/dist/chunks/{model-resolver-zfy63nf8.js → ripgrep-qk1bfebt.js} +18 -18
- package/dist/chunks/{model-resolver-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-d9ayxges.js → ripgrep-qx9b7nxy.js} +47 -47
- package/dist/chunks/{model-resolver-c5885s0q.js → ripgrep-r0nczmem.js} +11 -11
- package/dist/chunks/{model-resolver-mbekgbbb.js → ripgrep-r3hbvp2n.js} +3 -3
- package/dist/chunks/{model-resolver-35ng7dkh.js → ripgrep-r4yqrmdq.js} +5 -5
- package/dist/chunks/{model-resolver-s5defpr9.js → ripgrep-r63vjjdx.js} +11 -11
- package/dist/chunks/{model-resolver-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-d4he2qe1.js → ripgrep-rey5gbxv.js} +9 -9
- package/dist/chunks/{model-resolver-zckyz7ek.js → ripgrep-rnntqgmf.js} +11 -11
- package/dist/chunks/{model-resolver-ca7w653e.js → ripgrep-rpg9c19m.js} +4 -4
- package/dist/chunks/{model-resolver-rsh5se6h.js → ripgrep-rwsbt5n6.js} +9 -9
- package/dist/chunks/{model-resolver-hgf5wkwr.js → ripgrep-s0fytse5.js} +11 -11
- package/dist/chunks/{model-resolver-c35597j6.js → ripgrep-s30fyz93.js} +4 -4
- package/dist/chunks/{model-resolver-d3ndzfne.js → ripgrep-s45mxgy4.js} +36 -36
- package/dist/chunks/{model-resolver-gyswrdsk.js → ripgrep-sn71vbdz.js} +1 -1
- package/dist/chunks/{model-resolver-kcrma5rg.js → ripgrep-sptth8gd.js} +14 -14
- package/dist/chunks/{model-resolver-tj8qce5x.js → ripgrep-sxxekahb.js} +29 -29
- package/dist/chunks/{model-resolver-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-89znhe33.js → ripgrep-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-resolver-tm1heg02.js → ripgrep-tdhe5xga.js} +8 -8
- package/dist/chunks/{model-resolver-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-dfbyaknh.js → ripgrep-tnc1pm62.js} +5 -5
- package/dist/chunks/{model-resolver-tftgz9xd.js → ripgrep-tnzk64ta.js} +3 -3
- package/dist/chunks/{model-resolver-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-m11tzp6r.js → ripgrep-v13kfdwm.js} +5 -5
- package/dist/chunks/{model-resolver-beg0vm9f.js → ripgrep-v1hcbdp0.js} +21 -21
- package/dist/chunks/{model-resolver-8qa1wps4.js → ripgrep-v3zreyn7.js} +3 -3
- package/dist/chunks/{model-resolver-qa3qhgw8.js → ripgrep-v5dkyp31.js} +4 -4
- package/dist/chunks/{model-resolver-bpm0h9ra.js → ripgrep-vbvzqspv.js} +25 -25
- package/dist/chunks/{model-resolver-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-wqk93c07.js → ripgrep-vgsamq7t.js} +13 -13
- package/dist/chunks/{model-resolver-tq6twe20.js → ripgrep-vm2bxx9x.js} +32 -32
- package/dist/chunks/{model-resolver-j699j8bt.js → ripgrep-vmgq4x8b.js} +2 -2
- package/dist/chunks/{model-resolver-3f15rfkp.js → ripgrep-vmwh049b.js} +6 -6
- package/dist/chunks/{model-resolver-tzs7fj4j.js → ripgrep-vr3nny2d.js} +48 -48
- package/dist/chunks/{model-resolver-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-8tpjzhs1.js → ripgrep-w0mmn6kc.js} +6 -6
- package/dist/chunks/{model-resolver-267sahkc.js → ripgrep-w3an97nd.js} +48 -48
- package/dist/chunks/{model-resolver-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-3h8pbnga.js → ripgrep-w8tgkp2m.js} +17 -17
- package/dist/chunks/{model-resolver-gce79w0q.js → ripgrep-wbd0sh62.js} +22 -22
- package/dist/chunks/{model-resolver-wd3x2cqz.js → ripgrep-wd3x2cqz.js} +2 -2
- package/dist/chunks/{model-resolver-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-xfpvjh8w.js → ripgrep-wf70wxe0.js} +37 -37
- package/dist/chunks/{model-resolver-1nv7ymr6.js → ripgrep-wgve64nz.js} +27 -27
- package/dist/chunks/{model-resolver-mvksx64m.js → ripgrep-wq4mmp7m.js} +4 -4
- package/dist/chunks/{model-resolver-4gtvk39h.js → ripgrep-wv4ktw8j.js} +4 -4
- package/dist/chunks/{model-resolver-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-5nb4515h.js → ripgrep-x4myat66.js} +29 -29
- package/dist/chunks/{model-resolver-8h1zszsv.js → ripgrep-xbsd7fdx.js} +17 -17
- package/dist/chunks/{model-resolver-qqeeq2t9.js → ripgrep-xfkkasph.js} +7 -7
- package/dist/chunks/{model-resolver-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
- package/dist/chunks/{model-resolver-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-v4gwmykp.js → ripgrep-yc748dnc.js} +29 -29
- package/dist/chunks/{model-resolver-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{model-resolver-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-z07pqspn.js → ripgrep-z07pqspn.js} +3 -3
- package/dist/chunks/{model-resolver-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-6w2apkvv.js → ripgrep-z34yb1mg.js} +25 -25
- package/dist/chunks/{model-resolver-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-tyfabpdn.js → ripgrep-za77p82n.js} +6 -6
- package/dist/chunks/{model-resolver-weww5mga.js → ripgrep-zdn4gb0j.js} +15 -15
- package/dist/chunks/{model-resolver-jwz36s33.js → ripgrep-zdnjak7e.js} +178 -178
- package/dist/chunks/{model-resolver-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-hez0a82b.js → ripgrep-zeksq1vy.js} +35 -35
- package/dist/chunks/{model-resolver-xchhwgmm.js → ripgrep-zk8nm55g.js} +13 -13
- package/dist/chunks/{model-resolver-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-8x7avsgx.js → ripgrep-zs34p7rh.js} +5 -5
- package/dist/chunks/{model-resolver-7y88vt3g.js → ripgrep-zswjw54r.js} +11 -11
- package/dist/chunks/{model-resolver-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 +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- 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 +123 -123
- 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 +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -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 +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- 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 +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- 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 +85 -85
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- 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-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -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 +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- 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 +113 -113
- 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 +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- 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 +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- 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 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +119 -119
- 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 +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +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 +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- 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 +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/model-resolver-4v7qdvcn.js +0 -18
- package/dist/chunks/model-resolver-5qyz8na8.js +0 -507
- package/dist/chunks/model-resolver-n4x6w9v1.js +0 -26
- package/dist/chunks/model-resolver-pg8etanv.js +0 -252
- package/dist/chunks/model-resolver-xrsqh21y.js +0 -4
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./ripgrep-4zsftp3p.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service67,
|
|
11
|
+
node71
|
|
12
|
+
} from "./ripgrep-bvnzkxjc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./ripgrep-sptth8gd.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service60,
|
|
19
|
+
node62
|
|
20
|
+
} from "./ripgrep-3tfwac8j.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service71,
|
|
24
|
+
node75
|
|
25
|
+
} from "./ripgrep-yc748dnc.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service66,
|
|
34
|
+
node70
|
|
35
|
+
} from "./ripgrep-acvtchx0.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service32,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
|
+
layer: () => layer13,
|
|
58
|
+
node: () => node35
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
104
|
+
var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service80;
|
|
106
|
+
const environment = yield* Service60;
|
|
107
|
+
const bus = yield* Service83;
|
|
108
|
+
const forms = yield* Service71;
|
|
109
|
+
const integration = yield* Service66;
|
|
110
|
+
const credentials = yield* Service67;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID9.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service67, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError4({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service67, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID11.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
262
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service32.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured4(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
521
|
+
service: Service32,
|
|
522
|
+
layer: layer13(options),
|
|
523
|
+
deps: [node84, node62, node87, node75, node70, node71]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node35 = configured4();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service32, Options4, layer13, configured4, node35, exports_mcp4 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./ripgrep-4zsftp3p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./ripgrep-3my6sg7q.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service25,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-q509s3k3.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-zdnjak7e.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event3,
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service25,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node19
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event3, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service83;
|
|
45
|
+
const kv = yield* Service73;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service25.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node19 = Node.makeLocationNode({
|
|
226
|
+
service: Service25,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node19, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./ripgrep-4zsftp3p.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-kv3szn4m.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: () => Event18,
|
|
21
|
+
ID: () => ID12,
|
|
22
|
+
Info: () => Info27,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service74,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node78,
|
|
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 Event18 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info27 = Skill.Info;
|
|
43
|
+
var ID12 = 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 Service74 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
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(ID12.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(ID12.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID12.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID12.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service74.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(Service39, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node78 = makeLocationNode({
|
|
112
|
+
service: Service74,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info27, ID12, Name2, available2, toModelOutput3, prepare3, Service74, node78, exports_skill5, Event18 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-29jfjc42.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./ripgrep-4zsftp3p.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service67
|
|
11
|
+
} from "./ripgrep-bvnzkxjc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service66
|
|
16
|
+
} from "./ripgrep-acvtchx0.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./ripgrep-zeksq1vy.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-6p19cha5.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID8.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID9.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service67;
|
|
57
|
+
const integrations = yield* Service66;
|
|
58
|
+
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|