@opencode/core 0.0.0-dev-20207 → 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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{skill-znp52nq7.js → ripgrep-0ahxpr47.js} +13 -13
- package/dist/chunks/{skill-gg3hnhsj.js → ripgrep-0bfcnrg1.js} +1 -1
- package/dist/chunks/{skill-9gea571p.js → ripgrep-0jkw1j53.js} +6 -6
- package/dist/chunks/{skill-nzeq2kax.js → ripgrep-0n0m8a3f.js} +11 -11
- package/dist/chunks/{skill-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-bct739vz.js → ripgrep-0v53mg2y.js} +4 -4
- package/dist/chunks/{skill-xg7n0ckm.js → ripgrep-0w792yr2.js} +9 -9
- package/dist/chunks/{skill-x9q73j05.js → ripgrep-12ex7h85.js} +15 -15
- package/dist/chunks/{skill-w8gags2f.js → ripgrep-19wg5z72.js} +9 -9
- package/dist/chunks/{skill-mvfsc1pv.js → ripgrep-1bbkgx8g.js} +3 -3
- package/dist/chunks/{skill-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{skill-nsp0n9r4.js → ripgrep-1jj73053.js} +20 -20
- package/dist/chunks/{skill-pbpayjvj.js → ripgrep-1ngy2a1q.js} +38 -38
- package/dist/chunks/{skill-w8dzjegp.js → ripgrep-1qgpawzy.js} +10 -10
- package/dist/chunks/{skill-1qdsjxzy.js → ripgrep-1qvbyjth.js} +15 -15
- package/dist/chunks/{skill-wywb33ch.js → ripgrep-1zd8jyw5.js} +1 -1
- package/dist/chunks/{skill-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{skill-qw2ypprn.js → ripgrep-222jz6em.js} +33 -33
- package/dist/chunks/{skill-6h73sxmp.js → ripgrep-2402vzrj.js} +5 -5
- package/dist/chunks/{skill-kxh1rwc9.js → ripgrep-29jfjc42.js} +7 -7
- package/dist/chunks/{skill-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-nvm1k45k.js → ripgrep-2cdfzw0z.js} +23 -23
- package/dist/chunks/{skill-fk3mqgzt.js → ripgrep-2tts1rbt.js} +4 -4
- package/dist/chunks/{skill-rtathh62.js → ripgrep-2wts5qzq.js} +8 -8
- package/dist/chunks/{skill-ck69dtv7.js → ripgrep-2wyx13rv.js} +4 -4
- package/dist/chunks/{skill-jz5sxy2v.js → ripgrep-2y34zzjz.js} +6 -6
- package/dist/chunks/{skill-t0fxg8b9.js → ripgrep-3cfzdc8e.js} +5 -5
- package/dist/chunks/{skill-bqe2w88k.js → ripgrep-3cn1ssxv.js} +28 -28
- package/dist/chunks/{skill-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-wbgaq1vm.js → ripgrep-3fj6qvgg.js} +20 -20
- package/dist/chunks/{skill-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-9kv9xk3y.js → ripgrep-3jmrct4k.js} +6 -6
- package/dist/chunks/{skill-h5c0n38e.js → ripgrep-3my6sg7q.js} +10 -10
- package/dist/chunks/{skill-m2d0j7c0.js → ripgrep-3pe7sts8.js} +9 -9
- package/dist/chunks/{skill-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-zbgbht68.js → ripgrep-3tfwac8j.js} +24 -24
- package/dist/chunks/{skill-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{skill-wvnar42z.js → ripgrep-42050xq7.js} +11 -11
- package/dist/chunks/{skill-1f0c6jnf.js → ripgrep-45jbahag.js} +10 -10
- package/dist/chunks/{skill-qe26s0zb.js → ripgrep-4c2df9zx.js} +8 -8
- package/dist/chunks/{skill-a6s71k6e.js → ripgrep-4cynn25j.js} +32 -32
- package/dist/chunks/{skill-gh9bh3wc.js → ripgrep-4hj33adv.js} +12 -12
- package/dist/chunks/{skill-zk702gbg.js → ripgrep-4ndvwbzn.js} +3 -3
- package/dist/chunks/ripgrep-4pwcxzf5.js +252 -0
- package/dist/chunks/{skill-w4ja1ymy.js → ripgrep-4zsftp3p.js} +4 -4
- package/dist/chunks/{skill-a519c5k9.js → ripgrep-4zx5xh11.js} +16 -16
- package/dist/chunks/{skill-qjnxxf51.js → ripgrep-510m7gjw.js} +5 -5
- package/dist/chunks/{skill-1vy1vbr0.js → ripgrep-54j2g604.js} +8 -8
- package/dist/chunks/{skill-pjmw00w1.js → ripgrep-57ez7d0k.js} +7 -7
- package/dist/chunks/{skill-7457xe47.js → ripgrep-59v0df5r.js} +10 -10
- package/dist/chunks/{skill-ezs5xvvw.js → ripgrep-5c8b91wp.js} +9 -9
- package/dist/chunks/{skill-2f04pwep.js → ripgrep-5cmxdwv8.js} +2 -2
- package/dist/chunks/{skill-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/ripgrep-5dcbbbm6.js +507 -0
- package/dist/chunks/{skill-h7mdrc48.js → ripgrep-5gmd8n57.js} +21 -21
- package/dist/chunks/{skill-rec3tk6b.js → ripgrep-5k1e7mf5.js} +35 -35
- package/dist/chunks/{skill-cjft4ft8.js → ripgrep-5nsg3879.js} +4 -4
- package/dist/chunks/{skill-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{skill-9etfnzw3.js → ripgrep-5x15qns5.js} +3 -3
- package/dist/chunks/{skill-b6xv7ymq.js → ripgrep-5ypma9ks.js} +33 -33
- package/dist/chunks/{skill-tdp00414.js → ripgrep-5zabxtne.js} +5 -5
- package/dist/chunks/{skill-8x14mnk0.js → ripgrep-613jmpvb.js} +6 -6
- package/dist/chunks/{skill-tr58fzqp.js → ripgrep-64bb9vvw.js} +20 -20
- package/dist/chunks/{skill-azfsw3sd.js → ripgrep-64n4gtmn.js} +34 -34
- package/dist/chunks/{skill-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{skill-hmmnbmcs.js → ripgrep-6982ny1p.js} +30 -30
- package/dist/chunks/{skill-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{skill-g16crsyf.js → ripgrep-6p19cha5.js} +4 -4
- package/dist/chunks/{skill-0ws3f0ex.js → ripgrep-6szrap79.js} +3 -3
- package/dist/chunks/{skill-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-mmwjtbs1.js → ripgrep-7fx79kx0.js} +15 -15
- package/dist/chunks/{skill-dytb7912.js → ripgrep-7kmx613t.js} +6 -6
- package/dist/chunks/{skill-tgak7z6d.js → ripgrep-7q7gzags.js} +8 -8
- package/dist/chunks/{skill-f0ftzx98.js → ripgrep-7v81x33d.js} +9 -9
- package/dist/chunks/{skill-hwpx9scr.js → ripgrep-7wh335xe.js} +9 -9
- package/dist/chunks/{skill-jewzahs7.js → ripgrep-80scg3y3.js} +4 -4
- package/dist/chunks/{skill-axs6pdy0.js → ripgrep-84zcxbc9.js} +5 -5
- package/dist/chunks/{skill-mbkr92z7.js → ripgrep-89etmhv5.js} +11 -11
- package/dist/chunks/{skill-0fexsbzd.js → ripgrep-8d0p2m37.js} +5 -5
- package/dist/chunks/{skill-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{skill-1ccd6b10.js → ripgrep-8fng9cdc.js} +16 -16
- package/dist/chunks/{skill-py3kkmfq.js → ripgrep-8sze2n9a.js} +6 -6
- package/dist/chunks/{skill-qsmm5je1.js → ripgrep-8wcympts.js} +11 -11
- package/dist/chunks/{skill-gm7y8p7g.js → ripgrep-8xxde4qy.js} +8 -8
- package/dist/chunks/{skill-94ek1h2f.js → ripgrep-94ek1h2f.js} +2 -2
- package/dist/chunks/{skill-7radtp4w.js → ripgrep-97amtrvq.js} +10 -10
- package/dist/chunks/{skill-6way0tbt.js → ripgrep-98h2hpj2.js} +8 -8
- package/dist/chunks/{skill-6tb6gx4y.js → ripgrep-9j8vss6m.js} +15 -15
- package/dist/chunks/{skill-fjpgqswp.js → ripgrep-9jgayhyn.js} +8 -8
- package/dist/chunks/{skill-5mca9tyb.js → ripgrep-9penf6tv.js} +38 -38
- package/dist/chunks/{skill-7vegjyzg.js → ripgrep-9tca1jv6.js} +43 -43
- package/dist/chunks/{skill-zega380a.js → ripgrep-9wrdw65j.js} +43 -43
- package/dist/chunks/{skill-1hx0cpq7.js → ripgrep-9xgggab3.js} +9 -9
- package/dist/chunks/{skill-mcqskrh7.js → ripgrep-a05wftvw.js} +24 -24
- package/dist/chunks/{skill-b7camypd.js → ripgrep-a2pmyfka.js} +24 -24
- package/dist/chunks/{skill-166kng33.js → ripgrep-a2qe2ev9.js} +8 -8
- package/dist/chunks/{skill-c9z0jmrs.js → ripgrep-a488z9aq.js} +13 -13
- package/dist/chunks/{skill-hyax2rhp.js → ripgrep-a7p5y4dd.js} +32 -32
- package/dist/chunks/{skill-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-fng9e0je.js → ripgrep-ab9238g2.js} +6 -6
- package/dist/chunks/{skill-7y51vbvs.js → ripgrep-acvtchx0.js} +17 -17
- package/dist/chunks/{skill-06at7z01.js → ripgrep-aj930q3s.js} +3 -3
- package/dist/chunks/{skill-hgtvnj1q.js → ripgrep-ajr7rvj8.js} +25 -25
- package/dist/chunks/{skill-z1800bf7.js → ripgrep-ap55p1nx.js} +71 -71
- package/dist/chunks/{skill-r2stchgs.js → ripgrep-aqshan78.js} +10 -10
- package/dist/chunks/{skill-6c7knq90.js → ripgrep-avzdjs5z.js} +6 -6
- package/dist/chunks/{skill-wkxc7kdk.js → ripgrep-aznc6x47.js} +12 -12
- package/dist/chunks/{skill-ysnnm9th.js → ripgrep-b2kz5m05.js} +11 -11
- package/dist/chunks/{skill-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-pc537r84.js → ripgrep-bf8qrrce.js} +6 -6
- package/dist/chunks/{skill-ghdz8829.js → ripgrep-bts96xta.js} +32 -32
- package/dist/chunks/{skill-3q06wn7v.js → ripgrep-bvnzkxjc.js} +28 -28
- package/dist/chunks/{skill-a3ftg8j6.js → ripgrep-bzgcn0jp.js} +9 -9
- package/dist/chunks/{skill-tdyr00jb.js → ripgrep-bzpt0j1a.js} +13 -13
- package/dist/chunks/{skill-4sg7xgp3.js → ripgrep-c2p9jgdj.js} +13 -13
- package/dist/chunks/{skill-gek21znr.js → ripgrep-c4er40t9.js} +23 -23
- package/dist/chunks/{skill-zjmf0026.js → ripgrep-cjvaq67s.js} +6 -6
- package/dist/chunks/{skill-ckecvw8r.js → ripgrep-ckecvw8r.js} +2 -2
- package/dist/chunks/{skill-ewts7vfk.js → ripgrep-cn6jgx1z.js} +10 -10
- package/dist/chunks/{skill-y5rf7nzv.js → ripgrep-cp937pt4.js} +4 -4
- package/dist/chunks/{skill-k1m56zwf.js → ripgrep-crdcv09r.js} +28 -28
- package/dist/chunks/{skill-6fchhapm.js → ripgrep-csbx136w.js} +87 -87
- package/dist/chunks/{skill-sfrtav9q.js → ripgrep-cskmpdg7.js} +21 -21
- package/dist/chunks/{skill-zzdsfqst.js → ripgrep-cxkbgxve.js} +8 -8
- package/dist/chunks/{skill-cmwkp3r5.js → ripgrep-czfptnv9.js} +6 -6
- package/dist/chunks/{skill-0f9afca0.js → ripgrep-d2aac7k2.js} +5 -5
- package/dist/chunks/{skill-1tx4fn90.js → ripgrep-d334d6fa.js} +22 -22
- package/dist/chunks/{skill-fnrzj9xf.js → ripgrep-d51p1snd.js} +33 -33
- package/dist/chunks/{skill-jn0q4s4g.js → ripgrep-dfp96c79.js} +13 -13
- package/dist/chunks/{skill-6yvz6ne1.js → ripgrep-dhp284ad.js} +16 -16
- package/dist/chunks/{skill-0vxz8yyr.js → ripgrep-dkbcejsd.js} +5 -5
- package/dist/chunks/{skill-h7k36nvq.js → ripgrep-dnwg479b.js} +20 -20
- package/dist/chunks/{skill-jsvb6vsn.js → ripgrep-dq0v80fr.js} +12 -12
- package/dist/chunks/{skill-7rx9zbjq.js → ripgrep-dqx57jvk.js} +7 -7
- package/dist/chunks/{skill-ptjakhga.js → ripgrep-dsgyqgn7.js} +80 -80
- package/dist/chunks/{skill-r4xhx5yy.js → ripgrep-dxczsaw9.js} +12 -12
- package/dist/chunks/{skill-d0k4a5wc.js → ripgrep-dy0x8zhs.js} +4 -4
- package/dist/chunks/{skill-eaj1djv9.js → ripgrep-eaj1djv9.js} +1 -1
- package/dist/chunks/{skill-7w1x3s5v.js → ripgrep-eaz2r2r7.js} +15 -15
- package/dist/chunks/{skill-0fab615q.js → ripgrep-eb9pgxhh.js} +38 -38
- package/dist/chunks/{skill-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{skill-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{skill-q4q6dg6e.js → ripgrep-ez62b8nj.js} +9 -9
- package/dist/chunks/{skill-2yza5ybg.js → ripgrep-f6cx8hw8.js} +15 -15
- package/dist/chunks/{skill-rkred95m.js → ripgrep-f8yxf6yh.js} +2 -2
- package/dist/chunks/{skill-59m5ry2k.js → ripgrep-fb2wt6fa.js} +11 -11
- package/dist/chunks/{skill-tas7yqhd.js → ripgrep-fhty9aym.js} +8 -8
- package/dist/chunks/{skill-y0mdfkf3.js → ripgrep-fnq7f60k.js} +53 -53
- package/dist/chunks/{skill-9rqa1z1z.js → ripgrep-fy185n8r.js} +8 -8
- package/dist/chunks/{skill-qf1yvww3.js → ripgrep-g61gwje2.js} +19 -19
- package/dist/chunks/{skill-abmzmmfq.js → ripgrep-g8ynzfkw.js} +28 -28
- package/dist/chunks/{skill-z3zacvm2.js → ripgrep-g9x4v4td.js} +14 -14
- package/dist/chunks/{skill-szgrrejf.js → ripgrep-ga6490wn.js} +15 -15
- package/dist/chunks/{skill-xt5r5489.js → ripgrep-gb3evf1k.js} +6 -6
- package/dist/chunks/{skill-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-r64yrxvz.js → ripgrep-gh70s58z.js} +16 -16
- package/dist/chunks/{skill-8w9z9ekh.js → ripgrep-gke1gaw3.js} +9 -9
- package/dist/chunks/{skill-6typ8tap.js → ripgrep-gptkyj0y.js} +47 -47
- package/dist/chunks/{skill-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{skill-4qxv2j2v.js → ripgrep-h134x250.js} +20 -20
- package/dist/chunks/{skill-9pwrs4hy.js → ripgrep-h46vtd2a.js} +18 -18
- package/dist/chunks/{skill-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-51hvrym2.js → ripgrep-hmhm0cn6.js} +11 -11
- package/dist/chunks/{skill-xywcat6j.js → ripgrep-hvv7vc5p.js} +19 -19
- package/dist/chunks/ripgrep-hxa7m5za.js +4 -0
- package/dist/chunks/{skill-rp28jgm9.js → ripgrep-j2sfdfbt.js} +4 -4
- package/dist/chunks/{skill-8ehyresh.js → ripgrep-j32h1066.js} +15 -15
- package/dist/chunks/{skill-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-hpq22ygf.js → ripgrep-j5mm8q72.js} +12 -12
- package/dist/chunks/{skill-s89t6pqr.js → ripgrep-jczp48x9.js} +17 -17
- package/dist/chunks/{skill-cr9wy6w1.js → ripgrep-jj72jhew.js} +6 -6
- package/dist/chunks/{skill-xjvzjxjz.js → ripgrep-jk94ewr9.js} +18 -18
- package/dist/chunks/{skill-g0ez42gr.js → ripgrep-jvzajy3h.js} +11 -11
- package/dist/chunks/{skill-yf10kn3d.js → ripgrep-k1qrnqst.js} +8 -8
- package/dist/chunks/{skill-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{skill-06gm914g.js → ripgrep-k4s7esk4.js} +20 -20
- package/dist/chunks/ripgrep-k840h17t.js +26 -0
- package/dist/chunks/{skill-697fm79x.js → ripgrep-kb6vbnxp.js} +4 -4
- package/dist/chunks/{skill-9vm3jkw2.js → ripgrep-kgsbr495.js} +23 -23
- package/dist/chunks/{skill-wa0ghts3.js → ripgrep-kv3szn4m.js} +40 -40
- package/dist/chunks/{skill-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{skill-5y2jknye.js → ripgrep-m6f5ghys.js} +14 -14
- package/dist/chunks/{skill-05cj7vxy.js → ripgrep-m6xj40dh.js} +30 -30
- package/dist/chunks/{skill-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-f0q3zgp7.js → ripgrep-mayc1q7t.js} +3 -3
- package/dist/chunks/{skill-56gdpj1q.js → ripgrep-mfqp6xfm.js} +6 -6
- package/dist/chunks/{skill-50mzsvk4.js → ripgrep-mjymc32g.js} +4 -4
- package/dist/chunks/{skill-01z3gtar.js → ripgrep-mngbseg8.js} +14 -14
- package/dist/chunks/{skill-b6vqt057.js → ripgrep-mx7pd35q.js} +26 -26
- package/dist/chunks/{skill-caxwz85h.js → ripgrep-mxfbfm56.js} +1 -1
- package/dist/chunks/{skill-dc99c8rr.js → ripgrep-mz0a5xtr.js} +22 -22
- package/dist/chunks/{skill-kbs8t6dd.js → ripgrep-n4m8a7d6.js} +3 -3
- package/dist/chunks/{skill-wxwmqvdm.js → ripgrep-ne587evb.js} +8 -8
- package/dist/chunks/{skill-77djfn49.js → ripgrep-nmtrt2bh.js} +30 -30
- package/dist/chunks/{skill-0269zm6b.js → ripgrep-npqb0cgz.js} +21 -21
- package/dist/chunks/{skill-3409w901.js → ripgrep-nw11vmr7.js} +12 -12
- package/dist/chunks/{skill-r55vasa2.js → ripgrep-nzyhnfxz.js} +4 -4
- package/dist/chunks/{skill-4stjezst.js → ripgrep-p83yf1cx.js} +26 -26
- package/dist/chunks/{skill-zyq8xwgz.js → ripgrep-peqw7khj.js} +24 -24
- package/dist/chunks/{skill-g7ec6ga3.js → ripgrep-phmevcvr.js} +18 -18
- package/dist/chunks/{skill-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{skill-9j6qf2nz.js → ripgrep-px5knkzc.js} +23 -23
- package/dist/chunks/{skill-pc9bj7n8.js → ripgrep-q2v7jffc.js} +27 -27
- package/dist/chunks/ripgrep-q509s3k3.js +18 -0
- package/dist/chunks/{skill-1813d5zh.js → ripgrep-q826ync2.js} +7 -7
- package/dist/chunks/{skill-eppx78dg.js → ripgrep-qgc2t3bc.js} +20 -20
- package/dist/chunks/{skill-2k8khapm.js → ripgrep-qgn6gcr1.js} +5 -5
- package/dist/chunks/{skill-v3sc2vvt.js → ripgrep-qgsvjgde.js} +7 -7
- package/dist/chunks/{skill-xz871bm8.js → ripgrep-qk1bfebt.js} +12 -12
- package/dist/chunks/{skill-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-0mc464d2.js → ripgrep-qx9b7nxy.js} +41 -41
- package/dist/chunks/{skill-4d3460jv.js → ripgrep-r0nczmem.js} +9 -9
- package/dist/chunks/{skill-xskayf5f.js → ripgrep-r3hbvp2n.js} +1 -1
- package/dist/chunks/{skill-dfzjqex4.js → ripgrep-r4yqrmdq.js} +5 -5
- package/dist/chunks/{skill-426gc0d9.js → ripgrep-r63vjjdx.js} +14 -14
- package/dist/chunks/{skill-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-cwa6csj7.js → ripgrep-rey5gbxv.js} +9 -9
- package/dist/chunks/{skill-fkd5x55y.js → ripgrep-rnntqgmf.js} +11 -11
- package/dist/chunks/{skill-e2hjzebn.js → ripgrep-rpg9c19m.js} +4 -4
- package/dist/chunks/{skill-e82fcy7k.js → ripgrep-rwsbt5n6.js} +9 -9
- package/dist/chunks/{skill-f3yz1pkd.js → ripgrep-s0fytse5.js} +6 -6
- package/dist/chunks/{skill-a81kfqvn.js → ripgrep-s30fyz93.js} +4 -4
- package/dist/chunks/{skill-qv31cf21.js → ripgrep-s45mxgy4.js} +36 -36
- package/dist/chunks/{skill-682qh0zd.js → ripgrep-sn71vbdz.js} +1 -1
- package/dist/chunks/{skill-29etqs2x.js → ripgrep-sptth8gd.js} +16 -16
- package/dist/chunks/{skill-x5n7t7vp.js → ripgrep-sxxekahb.js} +32 -32
- package/dist/chunks/{skill-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{skill-4k0xqdp1.js → ripgrep-tdhe5xga.js} +8 -8
- package/dist/chunks/{skill-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{skill-j17kqcvt.js → ripgrep-tnc1pm62.js} +2 -2
- package/dist/chunks/{skill-8g3f09g0.js → ripgrep-tnzk64ta.js} +1 -1
- package/dist/chunks/{skill-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{skill-61xtdpx5.js → ripgrep-v13kfdwm.js} +3 -3
- package/dist/chunks/{skill-9swwndym.js → ripgrep-v1hcbdp0.js} +19 -19
- package/dist/chunks/{skill-jcjbvb4p.js → ripgrep-v3zreyn7.js} +1 -1
- package/dist/chunks/{skill-g8d3gcyj.js → ripgrep-v5dkyp31.js} +7 -7
- package/dist/chunks/{skill-1xh3c5c6.js → ripgrep-vbvzqspv.js} +19 -19
- package/dist/chunks/{skill-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-31a1n326.js → ripgrep-vgsamq7t.js} +13 -13
- package/dist/chunks/{skill-vzr7dzny.js → ripgrep-vm2bxx9x.js} +26 -26
- package/dist/chunks/{skill-s8610hey.js → ripgrep-vmgq4x8b.js} +2 -2
- package/dist/chunks/{skill-wqkncbjv.js → ripgrep-vmwh049b.js} +6 -6
- package/dist/chunks/{skill-zmjya9fy.js → ripgrep-vr3nny2d.js} +47 -47
- package/dist/chunks/{skill-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{skill-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{skill-17jhsav0.js → ripgrep-w0mmn6kc.js} +6 -6
- package/dist/chunks/{skill-t538pfqr.js → ripgrep-w3an97nd.js} +48 -48
- package/dist/chunks/{skill-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-t407ycn8.js → ripgrep-w8tgkp2m.js} +18 -18
- package/dist/chunks/{skill-qtzk0ftm.js → ripgrep-wbd0sh62.js} +19 -19
- package/dist/chunks/{skill-wd3x2cqz.js → ripgrep-wd3x2cqz.js} +2 -2
- package/dist/chunks/{skill-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{skill-59zk85bq.js → ripgrep-wf70wxe0.js} +32 -32
- package/dist/chunks/{skill-pmpj9d72.js → ripgrep-wgve64nz.js} +21 -21
- package/dist/chunks/{skill-wq4mmp7m.js → ripgrep-wq4mmp7m.js} +4 -4
- package/dist/chunks/{skill-j63yb23q.js → ripgrep-wv4ktw8j.js} +4 -4
- package/dist/chunks/{skill-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{skill-02chabd3.js → ripgrep-x4myat66.js} +30 -30
- package/dist/chunks/{skill-kpr1h2gp.js → ripgrep-xbsd7fdx.js} +17 -17
- package/dist/chunks/{skill-xfkkasph.js → ripgrep-xfkkasph.js} +1 -1
- package/dist/chunks/{skill-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
- package/dist/chunks/{skill-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{skill-yywpcc9t.js → ripgrep-yc748dnc.js} +24 -24
- package/dist/chunks/{skill-1acjjqhc.js → ripgrep-yp2x3t23.js} +4 -4
- package/dist/chunks/{skill-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{skill-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{skill-z07pqspn.js → ripgrep-z07pqspn.js} +3 -3
- package/dist/chunks/{skill-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-017yk54a.js → ripgrep-z34yb1mg.js} +10 -10
- package/dist/chunks/{skill-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{skill-pw2348z2.js → ripgrep-za77p82n.js} +6 -6
- package/dist/chunks/{skill-ve9yaw7k.js → ripgrep-zdn4gb0j.js} +8 -8
- package/dist/chunks/{skill-7tyk29va.js → ripgrep-zdnjak7e.js} +134 -134
- package/dist/chunks/{skill-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{skill-5b3a1c7c.js → ripgrep-zeksq1vy.js} +20 -20
- package/dist/chunks/{skill-gqqc8zrm.js → ripgrep-zk8nm55g.js} +11 -11
- package/dist/chunks/{skill-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-pjtj674s.js → ripgrep-zs34p7rh.js} +1 -1
- package/dist/chunks/{skill-p7n5kfv3.js → ripgrep-zswjw54r.js} +7 -7
- package/dist/chunks/{skill-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- 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 +125 -125
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +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 +70 -70
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- 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 +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- 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 +87 -87
- 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 +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +3 -3
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +95 -95
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +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 +134 -134
- 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 +221 -221
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- 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 +117 -117
- package/dist/session/model-transport.js +7 -7
- 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 +3 -3
- 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 +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- 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 +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- 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 +112 -112
- package/dist/tool/plugin/write.js +122 -122
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/skill-0mesazry.js +0 -4
- package/dist/chunks/skill-ctefx7dc.js +0 -18
- package/dist/chunks/skill-ps9w8v57.js +0 -507
- package/dist/chunks/skill-s4kxdk1d.js +0 -252
- package/dist/chunks/skill-t5tbcprn.js +0 -26
- /package/dist/chunks/{skill-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-4zsftp3p.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./ripgrep-sptth8gd.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID8,
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
19
|
Service65,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
node69,
|
|
21
|
+
Event13
|
|
22
|
+
} from "./ripgrep-zeksq1vy.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,24 +30,24 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event12,
|
|
34
34
|
Family: () => Family2,
|
|
35
35
|
ID: () => ID7,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
40
|
Service: () => Service64,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node68,
|
|
44
|
+
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
50
|
+
import { Event as Event12 } from "@opencode/schema/model";
|
|
51
51
|
var ID7 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info21 = Model.Info;
|
|
60
60
|
|
|
61
61
|
class Service64 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
63
|
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
64
64
|
const providers = yield* Service65;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const location = yield*
|
|
66
|
+
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,7 +197,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
200
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
201
|
return Service64.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node68 = makeLocationNode({ service: Service64, layer, deps: [node69, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,7 +225,7 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
231
|
providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
|
|
@@ -233,4 +233,4 @@ function parse4(input) {
|
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2,
|
|
236
|
+
export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info21, Service64, node68, compatibility2, parse5, exports_model2, Event12 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-29jfjc42.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
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
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-nzyhnfxz.js";
|
|
18
18
|
import {
|
|
19
19
|
ID8,
|
|
20
20
|
aisdk2,
|
|
21
21
|
Service65
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-zeksq1vy.js";
|
|
23
23
|
import {
|
|
24
24
|
ID7,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Info21
|
|
26
|
+
} from "./ripgrep-npqb0cgz.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info21.default(providerID, ID7.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info23,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info23 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info23, key2, exports_connection };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service67
|
|
3
|
-
} from "./skill-yywpcc9t.js";
|
|
4
1
|
import {
|
|
5
2
|
Service71
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-yc748dnc.js";
|
|
4
|
+
import {
|
|
5
|
+
Service75
|
|
6
|
+
} from "./ripgrep-kv3szn4m.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service17
|
|
14
|
+
} from "./ripgrep-px5knkzc.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin43,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name9 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input9 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin43 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service75;
|
|
53
|
+
const forms = yield* Service71;
|
|
54
|
+
const websearch = yield* Service17;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name9,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input9,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name9,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name9];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name9, NO_RESULTS2, description3, Input9, Plugin43, exports_websearch2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-mjymc32g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info10
|
|
9
|
+
} from "./ripgrep-tdhe5xga.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info16
|
|
12
|
+
} from "./ripgrep-3cfzdc8e.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info12
|
|
15
|
+
} from "./ripgrep-v5dkyp31.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info18
|
|
18
|
+
} from "./ripgrep-d2aac7k2.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-qgn6gcr1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info17
|
|
24
|
+
} from "./ripgrep-510m7gjw.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info9
|
|
27
|
+
} from "./ripgrep-9tca1jv6.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./ripgrep-wv4ktw8j.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info16, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info18, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info17, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -2,26 +2,26 @@ 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
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service58,
|
|
24
|
+
node: () => node60
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service58 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service60;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service58.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node60 = makeLocationNode({ service: Service58, layer, deps: [node62, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service58, node60, exports_ripgrep };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-4zsftp3p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node77
|
|
8
|
+
} from "./ripgrep-3my6sg7q.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event4,
|
|
21
|
+
ID: () => ID3,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service17,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node20
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event4 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID3 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID3,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service17 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service73;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service17.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node20 = makeLocationNode({
|
|
188
|
+
service: Service17,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node77]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service17, node20, exports_websearch3, Event4 };
|