Skip to content

Remove @workspace chat participant#3492

Merged
mjbvz merged 3 commits intomicrosoft:mainfrom
mjbvz:dev/mjbvz/innovative-mouse
Feb 6, 2026
Merged

Remove @workspace chat participant#3492
mjbvz merged 3 commits intomicrosoft:mainfrom
mjbvz:dev/mjbvz/innovative-mouse

Conversation

@mjbvz
Copy link
Contributor

@mjbvz mjbvz commented Feb 5, 2026

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 sub commands like /fix but I've moved them under the default agent instead

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
Copilot AI review requested due to automatic review settings February 5, 2026 21:59
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 5, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 @workspace participant 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 /command to /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
DonJayamanne previously approved these changes Feb 5, 2026
@mjbvz mjbvz added this pull request to the merge queue Feb 6, 2026
Merged via the queue into microsoft:main with commit 4ca83aa Feb 6, 2026
9 checks passed
@mjbvz mjbvz deleted the dev/mjbvz/innovative-mouse branch February 6, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants