dev-manager-tauri/.blueprint/modules/vscode-remote.md
lanrtop 4dd19574f0 feat: 新增 pnpm Monorepo+Expo 模板及蓝图模块扩展
- 新增 pnpm Monorepo + Expo Router 项目模板(含 Metro monorepo 路径解析及 Windows 兼容修复)
- 扩展蓝图系统:新增 api-keys、server-registry、ssh-config-sync、vscode-remote 等 15+ 模块定义
- 新增 .blueprint/rules.md 项目私有规则支持,并在 CLAUDE.md 中集成
- 蓝图版本升级至 1.6.0,优化版本比较逻辑(语义化版本元组对比)
2026-04-29 22:11:28 +09:00

18 lines
786 B
Markdown
Raw 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.

# VS Code Remote SSH
在炼境服务器面板中一键用 VS Code 通过 Remote SSH 连接到指定服务器,复用 SSH Config 中已同步的 Host alias。
## 决策记录
- 依赖 ssh-config-sync 保证 Host alias 已写入 `~/.ssh/config`,不在本模块重复维护连接参数
- 直接调用 `code --remote ssh-remote+<alias> /path` 命令,复用 shell-launch 模块的进程启动能力
## 任务卡
### ✅ VS Code Remote SSH 一键连接
- status: done
- complexity: S
- files: src-tauri/src/commands/ssh_config.rs, src/components/dashboard/ServerManagerPanel.tsx
- depends: ssh-config-sync, shell-launch
- acceptance: 服务器列表每行有「VS Code」按钮点击后 VS Code 打开并以 Remote SSH 连接对应服务器SSH Config 未同步时给出提示