Skip to content

Share agent host sessions between the Agents Window and WSL, SSH and Dev Container editor windows #346859

Closed

Description

Sessions can't move between the Agents Window and editor windows of WSL, SSH and Dev Container remotes, because the two windows use different agent hosts:

  • The editor window's VS Code server starts its own agent host. For Dev Containers, this runs inside the container.
  • The Agents Window uses a separate agent host that it starts itself, with its own session registry.

Only tunnels share sessions: code tunnel bridges its VS Code servers to the same agent host the Agents Window connects to (#346290).

Current behavior for WSL, SSH and Dev Containers:

  • Editor → Agents Window: the Agents Window selects the editor window's remote and folder (for Dev Containers, the container's source folder), but not the session.
  • Agents Window → Editor: the editor window opens the session's folder, and a notification says the session can't be opened there.

Expected: the session opens in the other window, as it does for local and tunnel windows.

A possible approach is to bridge the VS Code server to the agent host that the Agents Window uses, as tunnels do.

Refs: #345832, #346290

Activity

  1. added
    feature-request
    WSL
    on Nov 8, 2026
  2. added
    agent-host
    on Nov 8, 2026
  3. added
    unreleased
    on Nov 11, 2026
  4. added this to the 1.147.0 milestone on Nov 11, 2026
  5. added
    insiders-released
    verification-needed
    and removed
    unreleased
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

WSLagent-hostagents-windowcontainersfeature-requestinsiders-releasedsshverification-neededverified

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions