Agent Host: Show Dev Container setting - #333961
Closed
Christof Marti (chrmarti) wants to merge 1 commit into
Closed
Conversation
Register Dev Container Agent Host settings from a shared platform contribution so the experimental user setting appears in the normal Settings editor while the worktree combination gate remains hidden. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot started reviewing on behalf of
Christof Marti (chrmarti)
September 2, 2026 09:49
View session
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The ownership move is complete, preserves runtime behavior, respects layering, and includes focused registration coverage.
Review tier: Balanced
Findings: None
What changed in this PR
Moves Dev Container Agent Host configuration ownership into the shared platform layer so settings are registered in both VS Code workbenches.
Changes:
- Centralizes Dev Container setting identifiers and schema registration.
- Loads the schema through the shared Chat contribution.
- Relocates configuration tests while preserving connector and picker behavior.
| File | Description |
|---|---|
src/vs/workbench/contrib/chat/browser/chat.shared.contribution.ts |
Loads the shared configuration contribution. |
src/vs/sessions/contrib/providers/remoteAgentHost/test/electron-browser/devContainerAgentHostConnector.test.ts |
Removes relocated schema tests and updates imports. |
src/vs/sessions/contrib/providers/remoteAgentHost/electron-browser/devContainerAgentHostConnector.contribution.ts |
Removes Sessions-owned registration and uses the platform identifier. |
src/vs/sessions/contrib/providers/agentHost/test/browser/agentHost/agentHostSessionConfigPicker.test.ts |
Updates the worktree setting import. |
src/vs/sessions/contrib/providers/agentHost/browser/agentHostSessionConfigPicker.ts |
Uses the platform-owned setting identifier. |
src/vs/sessions/common/devContainerAgentHostService.ts |
Removes relocated setting identifiers. |
src/vs/platform/agentHost/test/common/devContainerAgentHostConfiguration.test.ts |
Tests visible and hidden setting registration. |
src/vs/platform/agentHost/common/devContainerAgentHost.ts |
Defines the shared setting identifiers. |
src/vs/platform/agentHost/common/devContainerAgentHost.config.contribution.ts |
Registers the visible setting and hidden combination gate. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Collaborator
Author
|
Closing for now: the setting is already available in the Agents Window Settings UI, so moving its registration into the normal workbench is not needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Register the Dev Container Agent Host settings from a globally loaded platform contribution so
chat.agentHost.devContainer.enabledappears in the normal VS Code Settings editor.Tracking issue: #317380
Session Context
Key decisions from the development session:
chat.agentHost.devContainer.enabledis an experimental user setting and should appear in the normal Settings UI.chat.agentHost.devContainer.worktree.enabledremains excluded from Settings and controlled through EXP treatments.Changes
Validation
npm run typecheck-clientnpm run transpile-clientnpm run valid-layers-checkgit diff --check