diff --git a/docs/en/_toc.yaml b/docs/en/_toc.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7695543d50dd75ef63bab0c14b12d9bcc0280cbd --- /dev/null +++ b/docs/en/_toc.yaml @@ -0,0 +1,12 @@ +label: Overview of Roo Code +isManual: true +description: Roo Code is an AI proxy plugin in vscodium +sections: + - label: Overview of Roo Code + href: ./index.md + - label: Installation and uninstallation guide + href: ./install/install_and_remove.md + - label: Set API key and language + href: ./manual/setting_api_key_and_language.md + - label: Create your first task + href: ./manual/create_your_first_task.md diff --git a/docs/en/index.md b/docs/en/index.md new file mode 100644 index 0000000000000000000000000000000000000000..fc06db5ae6606bd9a0a602cf29b764877ffe9746 --- /dev/null +++ b/docs/en/index.md @@ -0,0 +1,14 @@ +# Overview of Roo Code + +## Introduction + +Roo Code is an AI agent plugin in vscodium, which has the following functions: + +- Communicate in natural language +- Read and write files directly in your workspace +- Run terminal commands +- Automate browser actions +- Integrate with any OpenAI-compatible or custom API/model +- Adapt its “personality” and capabilities through Custom Modes + +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). diff --git a/docs/en/install/install_and_remove.md b/docs/en/install/install_and_remove.md new file mode 100644 index 0000000000000000000000000000000000000000..5eb5f6ded15530fafc8f12ce396a2b8cf3752b61 --- /dev/null +++ b/docs/en/install/install_and_remove.md @@ -0,0 +1,26 @@ +# Installation and uninstallation guide + +## Environmental Requirements + +- Operating system: openEuler >= 24.03-LTS-SP2; +- The desktop system has been installed and can be accessed normally. + +## Install + +The openEuler system has integrated Roo Code, which can be installed via dnf: + +```bash +sudo dnf clean all +sudo dnf makecache +sudo dnf install roo-code +``` + +After the installation is complete, reopen VSCodium and click the root-code icon in the sidebar, as shown below: + +![Install](./pic/1-install.png) + +## Uninstall + +```bash +sudo dnf remove roo-code +``` diff --git a/docs/en/install/pic/1-install.png b/docs/en/install/pic/1-install.png new file mode 100644 index 0000000000000000000000000000000000000000..5bf50631625f692e4194e84b9e01c525d75a9e40 Binary files /dev/null and b/docs/en/install/pic/1-install.png differ diff --git a/docs/en/manual/create_your_first_task.md b/docs/en/manual/create_your_first_task.md new file mode 100644 index 0000000000000000000000000000000000000000..71ad200fb18ebd682f3f0b14c2e6897cfb6076db --- /dev/null +++ b/docs/en/manual/create_your_first_task.md @@ -0,0 +1,41 @@ +# Create your first task + +## 1. Open the Roo Code panel + +Click the Roo Code icon in VSCodium. + +![open](./pic/6-start.png) + +## 2. Input task + +In the input field at the bottom, enter the task description, such as: + +- Create a file named "hello.txt" and write "Hello world!" into it; +- Write a function in Python that can calculate the sum of two numbers; +- Design a web-based Minesweeper game using HTML, CSS, and JavaScript, and place it in the directory named "minesweeper"。 + +![input](./pic/7-input-task.png) + +## 3. Send task + +Click the "Send" button in the lower right corner to send the task. + +## 4. Review and approval operations + +Roo Code will analyze your request and suggest specific actions, which include: + +- Reading files: Shows file contents it needs to access +- Writing to files: Displays a diff with proposed changes (added lines in green, removed in red) +- Executing commands: Shows the exact command to run in your terminal +- Using the Browser: Outlines browser actions (click, type, etc.) +- Asking questions: Requests clarification when needed to proceed + +![save](./pic/8-save.png) + +Each operation requires your approval (unless auto-approval is enabled). + +## 5. Iterate + +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. + +![iterate](./pic/9-iterate.png) diff --git a/docs/en/manual/pic/2-create-key.png b/docs/en/manual/pic/2-create-key.png new file mode 100644 index 0000000000000000000000000000000000000000..e5ca599d420091ed7d1a27b921683dadf97cd3af Binary files /dev/null and b/docs/en/manual/pic/2-create-key.png differ diff --git a/docs/en/manual/pic/3-api-key.png b/docs/en/manual/pic/3-api-key.png new file mode 100644 index 0000000000000000000000000000000000000000..bf1267b278008cbe2c12fd79db8bfc4fbd485687 Binary files /dev/null and b/docs/en/manual/pic/3-api-key.png differ diff --git a/docs/en/manual/pic/4-settings.png b/docs/en/manual/pic/4-settings.png new file mode 100644 index 0000000000000000000000000000000000000000..7053ebbcac8d9dcdf5977e57cabe140014877c2a Binary files /dev/null and b/docs/en/manual/pic/4-settings.png differ diff --git a/docs/en/manual/pic/5-chinese.png b/docs/en/manual/pic/5-chinese.png new file mode 100644 index 0000000000000000000000000000000000000000..0d7fc67d8d12ceec14d1b4dfd3907e7376b010c2 Binary files /dev/null and b/docs/en/manual/pic/5-chinese.png differ diff --git a/docs/en/manual/pic/6-start.png b/docs/en/manual/pic/6-start.png new file mode 100644 index 0000000000000000000000000000000000000000..b78392560d502bf654424ad273ec2c8f96e505b6 Binary files /dev/null and b/docs/en/manual/pic/6-start.png differ diff --git a/docs/en/manual/pic/7-input-task.png b/docs/en/manual/pic/7-input-task.png new file mode 100644 index 0000000000000000000000000000000000000000..38d475618ccac3b6958bf361677f6f7ecf5ded7d Binary files /dev/null and b/docs/en/manual/pic/7-input-task.png differ diff --git a/docs/en/manual/pic/8-save.png b/docs/en/manual/pic/8-save.png new file mode 100644 index 0000000000000000000000000000000000000000..89a2a438b0917d7a5d665c03184e6ccfc0272cd5 Binary files /dev/null and b/docs/en/manual/pic/8-save.png differ diff --git a/docs/en/manual/pic/9-iterate.png b/docs/en/manual/pic/9-iterate.png new file mode 100644 index 0000000000000000000000000000000000000000..0fc7bae99d0975024c4f9a412205d95a236ef211 Binary files /dev/null and b/docs/en/manual/pic/9-iterate.png differ diff --git a/docs/en/manual/setting_api_key_and_language.md b/docs/en/manual/setting_api_key_and_language.md new file mode 100644 index 0000000000000000000000000000000000000000..ed064fe880d5da811fdb20f70f24615c51c1886c --- /dev/null +++ b/docs/en/manual/setting_api_key_and_language.md @@ -0,0 +1,33 @@ +# Set API key and language + +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. + +## Get the secret key + +1. Enter [SiliconFlow official website](https://siliconflow.cn/zh-cn/); +2. Log in with your account; +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"; +4. After successfully creating the secret key, copy the secret key. + +![API Key](./pic/2-create-key.png) + +## Set API key in Roo Code + +1. Open Roo Code; +2. Select "OpenAI Compatible" in the "API Provider" column; +3. Input the SiliconFlow interface URL in the Base URL, as shown in the figure below; +4. Input the copied API key in the OpenAI API Key field; +5. The Model column is used to input the model used in this article, which is Pro/deepseek-ai/DeepSeek-R1; +6. After inputting, click "Let's go" to complete the secret key setting。 + +![AIP Key](./pic/3-api-key.png) + +## Set the language to Chinese + +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. + +![Settings](./pic/4-settings.png) + +After successful selection, click the "Save" button and change the language to Chinese. + +![Chinese](./pic/5-chinese.png) diff --git a/ripgrep.patch b/ripgrep.patch new file mode 100644 index 0000000000000000000000000000000000000000..d2269a39dcf19ef3664f3b6dba58a955b63bb571 --- /dev/null +++ b/ripgrep.patch @@ -0,0 +1,14 @@ +diff --git a/src/services/ripgrep/index.ts b/src/services/ripgrep/index.ts +index 01e2c26f..5ffd42df 100644 +--- a/src/services/ripgrep/index.ts ++++ b/src/services/ripgrep/index.ts +@@ -92,7 +92,8 @@ export async function getBinPath(vscodeAppRoot: string): Promise= 20.18.1 npm jq unzip libsecret-devel -Requires: vscodium +BuildRequires: nodejs-yarn nodejs-devel >= 20.18.2 npm jq unzip libsecret-devel +Requires: vscodium rust-ripgrep + + +Patch0: ripgrep.patch %description @@ -22,22 +25,21 @@ Roo Code (prev. Roo Cline) gives you a whole dev team of AI agents in your code %prep %setup -q -T -b 0 -c -n Roo-Code-%{version} -find . -name "package-lock.json" -exec sed -i 's|https://registry.yarnpkg.com/|https://mirrors.huaweicloud.com/repository/npm/|g' {} + -find . -name "package-lock.json" -exec sed -i 's|https://registry.npmjs.org/|https://mirrors.huaweicloud.com/repository/npm/|g' {} + -find . -name ".npmrc" -exec sed -i 's|https://registry.npmjs.org/|https://mirrors.huaweicloud.com/repository/npm/|g' {} + - +%autopatch -p1 -M 0 %build +npm config set registry https://mirrors.huaweicloud.com/repository/npm/ yarn config set registry https://mirrors.huaweicloud.com/repository/npm/ yarn config set tarball %{SOURCE1} -yarn add vsce -yarn run install:all -yarn run compile -yarn run build +sed -i 's|20.19.2|>=20.18.2|g' package.json +yarn run install +sed -i 's|require("brace-expansion")|import("brace-expansion")|' ./node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/commonjs/index.js +sed -i "s|require('brace-expansion')|import('brace-expansion')|" ./node_modules/.pnpm/minimatch@3.1.2/node_modules/minimatch/minimatch.js +./node_modules/.bin/pnpm vsix %install -unzip bin/$( jq -r '.name' "package.json" )-%{version}.vsix +unzip bin/roo-cline-%{version}.vsix mkdir -p %{buildroot}%{_datadir}/vscodium/resources/app/extensions/ mv extension %{buildroot}%{_datadir}/vscodium/resources/app/extensions/%{name} @@ -47,6 +49,9 @@ mv extension %{buildroot}%{_datadir}/vscodium/resources/app/extensions/%{name} %changelog +* Mon Jul 28 2025 wangkui35 - 3.25.14-1 +- update to 3.25.14-1 + * Tue Jun 10 2025 wu-donger - 3.10.5-3 - revise docs formatting guidelines diff --git a/v3.10.5.tar.gz b/v3.10.5.tar.gz deleted file mode 100644 index 7edbd10240cc9742960de9bd2ecae64b8aaf5265..0000000000000000000000000000000000000000 Binary files a/v3.10.5.tar.gz and /dev/null differ diff --git a/v3.25.14.tar.gz b/v3.25.14.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..58d179db58c3dc8c7991c91bbe3cdae224169297 Binary files /dev/null and b/v3.25.14.tar.gz differ