Skip to content

Conversation

@alexr00
Copy link
Member

@alexr00 alexr00 commented Jan 15, 2026

@alexr00 alexr00 self-assigned this Jan 15, 2026
@alexr00 alexr00 marked this pull request as ready for review January 16, 2026 16:53
Copilot AI review requested due to automatic review settings January 16, 2026 16:53
@alexr00 alexr00 enabled auto-merge (squash) January 16, 2026 16:53
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 16, 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 pull request adopts a new VS Code API feature that allows chat context items to have an associated command. When users click on a PR or issue in chat context, it will now execute a command to open the corresponding description.

Changes:

  • Updates the proposed VS Code API type definition to include an optional command property on ChatContextItem
  • Adds type guards and exports for PRChatContextItem and IssueChatContextItem interfaces
  • Configures PR and issue context items with commands that open their respective descriptions when clicked

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
src/@types/vscode.proposed.chatContextProvider.d.ts Adds optional command property to ChatContextItem interface per VS Code API proposal
src/lm/pullRequestContextProvider.ts Exports PRChatContextItem interface, adds type guard namespace, and includes command to open PR description
src/lm/issueContextProvider.ts Exports IssueChatContextItem interface, adds type guard namespace, and includes command to open issue description
src/commands.ts Imports context item interfaces, updates openDescriptionCommand to handle new chat context item types

@alexr00 alexr00 merged commit 7e3bc01 into main Jan 16, 2026
12 checks passed
@alexr00 alexr00 deleted the alexr00/dying-snake branch January 16, 2026 16:58
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