Skip to content

update d.ts in copilot#308502

Merged
aeschli merged 2 commits intomainfrom
aeschli/opposite-barracuda-290
Apr 8, 2026
Merged

update d.ts in copilot#308502
aeschli merged 2 commits intomainfrom
aeschli/opposite-barracuda-290

Conversation

@aeschli
Copy link
Copy Markdown
Contributor

@aeschli aeschli commented Apr 8, 2026

No description provided.

@aeschli aeschli enabled auto-merge (squash) April 8, 2026 13:26
@aeschli aeschli self-assigned this Apr 8, 2026
Copilot AI review requested due to automatic review settings April 8, 2026 13:26
Copy link
Copy Markdown
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 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.startMcpGateway proposed API typing to accept an optional chatSessionResource URI.
  • Sync chatPromptFiles proposed typings to include richer resource types (custom agents, instructions, skills, slash commands) and add on-demand get* APIs with deprecations for snapshot properties.
  • Refactor Copilot’s ChatCustomAgentsService to use vscode.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>
@aeschli aeschli merged commit 8be4565 into main Apr 8, 2026
23 checks passed
@aeschli aeschli deleted the aeschli/opposite-barracuda-290 branch April 8, 2026 14:19
@vs-code-engineering vs-code-engineering bot added this to the 1.116.0 milestone Apr 8, 2026
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.

3 participants