Remove @workspace chat participant#3492
Merged
mjbvz merged 3 commits intomicrosoft:mainfrom Feb 6, 2026
Merged
Conversation
For microsoft/vscode#292972 Removes the `@workspace` chat participant since this is now an outdated (and confusing) way to use code search. For now we'll keep the commands but I've moved them under the default agent instead
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the deprecated @workspace chat participant and migrates its slash commands (/fix, /explain, /review, /tests, /new, /newNotebook, /semanticSearch, /setupTests) to the default Copilot agent. This addresses the issue where the @workspace participant was an outdated and confusing way to use code search functionality.
Changes:
- Removed
@workspaceparticipant infrastructure including constants, registration, and intent handling - Migrated workspace-specific slash commands to the default agent in package.json
- Updated all inline chat and code action references from
@workspace /commandto/command - Deleted workspace-specific prompt components and intent handlers
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/platform/chat/common/chatAgents.ts | Removed workspaceAgentName constant |
| src/extension/prompts/node/panel/workspace/workspacePrompt.tsx | Deleted entire workspace prompt component (99 lines) |
| src/extension/prompt/node/chatParticipantRequestHandler.ts | Removed workspace participant check from authentication upgrade logic |
| src/extension/intents/node/testIntent/setupTestsFrameworkQueryInvocation.tsx | Removed workspace prompt import, defined local interface, updated query to remove @workspace prefix |
| src/extension/intents/node/allIntents.ts | Removed WorkspaceIntent from intent registry |
| src/extension/intents/common/intents.ts | Removed workspace case from telemetry mode name mapping |
| src/extension/inlineChat/vscode-node/inlineChatCommands.ts | Changed explain command from @workspace /explain to /explain |
| src/extension/inlineChat/vscode-node/inlineChatCodeActions.ts | Changed quick fix query from @workspace /explain to /explain |
| src/extension/conversation/vscode-node/chatParticipants.ts | Removed workspace agent registration and icon setup |
| src/extension/common/constants.ts | Removed Intent.Workspace enum value and migrated commands to Intent.Agent |
| src/extension/intents/node/workspaceIntent.ts | Deleted entire workspace intent handler (70 lines) |
| package.json | Removed workspace participant definition and moved all its commands (explain, review, tests, fix, new, newNotebook, semanticSearch, setupTests) to default agent |
DonJayamanne
previously approved these changes
Feb 5, 2026
DonJayamanne
approved these changes
Feb 5, 2026
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.
For microsoft/vscode#292972
Removes the
@workspacechat participant since this is now an outdated (and confusing) way to use code search. For now we'll keep the sub commands like/fixbut I've moved them under the default agent instead