Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Copilot extension’s bundled proposed VS Code API typings and aligns Copilot’s custom agents session service with the newer on-demand vscode.chat.getCustomAgents(...) API, plus bumps the tracked vscodeCommit.
Changes:
- Extend
lm.startMcpGatewayproposed API typing to accept an optionalchatSessionResourceURI. - Sync
chatPromptFilesproposed typings to include richer resource types (custom agents, instructions, skills, slash commands) and add on-demandget*APIs with deprecations for snapshot properties. - Refactor Copilot’s
ChatCustomAgentsServiceto usevscode.chat.getCustomAgents(token)instead of parsing prompt files itself, and update the shared service interface type.
Show a summary per file
| File | Description |
|---|---|
| extensions/copilot/src/extension/vscode.proposed.mcpServerDefinitions.d.ts | Adds optional chatSessionResource parameter to startMcpGateway typing. |
| extensions/copilot/src/extension/vscode.proposed.chatPromptFiles.d.ts | Syncs proposed typings: introduces typed chat resources and on-demand getters with deprecations. |
| extensions/copilot/src/extension/chatSessions/vscode-node/chatCustomAgentsService.ts | Switches to vscode.chat.getCustomAgents(token) and stores typed ChatCustomAgent results. |
| extensions/copilot/src/extension/chatSessions/common/chatCustomAgentsService.ts | Updates service interface to return readonly ChatCustomAgent[]. |
| extensions/copilot/package.json | Updates vscodeCommit to a newer upstream commit. |
Copilot's findings
- Files reviewed: 3/5 changed files
- Comments generated: 1
…CustomAgentsService.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
alexr00
approved these changes
Apr 8, 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.
No description provided.