@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,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./ripgrep-mayc1q7t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./ripgrep-4zsftp3p.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
16
|
estimate2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-h6vf3j39.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionEvent2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-ec1grn59.js";
|
|
21
21
|
import {
|
|
22
22
|
provenance2,
|
|
23
23
|
compatible2,
|
|
24
24
|
isCheckpoint2,
|
|
25
25
|
encode2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-s30fyz93.js";
|
|
27
27
|
import {
|
|
28
28
|
load5
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-7q7gzags.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-0bfcnrg1.js";
|
|
33
33
|
import {
|
|
34
34
|
baseTranscript2,
|
|
35
35
|
unsupportedParts2,
|
|
36
36
|
boundImages2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service33,
|
|
38
|
+
node36
|
|
39
|
+
} from "./ripgrep-g8ynzfkw.js";
|
|
40
40
|
import {
|
|
41
41
|
toSessionError2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./ripgrep-dy0x8zhs.js";
|
|
43
43
|
import {
|
|
44
44
|
isRetryable2,
|
|
45
45
|
policy2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./ripgrep-w0mmn6kc.js";
|
|
47
47
|
import {
|
|
48
48
|
calculateCost2,
|
|
49
49
|
record2,
|
|
50
50
|
add2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./ripgrep-tdstcens.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/compaction.ts
|
|
57
57
|
var exports_compaction2 = {};
|
|
58
58
|
__export(exports_compaction2, {
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service10,
|
|
60
60
|
SessionCompaction: () => exports_compaction2,
|
|
61
61
|
buildPrompt: () => buildPrompt2,
|
|
62
62
|
estimateContext: () => estimateContext2,
|
|
63
63
|
estimatePrompt: () => estimatePrompt2,
|
|
64
64
|
layer: () => layer6,
|
|
65
|
-
node: () =>
|
|
65
|
+
node: () => node12,
|
|
66
66
|
recentUserMessages: () => recentUserMessages2
|
|
67
67
|
});
|
|
68
68
|
import {
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
} from "@opencode/ai";
|
|
79
79
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
80
80
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
81
|
-
class
|
|
81
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
82
82
|
}
|
|
83
83
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
84
84
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -157,11 +157,11 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
157
157
|
};
|
|
158
158
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
159
159
|
var LEGACY_HEADING = "## Additional Context";
|
|
160
|
-
var layer6 = Layer.effect(
|
|
161
|
-
const bus = yield*
|
|
160
|
+
var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
161
|
+
const bus = yield* Service83;
|
|
162
162
|
const llm = yield* LLMClient.Service;
|
|
163
|
-
const db = (yield*
|
|
164
|
-
const requests = yield*
|
|
163
|
+
const db = (yield* Service84).db;
|
|
164
|
+
const requests = yield* Service33;
|
|
165
165
|
const state = create3({
|
|
166
166
|
name: "session-compaction",
|
|
167
167
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -452,16 +452,16 @@ ${text}`;
|
|
|
452
452
|
}, { metadata: outcome.metadata });
|
|
453
453
|
return { status: "completed" };
|
|
454
454
|
});
|
|
455
|
-
return
|
|
455
|
+
return Service10.of({
|
|
456
456
|
transform: state.transform,
|
|
457
457
|
reload: state.reload,
|
|
458
458
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
459
459
|
});
|
|
460
460
|
}));
|
|
461
|
-
var
|
|
462
|
-
service:
|
|
461
|
+
var node12 = makeLocationNode({
|
|
462
|
+
service: Service10,
|
|
463
463
|
layer: layer6,
|
|
464
|
-
deps: [
|
|
464
|
+
deps: [node87, node88, llmClient2, node36]
|
|
465
465
|
});
|
|
466
466
|
var previousCompaction = (messages) => {
|
|
467
467
|
const [first] = messages;
|
|
@@ -666,4 +666,4 @@ var estimateMedia = (mime) => {
|
|
|
666
666
|
return 0;
|
|
667
667
|
};
|
|
668
668
|
|
|
669
|
-
export {
|
|
669
|
+
export { Service10, buildPrompt2, layer6, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID16,
|
|
3
|
+
Info31,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-5cmxdwv8.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service84,
|
|
11
|
+
node88
|
|
12
|
+
} from "./ripgrep-mayc1q7t.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service83,
|
|
16
|
+
node87
|
|
17
|
+
} from "./ripgrep-4zsftp3p.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./ripgrep-x4myat66.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service53,
|
|
24
|
+
node55
|
|
25
|
+
} from "./ripgrep-0jkw1j53.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-z07pqspn.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node56
|
|
34
|
+
} from "./ripgrep-hvv7vc5p.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./ripgrep-wq4mmp7m.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./ripgrep-0ahxpr47.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./ripgrep-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node28
|
|
47
|
+
} from "./ripgrep-dhp284ad.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node67
|
|
51
|
+
} from "./ripgrep-29jfjc42.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError10,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./ripgrep-vmwh049b.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service77,
|
|
68
|
+
node81
|
|
69
|
+
} from "./ripgrep-m6f5ghys.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service62,
|
|
72
|
+
node65
|
|
73
|
+
} from "./ripgrep-9j8vss6m.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service51,
|
|
76
|
+
node54
|
|
77
|
+
} from "./ripgrep-5k1e7mf5.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service34,
|
|
83
|
+
node37
|
|
84
|
+
} from "./ripgrep-r0nczmem.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./ripgrep-4hj33adv.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./ripgrep-98h2hpj2.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service70,
|
|
93
|
+
node74
|
|
94
|
+
} from "./ripgrep-5c8b91wp.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service24,
|
|
100
|
+
node27
|
|
101
|
+
} from "./ripgrep-fnq7f60k.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service46,
|
|
104
|
+
node49
|
|
105
|
+
} from "./ripgrep-4c2df9zx.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make13
|
|
108
|
+
} from "./ripgrep-nmtrt2bh.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./ripgrep-rnntqgmf.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID16,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info31,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError10,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service23,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node26
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput5;
|
|
152
|
+
class Service23 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
|
-
const database = yield*
|
|
156
|
+
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service83;
|
|
159
|
+
const projects = yield* Service81;
|
|
160
|
+
const execution = yield* Service51;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service34;
|
|
163
|
+
const store = yield* Service77;
|
|
164
|
+
const instances = yield* Service53;
|
|
165
|
+
const moves = yield* Service24;
|
|
166
|
+
const jobs = yield* Service62;
|
|
167
|
+
const environments = yield* Service46;
|
|
168
|
+
const locations = yield* Service70;
|
|
169
|
+
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service23.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError10({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service53, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node26 = Node.makeGlobalNode({
|
|
331
|
+
service: Service23,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node65,
|
|
335
|
+
node49,
|
|
336
|
+
node88,
|
|
337
|
+
node87,
|
|
336
338
|
node85,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
node35,
|
|
340
|
-
node29,
|
|
339
|
+
node54,
|
|
340
|
+
node37,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node81,
|
|
343
|
+
node55,
|
|
344
|
+
node56,
|
|
345
|
+
node27,
|
|
346
|
+
node28,
|
|
347
|
+
node74,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node67
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service23, node26, exports_session };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./ripgrep-dnwg479b.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./ripgrep-sptth8gd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./ripgrep-qx9b7nxy.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./ripgrep-h46vtd2a.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service5
|
|
20
|
+
} from "./ripgrep-3pe7sts8.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-5nsg3879.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill = {};
|
|
30
|
+
__export(exports_skill, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
+
Plugin: () => Plugin17
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin17 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service47;
|
|
43
|
+
const discovery = yield* Service5;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service80;
|
|
47
|
+
const watcher = yield* Service48;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin15 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin15 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source4.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin15 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source4.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin15 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source4.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin15 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin17, exports_skill };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./ripgrep-npqb0cgz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./ripgrep-qx9b7nxy.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-6p19cha5.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service47;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID7.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make6();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service6,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service6 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
|
+
service: Service6,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service6, node7, bound2, exports_instance2 };
|