@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service78
|
|
4
|
+
} from "./ripgrep-7fx79kx0.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service64
|
|
8
|
+
} from "./ripgrep-npqb0cgz.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./ripgrep-qx9b7nxy.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-5cmxdwv8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service62
|
|
18
|
+
} from "./ripgrep-9j8vss6m.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./ripgrep-kv3szn4m.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service23
|
|
25
|
+
} from "./ripgrep-csbx136w.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./ripgrep-89etmhv5.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
39
|
+
Input: () => Input10,
|
|
40
40
|
Output: () => Output7,
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Plugin: () => Plugin44,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name10
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name10 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input10 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -77,7 +77,7 @@ var Output7 = Schema.Struct({
|
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin44 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service23;
|
|
93
|
+
const jobs = yield* Service62;
|
|
94
|
+
const agents = yield* Service78;
|
|
95
|
+
const config = yield* Service47;
|
|
96
|
+
const permission = yield* Service75;
|
|
97
|
+
const models = yield* Service64;
|
|
98
|
+
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,10 +115,10 @@ var Plugin13 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input10,
|
|
122
122
|
output: Output7,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
@@ -139,7 +139,7 @@ var Plugin13 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name10,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin13 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID15.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name10 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name10];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name10, Input10, Output7, description4, Plugin44, exports_subagent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-29jfjc42.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin25,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
16
|
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin25 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -93,4 +93,4 @@ var Plugin40 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export { endpoint5,
|
|
96
|
+
export { endpoint5, Plugin25, exports_parallel };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service60,
|
|
8
|
+
node62
|
|
9
|
+
} from "./ripgrep-3tfwac8j.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-5gmd8n57.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service9,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node10,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service9 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service60;
|
|
335
|
+
return Service9.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node10 = makeLocationNode({ service: Service9, layer, deps: [node62] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service9, read2, node10, exports_read_filesystem };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-dqx57jvk.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./ripgrep-qx9b7nxy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./ripgrep-7v81x33d.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin12
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin12 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
26
|
+
const image = yield* Service43;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin17 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin12, exports_image };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./ripgrep-qx9b7nxy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./ripgrep-dxczsaw9.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin7
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin7 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service47;
|
|
27
|
+
const output = yield* Service50;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin31 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin7, exports_tool_output };
|
|
@@ -1,63 +1,63 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service53,
|
|
11
|
+
node55
|
|
12
|
+
} from "./ripgrep-0jkw1j53.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service81,
|
|
19
|
+
node85
|
|
20
|
+
} from "./ripgrep-x4myat66.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-sptth8gd.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service70,
|
|
26
|
+
node74
|
|
27
|
+
} from "./ripgrep-5c8b91wp.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError10
|
|
33
|
+
} from "./ripgrep-vmwh049b.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./ripgrep-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service52
|
|
39
|
+
} from "./ripgrep-rpg9c19m.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service77,
|
|
42
|
+
node81
|
|
43
|
+
} from "./ripgrep-m6f5ghys.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service54,
|
|
48
|
+
node56,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./ripgrep-hvv7vc5p.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service51,
|
|
53
|
+
node54
|
|
54
|
+
} from "./ripgrep-5k1e7mf5.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node28
|
|
57
|
+
} from "./ripgrep-dhp284ad.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service24,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node27
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service24 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service81;
|
|
92
|
+
const locations = yield* Service70;
|
|
93
|
+
const store = yield* Service77;
|
|
94
|
+
const execution = yield* Service51;
|
|
95
|
+
const instances = yield* Service53;
|
|
96
|
+
const admission = yield* Service54;
|
|
97
|
+
const database = yield* Service84;
|
|
98
|
+
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError10({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service52.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service24.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node27 = makeGlobalNode({
|
|
167
|
+
service: Service24,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
node80,
|
|
173
|
-
node62,
|
|
174
|
-
node59,
|
|
175
|
-
node35,
|
|
176
|
-
node38,
|
|
177
|
-
node36,
|
|
178
172
|
node85,
|
|
179
|
-
|
|
180
|
-
|
|
173
|
+
node74,
|
|
174
|
+
node81,
|
|
175
|
+
node54,
|
|
176
|
+
node55,
|
|
177
|
+
node56,
|
|
178
|
+
node88,
|
|
179
|
+
node87,
|
|
180
|
+
node28
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service24, node27, exports_move };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-npqb0cgz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./ripgrep-qx9b7nxy.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-6p19cha5.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service47;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID7.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make5();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make5, LMStudioPlugin2 };
|