[Feature]: Native WSL workspace transport for the Desktop app
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 12/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- bash, docker-compose, linux, powershell, typescript
Línea de trabajo
The payload names no source files, so begin by finding where workspaces are declared and where agent shell commands and file tools are spawned, and check how the existing Windows shell selection is wired. Related issues #474, #510 and #611 cover nearby scope and should be read first. Done means a workspace with "transport": "wsl" runs commands, file access and background processes inside the distro with path mapping, which needs maintainer agreement on design before any patch.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Product or interface
Desktop app
Use case and problem
On Windows, every command the agent runs goes through the Windows shell (PowerShell). For projects that are really Linux projects — Docker Compose stacks, systemd services, native toolchains, cross-compiled binaries, or anything that must run inside a container — each command has to be wrapped by hand (wsl.exe -e bash -lc "..."), and each path has to be translated by hand. The desktop app's file tools, permission prompts, MCP servers, and skills stay on the Windows side, so the agent is only partly native.
There is currently no way to say "this workspace lives in a WSL2 distro". The available workarounds each cost something:
- Install the standalone CLI inside the distro. The installer already supports WSL, and this is fully native, but it is a separate runtime with its own data directory and session history, and no desktop UI, mini apps, or built-in browser.
- Select a different Windows interpreter (see #474). That changes the command interpreter but keeps every command on the Windows side.
- Bridge through MCP servers that shell into the distro. Workable, but the Windows runtime stays the source of truth for files, permissions, and process lifecycle.
Desired behavior
A workspace can declare a WSL transport, e.g.
{
"transport": "wsl",
"distro": "Ubuntu"
}
and the agent runtime then executes inside that distro.
Acceptance criteria:
- Command tools, file read/write, search, and any spawned background processes run inside the target distro, with
/mnt/c/...↔C:\...path mapping handled automatically in both directions. - The runtime is Linux-native: no
wsl.exe -e bash -lcshim per command, no double-shell escaping, correct exit codes and signals, and the Linux-native toolchain is available to the agent. - Permission prompts, Ask/Plan/Auto modes, and the pending-request flow keep working and describe what actually runs on the other side.
- MCP servers, skills, hooks, and agent subagents declared for the workspace start inside the distro.
- The desktop UI, session list, mini apps, and the built-in browser remain usable while the workspace is remote, and the session continues in the same place.
- The workspace identity recorded in the session reflects the transport and distro, so switching transports does not silently mix contexts.
- The transport is explicit per workspace; a workspace on the Windows filesystem keeps today's behavior.
Interaction example: attach the project directory \\wsl$\Ubuntu\root\projects\foo (or /root/projects/foo) → the app detects or is told it is a WSL workspace → the agent runs make test inside Ubuntu, observes the Linux exit status, and writes files under /root/projects/foo directly.
Alternatives and additional context
- Related open issues: #474 (explicit Windows shell selection — different scope: interpreter choice, not execution location), #510 (official Linux build for the desktop app), #611 (SSH remote connection requires a Unix-like remote host).
- The CLI installer already supports WSL, so the pieces for a Linux-side runtime exist; this request is about surfacing that runtime to a Windows desktop session.
- Other desktop coding agents ship a WSL workspace transport, so the pattern is established rather than novel.
- Environment used for this report: Windows 11 ARM64, WSL2 Ubuntu 24.04.1 LTS, kernel
6.6.87.2-microsoft-standard-WSL2(aarch64), default userroot.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.3k
- Forks
- 315
- Merge medio
- 3 h 54 min
- PR fusionados (30 d)
- 9
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MiniMax-AI/minimax-code
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MiniMax-AI/minimax-code#639 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
MiniMax-AI/minimax-code#636 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MiniMax-AI/minimax-code#615 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
MiniMax-AI/minimax-code#556 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MiniMax-AI/minimax-code#507 ·
Los mantenedores suelen responder en 1 día
Todos los issues de MiniMax-AI/minimax-code
Issues similares
-
area:api bug good first issue priority:high
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Doezer/Questarr#1486 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:import difficulty:good-first good first issue help wanted priority:P1 roadmap size:S type:test
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Sergey-Bar/Penny#245 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
mihazs/lazysh#3377 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Approve the Cloudflare agent plugin for harness sessionsPosiblemente ocupada @joshtsch la tomó hoy. Abiertoenhancement ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día