Repository navigation
Use host-published plugin children in Customizations - #350224
Merged
Martin Aeschlimann (aeschli) merged 6 commits intoNov 25, 2026
Merged
Martin Aeschlimann (aeschli) merged 6 commits into
Martin Aeschlimann (aeschli) merged 6 commits into
Conversation
Co-authored-by: Copilot <[email protected]>
Contributor
|
Base:
|
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Published customization handling loses source provenance and rule metadata, exposes non-user-invocable skills in slash-command completion, and drops distinct hook actions that share a file URI.
4 open issues
What changed in this PR
This PR updates Chat Customizations to use host-published plugin children, addressing missing instructions, agents, and hooks described in #347955.
Changes:
- Uses published children, including empty lists, and limits directory scanning to unpublished client drafts.
- Preserves child disablement while inheriting plugin status.
- Adds published-child and status tests, and updates scanning tests to use drafts.
| File | Description |
|---|---|
src/vs/workbench/contrib/chat/test/browser/remoteAgentHost/remoteAgentHostCustomizationHarness.test.ts |
Moves directory-scanning scenarios to unpublished drafts. |
src/vs/workbench/contrib/chat/test/browser/agentSessions/agentCustomizationItemProvider.test.ts |
Tests published children, inherited grouping, and status without scanning. |
src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.ts |
Separates drafts from published plugins and projects host-provided children. |
Review effort: Balanced
…t-sdk-issue-investigation
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Copilot stopped reviewing on behalf of
Martin Aeschlimann (aeschli) due to an error
November 24, 2026 20:50
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Published customizations drop plugin prompt commands and rule applicability metadata, while bundled default-chat extension items are incorrectly assigned User rather than Built-in scope.
3 open issues
4 resolved since last review
Review effort: Balanced
Co-authored-by: Copilot <[email protected]>
Martin Aeschlimann (aeschli)
marked this pull request as ready for review
November 24, 2026 21:27
Don Jayamanne (DonJayamanne)
approved these changes
Nov 24, 2026
Dmitriy Vasyura (dmitrivMS)
approved these changes
Nov 24, 2026
Martin Aeschlimann (aeschli)
deleted the
aeschli/agents/copilot-sdk-issue-investigation
branch
November 25, 2026 08:48
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.

Fixes #347955.
Scan plugin directories only for unpublished client drafts. For plugins in the session snapshot, use the host-published children (including an empty list); if children are absent, show the plugin's status without scanning. This preserves rules, agents, and hooks that the host discovered outside the client's fallback scan paths.
Validation:
pnpm run build-fast --client-only— passed../scripts/test.sh --reporter dot --run src/vs/workbench/contrib/chat/test/browser/agentSessions/agentCustomizationItemProvider.test.ts --run src/vs/workbench/contrib/chat/test/browser/remoteAgentHost/remoteAgentHostCustomizationHarness.test.ts— 85 passed.pnpm run typecheck-client— passed.pnpm run oxlint src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.ts src/vs/workbench/contrib/chat/test/browser/agentSessions/agentCustomizationItemProvider.test.ts src/vs/workbench/contrib/chat/test/browser/remoteAgentHost/remoteAgentHostCustomizationHarness.test.ts— passed.