You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Share agent host sessions between the Agents Window and WSL, SSH and Dev Container editor windows #346859
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.
Activity
agentHost: share one agent host between remote editor windows and the…
agentHost: address review of shared agent host discovery (#347743)
agentHost: share one agent host between remote editor windows and the…
agentHost: address review of shared agent host discovery (#347743)
agentHost: share one agent host between remote editor windows and the…
agentHost: address review of shared agent host discovery (#347743)