dev-manager-tauri/.blueprint/modules/wsl-proxy.md
lanrtop 0cdaa3678c feat: add Blueprint feature to ProjectCard and commands
- Introduced BlueprintModal in ProjectCard for project blueprint visualization.
- Added state management for displaying the BlueprintModal.
- Implemented Blueprint-related interfaces and functions in commands.ts for handling blueprint data.
2026-04-02 19:12:53 +09:00

36 lines
904 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: wsl-proxy
name: WSL 代理同步
status: done
progress: 100
---
## 概述
将 Windows 上的 v2rayN 代理配置同步到 WSL 环境,解决 WSL 下 curl/git/npm 等工具无法使用代理的问题。
## 任务卡
### ✅ 代理同步
- status: done
- files: src-tauri/src/commands/proxy.rs, src/components/proxy/ProxyPage.tsx
读取 v2rayN 配置,生成 WSL 的 proxy 环境变量脚本。
### ✅ 代理状态检测
- status: done
- files: src-tauri/src/commands/network.rs, src/components/proxy/ProxyPage.tsx
检测 WSL 中当前的代理配置状态是否已配置、IP 是否过期)。
### ✅ 代理清除
- status: done
- files: src-tauri/src/commands/proxy.rs
一键清除 WSL 中的代理配置。
### ✅ 代理一致性测试
- status: done
- files: src/components/proxy/ProxyPage.tsx
同时测试 Windows 和 WSL 的出口 IP验证代理是否生效且一致。