Open
update to 3.25.14-1 #10
wangkui35Add on Sep 1, 2025
update to 3.25.14-1 #10
Open
wangkui35Add on Sep 1, 2025
Merged fromrefs/pull/10/headintoopenEuler-24.03-LTS-Next
Total: 32 files changed+286-15
@@ -0,0 +1,12 @@
1+label: Overview of Roo Code
2+isManual: true
3+description: Roo Code is an AI proxy plugin in vscodium
4+sections:
5+ - label: Overview of Roo Code
6+ href: ./index.md
7+ - label: Installation and uninstallation guide
8+ href: ./install/install_and_remove.md
9+ - label: Set API key and language
10+ href: ./manual/setting_api_key_and_language.md
11+ - label: Create your first task
12+ href: ./manual/create_your_first_task.md
@@ -0,0 +1,14 @@
1+# Overview of Roo Code
2+ 
3+## Introduction
4+ 
5+Roo Code is an AI agent plugin in vscodium, which has the following functions:
6+ 
7+- Communicate in natural language
8+- Read and write files directly in your workspace
9+- Run terminal commands
10+- Automate browser actions
11+- Integrate with any OpenAI-compatible or custom API/model
12+- Adapt its “personality” and capabilities through Custom Modes
13+ 
14+This document briefly introduces the installation, uninstallation, and usage guidance of Roo Code in the openEuler system. For further information, please refer to the [official documentation](https://docs.roocode.com).
@@ -0,0 +1,26 @@
1+# Installation and uninstallation guide
2+ 
3+## Environmental Requirements
4+ 
5+- Operating system: openEuler >= 24.03-LTS-SP2;
6+- The desktop system has been installed and can be accessed normally.
7+ 
8+## Install
9+ 
10+The openEuler system has integrated Roo Code, which can be installed via dnf:
11+ 
12+```bash
13+sudo dnf clean all
14+sudo dnf makecache
15+sudo dnf install roo-code
16+```
17+ 
18+After the installation is complete, reopen VSCodium and click the root-code icon in the sidebar, as shown below:
19+ 
20+![Install](./pic/1-install.png)
21+ 
22+## Uninstall
23+ 
24+```bash
25+sudo dnf remove roo-code
26+```
@@ -0,0 +1,41 @@
1+# Create your first task
2+ 
3+## 1. Open the Roo Code panel
4+ 
5+Click the Roo Code icon in VSCodium.
6+ 
7+![open](./pic/6-start.png)
8+ 
9+## 2. Input task
10+ 
11+In the input field at the bottom, enter the task description, such as:
12+ 
13+- Create a file named "hello.txt" and write "Hello world!" into it;
14+- Write a function in Python that can calculate the sum of two numbers;
15+- Design a web-based Minesweeper game using HTML, CSS, and JavaScript, and place it in the directory named "minesweeper"。
16+ 
17+![input](./pic/7-input-task.png)
18+ 
19+## 3. Send task
20+ 
21+Click the "Send" button in the lower right corner to send the task.
22+ 
23+## 4. Review and approval operations
24+ 
25+Roo Code will analyze your request and suggest specific actions, which include:
26+ 
27+- Reading files: Shows file contents it needs to access
28+- Writing to files: Displays a diff with proposed changes (added lines in green, removed in red)
29+- Executing commands: Shows the exact command to run in your terminal
30+- Using the Browser: Outlines browser actions (click, type, etc.)
31+- Asking questions: Requests clarification when needed to proceed
32+ 
33+![save](./pic/8-save.png)
34+ 
35+Each operation requires your approval (unless auto-approval is enabled).
36+ 
37+## 5. Iterate
38+ 
39+Roo Code can interact with users. After each operation, it will wait for your feedback and then suggest the next step until your task is completed.
40+ 
41+![iterate](./pic/9-iterate.png)
@@ -0,0 +1,33 @@
1+# Set API key and language
2+ 
3+Roo Code requires access to large models through API keys, and users must apply for a key before use. Roo Code supports more than ten API providers, including openAI and DeepSeek. This article takes SiliconFlow as an example for introduction.
4+ 
5+## Get the secret key
6+ 
7+1. Enter [SiliconFlow official website](https://siliconflow.cn/zh-cn/);
8+2. Log in with your account;
9+3. Enter the [API Key](https://cloud.siliconflow.cn/account/ak) page, click "Create New API Key", enter the key description, and then click "Create New Key";
10+4. After successfully creating the secret key, copy the secret key.
11+ 
12+![API Key](./pic/2-create-key.png)
13+ 
14+## Set API key in Roo Code
15+ 
16+1. Open Roo Code;
17+2. Select "OpenAI Compatible" in the "API Provider" column;
18+3. Input the SiliconFlow interface URL in the Base URL, as shown in the figure below;
19+4. Input the copied API key in the OpenAI API Key field;
20+5. The Model column is used to input the model used in this article, which is Pro/deepseek-ai/DeepSeek-R1;
21+6. After inputting, click "Let's go" to complete the secret key setting。
22+ 
23+![AIP Key](./pic/3-api-key.png)
24+ 
25+## Set the language to Chinese
26+ 
27+The Roo Code language is displayed in English by default. Click the "Settings" button in the top right corner, scroll to the bottom of the page, and select "Simplified Chinese" in the "Language" column.
28+ 
29+![Settings](./pic/4-settings.png)
30+ 
31+After successful selection, click the "Save" button and change the language to Chinese.
32+ 
33+![Chinese](./pic/5-chinese.png)
@@ -0,0 +1,12 @@
1+label: Roo Code概述
2+isManual: true
3+description: Roo Code 是 vscodium 中的 AI 代理插件
4+sections:
5+ - label: roo-code概述
6+ href: ./index.md
7+ - label: 安装卸载指导
8+ href: ./install/install_and_remove.md
9+ - label: 设置API秘钥和语言
10+ href: ./manual/setting_api_key_and_language.md
11+ - label: 创建你的第一个任务
12+ href: ./manual/create_your_first_task.md
@@ -0,0 +1,14 @@
1+# roo-code概述
2+ 
3+## 简介
4+ 
5+Roo Code是vscodium中的AI代理插件,有以下功能:
6+ 
7+- 通过自然语言描述生成代码;
8+- 重构和调试现有代码;
9+- 编写和更新文档;
10+- 回答关于代码库的问题;
11+- 自动化重复任务;
12+- 创建新文件和项目。
13+ 
14+本文档简要介绍openEuler系统中Roo Code安装卸载及使用指导。若要了解更多内容,可参考[官方文档](https://docs.roocode.com)。
@@ -0,0 +1,26 @@
1+# 安装卸载指导
2+ 
3+## 环境要求
4+ 
5+- 操作系统:openEuler 25.03/24.03-LTS-SP2;
6+- 已安装桌面系统并能够正常进入桌面。
7+ 
8+## 安装
9+ 
10+openEuler系统已引入Roo Code,可通过dnf安装:
11+ 
12+```bash
13+sudo dnf clean all
14+sudo dnf makecache
15+sudo dnf install roo-code
16+```
17+ 
18+安装完成后重新打开vscodium,点击侧边栏root-code图标,如下所示:
19+ 
20+![安装](./pic/1-install.png)
21+ 
22+## 卸载
23+ 
24+```bash
25+sudo dnf remove roo-code
26+```
@@ -0,0 +1,41 @@
1+# 创建你的第一个任务
2+ 
3+## 1. 打开Roo Code面板
4+ 
5+在vscodium中打开一个工作空间,点击左侧边栏的Roo Code图标。
6+ 
7+![打开](./pic/6-start.png)
8+ 
9+## 2. 输入任务
10+ 
11+在底部输入栏,输入任务描述,如:
12+ 
13+- 创建一个名为hello.txt的文件,并写入 "Hello world!";
14+- 用Python语言写一个能够计算两个数字之和的函数;
15+- 设计一个网页版的扫雷游戏,使用html,css和js,放在目录minesweeper下。
16+ 
17+![输入](./pic/7-input-task.png)
18+ 
19+## 3. 发送任务
20+ 
21+点击右下角发送按钮,即可发送任务。
22+ 
23+## 4. 审核和批准操作
24+ 
25+Roo Code会分析你的请求,并提出具体操作,这些操作包括:
26+ 
27+- 读取文件: 显示它需要访问的文件内容;
28+- 编辑文件: 显示建议更改的差异(新增行用绿色表示,删除行用红色);
29+- 运行命令: 显示在终端中执行的命令;
30+- 使用浏览器: 显示浏览器操作(点击、输入等);
31+- 请求澄清: 在需要时请求澄清以继续操作。
32+ 
33+![保存](./pic/8-save.png)
34+ 
35+每个操作都需要你的批准(除非启用了auto-approval)。
36+ 
37+## 5. 交互
38+ 
39+Roo Code可与用户交互,在每个操作之后,他会等待您的反馈,然后提出下一步,直到您的任务完成。
40+ 
41+![交互](./pic/9-iterate.png)
@@ -0,0 +1,33 @@
1+# 设置API秘钥和语言
2+ 
3+Roo Code需要通过API秘钥访问大模型,用户在使用前,需先申请秘钥。Roo Code支持的API提供商有openAI、DeepSeek等十余种,本文以硅基流动(SiliconFlow)为例进行介绍。
4+ 
5+## 获取秘钥
6+ 
7+1. 进入[SiliconFlow官网](https://siliconflow.cn/zh-cn/);
8+2. 使用你的账号登录;
9+3. 进入[API秘钥](https://cloud.siliconflow.cn/account/ak)页面,点击新建API秘钥,输入秘钥描述后,点击新建秘钥;
10+4. 秘钥创建成功后,复制秘钥。
11+ 
12+![AIP秘钥](./pic/2-create-key.png)
13+ 
14+## 在Roo Code中设置API秘钥
15+ 
16+1. 打开Roo Code;
17+2. API Provider栏选择OpenAI Compatible;
18+3. Base URL中输入SiliconFlow接口网址,如下图所示;
19+4. OpenAI API Key中输入复制的API秘钥;
20+5. Model栏输入使用的模型,本文使用Pro/deepseek-ai/DeepSeek-R1;
21+6. 输入完成后,点击Let's go,秘钥设置完成。
22+ 
23+![AIP秘钥](./pic/3-api-key.png)
24+ 
25+## 设置语言为中文
26+ 
27+Roo Code语言默认显示为英文,点击右上角设置按钮,点击Language按钮,在language栏选择简体中文。
28+ 
29+![设置](./pic/4-settings.png)
30+ 
31+选取成功后点击save按钮,语言修改为中文,点击完成,可返回主页。
32+ 
33+![中文](./pic/5-chinese.png)
@@ -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.21%define nodeheaders_version v20.18.2
2 2 
3Name: roo-code3Name: roo-code
4-Version: 3.10.54+Version: 3.25.14
5Release: 15Release: 1
6Summary: Roo Code (prev. Roo Cline) gives you a whole dev team of AI agents in your code editor.6Summary: Roo Code (prev. Roo Cline) gives you a whole dev team of AI agents in your code editor.
7License: Apache-2.07License: Apache-2.0
8-URL: https://github.com/RooVetGit/Roo-Code8+URL: https://roocode.com
9-Source0: https://github.com/RooVetGit/Roo-Code/archive/refs/tags/v%{version}.tar.gz9+Source0: https://github.com/RooCodeInc/Roo-Code/archive/refs/tags/v%{version}.tar.gz
10Source1: https://nodejs.org/dist/%{nodeheaders_version}/node-%{nodeheaders_version}-headers.tar.gz10Source1: https://nodejs.org/dist/%{nodeheaders_version}/node-%{nodeheaders_version}-headers.tar.gz
11BuildArch: noarch11BuildArch: noarch
12 12 
13 13 
14-BuildRequires: nodejs-yarn nodejs-devel >= 20.18.1 npm jq unzip libsecret-devel14+BuildRequires: nodejs-yarn nodejs-devel >= 20.18.2 npm jq unzip libsecret-devel
15-Requires: vscodium15+Requires: vscodium rust-ripgrep
16+ 
17+ 
18+Patch0: ripgrep.patch
16 19 
17 20 
18%description21%description
@@ -22,22 +25,21 @@ Roo Code (prev. Roo Cline) gives you a whole dev team of AI agents in your code
22%prep25%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%build30%build
31+npm config set registry https://mirrors.huaweicloud.com/repository/npm/
31yarn config set registry https://mirrors.huaweicloud.com/repository/npm/32yarn config set registry https://mirrors.huaweicloud.com/repository/npm/
32yarn config set tarball %{SOURCE1}33yarn config set tarball %{SOURCE1}
33-yarn add vsce34+sed -i 's|20.19.2|>=20.18.2|g' package.json
34-yarn run install:all35+yarn run install
35-yarn run compile36+sed -i 's|require("brace-expansion")|import("brace-expansion")|' ./node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/commonjs/index.js
36-yarn run build37+sed -i "s|require('brace-expansion')|import('brace-expansion')|" ./node_modules/.pnpm/minimatch@3.1.2/node_modules/minimatch/minimatch.js
38+./node_modules/.bin/pnpm vsix
37 39 
38 40 
39%install41%install
40-unzip bin/$( jq -r '.name' "package.json" )-%{version}.vsix42+unzip bin/roo-cline-%{version}.vsix
41mkdir -p %{buildroot}%{_datadir}/vscodium/resources/app/extensions/43mkdir -p %{buildroot}%{_datadir}/vscodium/resources/app/extensions/
42mv extension %{buildroot}%{_datadir}/vscodium/resources/app/extensions/%{name}44mv extension %{buildroot}%{_datadir}/vscodium/resources/app/extensions/%{name}
43 45 
@@ -47,5 +49,8 @@ mv extension %{buildroot}%{_datadir}/vscodium/resources/app/extensions/%{name}
47 49 
48 50 
49%changelog51%changelog
50-* Thu Mar 27 2025 wangkui <wangkui35@h-partner.com> - 3.10.5-152+* Mon Jul 28 2025 wangkui35 <wangkui35@h-partners.com> - 3.25.14-1
53+- update to 3.25.14-1
54+ 
55+* Thu Mar 27 2025 wangkui <wangkui35@h-partners.com> - 3.10.5-1
51- init56- init
Binary files do not support preview
Binary files do not support preview