Open
[sync] PR-6: roo-code版本升级到3.19.3 #7
AtomGit-BotAdd on Jun 18, 2025
[sync] PR-6: roo-code版本升级到3.19.3 #7
Open
Total: 14 files changed+36-19
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | ## 1. 打开Roo Code面板 | 3 | ## 1. 打开Roo Code面板 |
| 4 | 4 | ||
| 5 | -在vscodium点击Roo Code图标。 | 5 | +在vscodium中打开一个工作空间,点击左侧边栏的Roo Code图标。 |
| 6 | 6 | ||
| 7 |  | 7 |  |
| 8 | 8 | ||
| @@ -24,10 +24,10 @@ Roo Code需要通过API秘钥访问大模型,用户在使用前,需先申请 | |||
| 24 | 24 | ||
| 25 | ## 设置语言为中文 | 25 | ## 设置语言为中文 |
| 26 | 26 | ||
| 27 | -Roo Code语言默认显示为英文,点击右上角设置按钮,页面拉到最下面,在language栏选择简体中文。 | 27 | +Roo Code语言默认显示为英文,点击右上角设置按钮,点击Language按钮,在language栏选择简体中文。 |
| 28 | 28 | ||
| 29 |  | 29 |  |
| 30 | 30 | ||
| 31 | -选取成功后点击save按钮,语言修改为中文。 | 31 | +选取成功后点击save按钮,语言修改为中文,点击完成,可返回主页。 |
| 32 | 32 | ||
| 33 |  | 33 |  |
| @@ -0,0 +1,14 @@ | |||
| 1 | +diff --git a/src/services/ripgrep/index.ts b/src/services/ripgrep/index.ts | ||
| 2 | +index 01e2c26f..5ffd42df 100644 | ||
| 3 | +--- a/src/services/ripgrep/index.ts | ||
| 4 | ++++ b/src/services/ripgrep/index.ts | ||
| 5 | +@@ -92,7 +92,8 @@ export async function getBinPath(vscodeAppRoot: string): Promise<string | undefi | ||
| 6 | + (await checkPath("node_modules/@vscode/ripgrep/bin/")) || | ||
| 7 | + (await checkPath("node_modules/vscode-ripgrep/bin")) || | ||
| 8 | + (await checkPath("node_modules.asar.unpacked/vscode-ripgrep/bin/")) || | ||
| 9 | +- (await checkPath("node_modules.asar.unpacked/@vscode/ripgrep/bin/")) | ||
| 10 | ++ (await checkPath("node_modules.asar.unpacked/@vscode/ripgrep/bin/")) || | ||
| 11 | ++ ("/usr/bin/rg") | ||
| 12 | + ) | ||
| 13 | + } | ||
| 14 | + | ||
| @@ -1,18 +1,21 @@ | |||
| 1 | %define nodeheaders_version v20.18.2 | 1 | %define nodeheaders_version v20.18.2 |
| 2 | 2 | ||
| 3 | Name: roo-code | 3 | Name: roo-code |
| 4 | -Version: 3.10.5 | 4 | +Version: 3.19.3 |
| 5 | -Release: 3 | 5 | +Release: 1 |
| 6 | Summary: Roo Code (prev. Roo Cline) gives you a whole dev team of AI agents in your code editor. | 6 | Summary: Roo Code (prev. Roo Cline) gives you a whole dev team of AI agents in your code editor. |
| 7 | License: Apache-2.0 | 7 | License: Apache-2.0 |
| 8 | -URL: https://github.com/RooVetGit/Roo-Code | 8 | +URL: https://roocode.com |
| 9 | -Source0: https://github.com/RooVetGit/Roo-Code/archive/refs/tags/v%{version}.tar.gz | 9 | +Source0: https://github.com/RooCodeInc/Roo-Code/archive/refs/tags/v%{version}.tar.gz |
| 10 | Source1: https://nodejs.org/dist/%{nodeheaders_version}/node-%{nodeheaders_version}-headers.tar.gz | 10 | Source1: https://nodejs.org/dist/%{nodeheaders_version}/node-%{nodeheaders_version}-headers.tar.gz |
| 11 | BuildArch: noarch | 11 | BuildArch: noarch |
| 12 | 12 | ||
| 13 | 13 | ||
| 14 | -BuildRequires: nodejs-yarn nodejs-devel >= 20.18.1 npm jq unzip libsecret-devel | 14 | +BuildRequires: nodejs-yarn nodejs-devel >= 20.18.2 npm jq unzip libsecret-devel |
| 15 | -Requires: vscodium | 15 | +Requires: vscodium rust-ripgrep |
| 16 | + | ||
| 17 | + | ||
| 18 | +Patch0: ripgrep.patch | ||
| 16 | 19 | ||
| 17 | 20 | ||
| 18 | %description | 21 | %description |
| @@ -22,22 +25,19 @@ Roo Code (prev. Roo Cline) gives you a whole dev team of AI agents in your code | |||
| 22 | %prep | 25 | %prep |
| 23 | %setup -q -T -b 0 -c -n Roo-Code-%{version} | 26 | %setup -q -T -b 0 -c -n Roo-Code-%{version} |
| 24 | 27 | ||
| 25 | -find . -name "package-lock.json" -exec sed -i 's|https://registry.yarnpkg.com/|https://mirrors.huaweicloud.com/repository/npm/|g' {} + | 28 | +%autopatch -p1 -M 0 |
| 26 | -find . -name "package-lock.json" -exec sed -i 's|https://registry.npmjs.org/|https://mirrors.huaweicloud.com/repository/npm/|g' {} + | ||
| 27 | -find . -name ".npmrc" -exec sed -i 's|https://registry.npmjs.org/|https://mirrors.huaweicloud.com/repository/npm/|g' {} + | ||
| 28 | - | ||
| 29 | 29 | ||
| 30 | %build | 30 | %build |
| 31 | +npm config set registry https://mirrors.huaweicloud.com/repository/npm/ | ||
| 31 | yarn config set registry https://mirrors.huaweicloud.com/repository/npm/ | 32 | yarn config set registry https://mirrors.huaweicloud.com/repository/npm/ |
| 32 | yarn config set tarball %{SOURCE1} | 33 | yarn config set tarball %{SOURCE1} |
| 33 | -yarn add vsce | 34 | +sed -i 's|20.19.2|>=20.18.2|g' package.json |
| 34 | -yarn run install:all | 35 | +yarn run install |
| 35 | -yarn run compile | ||
| 36 | yarn run build | 36 | yarn run build |
| 37 | 37 | ||
| 38 | 38 | ||
| 39 | %install | 39 | %install |
| 40 | -unzip bin/$( jq -r '.name' "package.json" )-%{version}.vsix | 40 | +unzip bin/roo-cline-%{version}.vsix |
| 41 | mkdir -p %{buildroot}%{_datadir}/vscodium/resources/app/extensions/ | 41 | mkdir -p %{buildroot}%{_datadir}/vscodium/resources/app/extensions/ |
| 42 | mv extension %{buildroot}%{_datadir}/vscodium/resources/app/extensions/%{name} | 42 | mv extension %{buildroot}%{_datadir}/vscodium/resources/app/extensions/%{name} |
| 43 | 43 | ||
| @@ -47,11 +47,14 @@ mv extension %{buildroot}%{_datadir}/vscodium/resources/app/extensions/%{name} | |||
| 47 | 47 | ||
| 48 | 48 | ||
| 49 | %changelog | 49 | %changelog |
| 50 | +* Mon Jun 16 2025 wangkui35 <wangkui35@h-partners.com> - 3.19.3-1 | ||
| 51 | +- update to 3.19.3-1 | ||
| 52 | + | ||
| 50 | * Tue Jun 10 2025 wu-donger <wudonger@huawei.com> - 3.10.5-3 | 53 | * Tue Jun 10 2025 wu-donger <wudonger@huawei.com> - 3.10.5-3 |
| 51 | - revise docs formatting guidelines | 54 | - revise docs formatting guidelines |
| 52 | 55 | ||
| 53 | -* Thu Mar 27 2025 wangkui <wangkui35@h-partner.com> - 3.10.5-2 | 56 | +* Thu Mar 27 2025 wangkui <wangkui35@h-partners.com> - 3.10.5-2 |
| 54 | - add docs | 57 | - add docs |
| 55 | 58 | ||
| 56 | -* Thu Mar 27 2025 wangkui <wangkui35@h-partner.com> - 3.10.5-1 | 59 | +* Thu Mar 27 2025 wangkui <wangkui35@h-partners.com> - 3.10.5-1 |
| 57 | - init | 60 | - init |
Binary files do not support preview