@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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./ripgrep-zeksq1vy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./ripgrep-qx9b7nxy.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service65;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service47);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./ripgrep-zeksq1vy.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-6p19cha5.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID8.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./ripgrep-4zsftp3p.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID15,
|
|
19
|
+
Info: () => Info30,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service78,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node82
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event20 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID15 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID15.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info30 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service78 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info30.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID15.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service78.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID15.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID15.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID15, Name3, defaultID2, Color2, Info30, Service78, node82, exports_agent4, Event20 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-zeksq1vy.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-npqb0cgz.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-5cmxdwv8.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-vmwh049b.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-wq4mmp7m.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./ripgrep-s30fyz93.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service43,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node46
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service43 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service43.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node46 = makeLocationNode({ service: Service43, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service43, node46, exports_image2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-29jfjc42.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./ripgrep-4zsftp3p.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./ripgrep-bvnzkxjc.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-acvtchx0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID8
|
|
17
|
+
} from "./ripgrep-zeksq1vy.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID7,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-npqb0cgz.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID8.make("digitalocean");
|
|
31
|
+
var integrationID = ID9.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service83;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID7.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin29,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin29 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin44 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin29, exports_identity };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin32,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin32 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin32, exports_tool_input_repair };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./ripgrep-9j8vss6m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service23
|
|
6
|
+
} from "./ripgrep-csbx136w.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service23;
|
|
24
|
+
const jobs = yield* Service62;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make4 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./ripgrep-dq0v80fr.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service82;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make19 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID12,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service74,
|
|
12
|
+
node78
|
|
13
|
+
} from "./ripgrep-h46vtd2a.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
19
|
var exports_instructions2 = {};
|
|
20
20
|
__export(exports_instructions2, {
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service28,
|
|
22
22
|
SkillInstructions: () => exports_instructions2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node31
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID12,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service28 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service74;
|
|
67
|
+
return Service28.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
71
|
-
key:
|
|
70
|
+
return make21({
|
|
71
|
+
key: Key4.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node31 = makeLocationNode({ service: Service28, layer, deps: [node78] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service28, node31, exports_instructions2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./ripgrep-xfkkasph.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|