Adopt chat context API changes#8833
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the extension’s chat context integration to align with the newer VS Code “attach” + “tab” context provider APIs, and bumps the minimum VS Code engine version accordingly.
Changes:
- Migrate PR/Issue chat context providers from
ChatExplicitContextProvider/ChatResourceContextProvidertoChatAttachContextProvider/ChatTabContextProvider. - Update extension registration calls to the new
vscode.chat.registerChatAttachContextProviderandregisterChatTabContextProviderAPIs. - Bump
engines.vscodefrom^1.121.0to^1.129.0(and mirror inpackage-lock.json).
Show a summary per file
| File | Description |
|---|---|
| src/lm/pullRequestContextProvider.ts | Renames/retargets PR chat context provider methods to the new attach/tab APIs. |
| src/lm/issueContextProvider.ts | Renames/retargets Issue chat context provider methods to the new attach/tab APIs. |
| src/extension.ts | Switches chat context provider registrations to the new API entrypoints. |
| src/@types/vscode.proposed.chatContextProvider.d.ts | Updates proposed typings for the attach/tab API surface and related selectors. |
| package.json | Raises minimum supported VS Code engine version to match the new API usage. |
| package-lock.json | Keeps lockfile engine metadata in sync with package.json. |
Review details
- Files reviewed: 4/6 changed files
- Comments generated: 1
- Review effort level: Low
TylerLeonhardt
approved these changes
Jul 8, 2026
Member
Author
|
/AzurePipelines run |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
Member
Author
|
@microsoft-github-policy-service rerun |
2 similar comments
Member
Author
|
@microsoft-github-policy-service rerun |
Member
Author
|
@microsoft-github-policy-service rerun |
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.