Problem
Qoder CN(Windows 桌面端)目前无法把 WSL 作为远程开发环境。设置中没有 WSL / 远程连接入口;在 0.4.3 的 app.asar 中检索 remoteAuthority、remoteServer、remote-wsl 均无实现,内置扩展与扩展市场也没有 remote 类组件。也就是说 VS Code 那种 Remote-WSL 架构(工作区与运行时在 Linux 侧)尚未存在,而不是入口被隐藏。
当前只能间接使用 WSL:
- 在 Agent 的 shell 中调用
wsl -d <distro> -- <cmd>(Git Bash 下还需用//或MSYS_NO_PATHCONV=1规避 MSYS 路径转换); - 通过 UNC 路径
//wsl.localhost/<distro>/读写文件。
Solution
希望提供 Remote-WSL 支持:把工作区、代码索引与 Agent 运行时整体放入指定的 WSL 发行版(Linux 侧),类似 VS Code Remote-WSL 的体验。
退一步的可行方案:允许在设置中将「Agent 运行时 / 代码索引目标」配置为某个 WSL 发行版,即使 UI 仍留在 Windows 侧。
Use Case
- 工具链与依赖(编译、包管理、脚本)都在 Linux,Windows 侧间接调用割裂且易错。
- UNC 走 9P 协议,I/O 慢,大仓库索引明显卡顿;权限与路径语义和原生 Linux 不一致。
- 希望 Agent 的命令、搜索、索引原生运行在 Linux 环境,结果与真实部署环境一致。
Priority
-
High - Blocking issue -
Medium - Important improvement -
Low - Nice to have
Additional Info
- 环境:Qoder CN 0.4.3(Windows / stable),WSL2 Ubuntu-22.04(Running)。
- 现状验证方式:对 0.4.3 的
resources/app.asar检索remoteAuthority/remoteServer/remote-wsl均为 0 处;resources/extensions/catalog.v1.json中 8 个内置插件无 remote 类;扩展市场检索 wsl / remote 无结果。