Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,24 @@ Be respectful, kind, and constructive. We welcome contributors of all background
- Rust toolchain (install via [rustup](https://rustup.rs/))
- [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/) for desktop development

#### Windows: OpenSSL Setup

The desktop app includes SSH remote support, which requires OpenSSL. On Windows, you need to provide pre-built OpenSSL binaries and set environment variables before building.

1. Download the [FireDaemon OpenSSL 3.5.5 LTS ZIP (x86+x64+ARM64)](https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.5.5.zip)
2. Extract to a directory, e.g. `C:\Users\<you>\openssl`
3. Set the following **user environment variables** (persist across terminal sessions):

```powershell
[System.Environment]::SetEnvironmentVariable("OPENSSL_DIR", "C:\Users\<you>\openssl\x64", "User")
[System.Environment]::SetEnvironmentVariable("OPENSSL_NO_VENDOR", "1", "User")
[System.Environment]::SetEnvironmentVariable("OPENSSL_STATIC", "1", "User")
```

4. Restart your terminal (or IDE) for the variables to take effect.

> **Alternative**: Install [Strawberry Perl](https://strawberryperl.com/) to let Cargo build OpenSSL from source automatically — no environment variables needed.

### Install dependencies

```bash
Expand Down
18 changes: 18 additions & 0 deletions CONTRIBUTING_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,24 @@
- Rust toolchain(通过 rustup 安装)
- 桌面端开发需准备 Tauri 依赖

#### Windows:OpenSSL 配置

桌面端包含 SSH 远程功能,该功能依赖 OpenSSL。在 Windows 上需要提供预编译的 OpenSSL 并设置环境变量,才能正常编译。

1. 下载 [FireDaemon OpenSSL 3.5.5 LTS ZIP(x86+x64+ARM64)](https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.5.5.zip)
2. 解压到任意目录,例如 `C:\Users\<用户名>\openssl`
3. 在 PowerShell 中执行以下命令,将环境变量**永久写入用户环境**:

```powershell
[System.Environment]::SetEnvironmentVariable("OPENSSL_DIR", "C:\Users\<用户名>\openssl\x64", "User")
[System.Environment]::SetEnvironmentVariable("OPENSSL_NO_VENDOR", "1", "User")
[System.Environment]::SetEnvironmentVariable("OPENSSL_STATIC", "1", "User")
```

4. 重启终端(或 IDE)使环境变量生效。

> **备选方案**:安装 [Strawberry Perl](https://strawberryperl.com/),Cargo 会自动从源码编译 OpenSSL,无需配置环境变量。

### 安装依赖

```bash
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,16 @@ Make sure you have the following prerequisites installed:
- Rust toolchain (install via [rustup](https://rustup.rs/))
- [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/) for desktop development

**Windows only**: The desktop app includes SSH remote support which requires OpenSSL. Before building, download the [FireDaemon OpenSSL 3.5.5 LTS ZIP](https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.5.5.zip), extract it, and set these environment variables in PowerShell:

```powershell
[System.Environment]::SetEnvironmentVariable("OPENSSL_DIR", "C:\path\to\openssl\x64", "User")
[System.Environment]::SetEnvironmentVariable("OPENSSL_NO_VENDOR", "1", "User")
[System.Environment]::SetEnvironmentVariable("OPENSSL_STATIC", "1", "User")
```

Then restart your terminal before running the build commands.

```bash
# Install dependencies
pnpm install
Expand Down
10 changes: 10 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@ Mini Apps 从对话中涌现,Skills 在社区里更新,Agent 在协作中进
- [Rust 工具链](https://rustup.rs/)
- [Tauri 前置依赖](https://v2.tauri.app/start/prerequisites/)(桌面端开发需要)

**Windows 特别说明**:桌面端包含 SSH 远程功能,依赖 OpenSSL。构建前请下载 [FireDaemon OpenSSL 3.5.5 LTS ZIP](https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.5.5.zip),解压后在 PowerShell 中执行:

```powershell
[System.Environment]::SetEnvironmentVariable("OPENSSL_DIR", "C:\解压路径\openssl\x64", "User")
[System.Environment]::SetEnvironmentVariable("OPENSSL_NO_VENDOR", "1", "User")
[System.Environment]::SetEnvironmentVariable("OPENSSL_STATIC", "1", "User")
```

执行后重启终端再运行构建命令。

```bash
# 安装依赖
pnpm install
Expand Down
3 changes: 1 addition & 2 deletions src/crates/core/src/agentic/agents/agentic_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ impl AgenticMode {
"Glob".to_string(),
"WebSearch".to_string(),
"TodoWrite".to_string(),
"IdeControl".to_string(),
"MermaidInteractive".to_string(),
"ReadLints".to_string(),
"view_image".to_string(),
"Skill".to_string(),
"AskUserQuestion".to_string(),
"Git".to_string(),
Expand Down
1 change: 0 additions & 1 deletion src/crates/core/src/agentic/agents/claw_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ impl ClawMode {
"Grep".to_string(),
"Glob".to_string(),
"WebSearch".to_string(),
"IdeControl".to_string(),
"MermaidInteractive".to_string(),
"Skill".to_string(),
"Git".to_string(),
Expand Down
1 change: 0 additions & 1 deletion src/crates/core/src/agentic/agents/cowork_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ impl CoworkMode {
"Delete".to_string(),
// Utilities
"GetFileDiff".to_string(),
"ReadLints".to_string(),
"Git".to_string(),
"Bash".to_string(),
"TerminalControl".to_string(),
Expand Down
2 changes: 0 additions & 2 deletions src/crates/core/src/agentic/agents/debug_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,8 @@ Below is a snapshot of the current workspace's file structure.
"Glob".to_string(),
"WebSearch".to_string(),
"TodoWrite".to_string(),
"IdeControl".to_string(),
"MermaidInteractive".to_string(),
"Log".to_string(),
"ReadLints".to_string(),
"TerminalControl".to_string(),
]
}
Expand Down
1 change: 0 additions & 1 deletion src/crates/core/src/agentic/execution/execution_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,6 @@ impl ExecutionEngine {
"Skill",
"Log",
"MermaidInteractive",
"IdeControl",
];
let num_tools = ordering.len();
ordering
Expand Down
Loading
Loading