Skip to content

[Feature]: Native WSL workspace transport for the Desktop app #623

Backlog

Description

@jeisux92

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 [Feature]: Explicit Windows shell selection and ACP effective-shell reporting #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 -lc shim 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

Activity

  1. added
    desktop
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    desktop

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions