Problem
When a repository is opened through the Remote Repositories extension (vscode-vfs), the Agent Host harness cannot operate against the virtual workspace. Editor chat harness settings can nevertheless hide the Local harness or make Agent Host Copilot the default, leaving the workspace on a harness that does not work for this scenario.
Expected behavior
- The Local harness remains available in Remote Repositories and other fully virtual workspaces, regardless of
chat.editor.localAgent.enabled.
- New chats default to the Local harness in a fully virtual workspace, even when Agent Host is enabled and
chat.defaultToCopilotHarness is enabled.
- Non-virtual editor windows continue honoring the existing Agent Host and default-harness settings.
Reproduction
- Enable Agent Host and configure Agent Host Copilot as the default editor chat harness.
- Open a repository with the Remote Repositories extension.
- Start a new chat session.
The Agent Host harness is selected even though Local is the harness that works with the virtual workspace.
Related changes
- #325835 keeps Local available in virtual workspaces.
- #326458 makes Local the default in virtual workspaces.
(Written by Copilot)
Problem
When a repository is opened through the Remote Repositories extension (
vscode-vfs), the Agent Host harness cannot operate against the virtual workspace. Editor chat harness settings can nevertheless hide the Local harness or make Agent Host Copilot the default, leaving the workspace on a harness that does not work for this scenario.Expected behavior
chat.editor.localAgent.enabled.chat.defaultToCopilotHarnessis enabled.Reproduction
The Agent Host harness is selected even though Local is the harness that works with the virtual workspace.
Related changes
(Written by Copilot)