Skip to content

Adopt chat context API changes#8833

Merged
alexr00 merged 3 commits into
mainfrom
alexr00/worthy-canidae
Jul 9, 2026
Merged

Adopt chat context API changes#8833
alexr00 merged 3 commits into
mainfrom
alexr00/worthy-canidae

Conversation

@alexr00

@alexr00 alexr00 commented Jul 8, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 8, 2026 13:56
@alexr00 alexr00 enabled auto-merge (squash) July 8, 2026 13:56
@alexr00 alexr00 self-assigned this Jul 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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/ChatResourceContextProvider to ChatAttachContextProvider/ChatTabContextProvider.
  • Update extension registration calls to the new vscode.chat.registerChatAttachContextProvider and registerChatTabContextProvider APIs.
  • Bump engines.vscode from ^1.121.0 to ^1.129.0 (and mirror in package-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

Comment thread src/lm/issueContextProvider.ts Outdated
Copilot AI review requested due to automatic review settings July 8, 2026 14:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Review details

  • Files reviewed: 4/6 changed files
  • Comments generated: 2
  • Review effort level: Low

Comment thread src/lm/pullRequestContextProvider.ts
Comment thread src/lm/issueContextProvider.ts
@alexr00

alexr00 commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/AzurePipelines run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@alexr00 alexr00 closed this Jul 9, 2026
auto-merge was automatically disabled July 9, 2026 10:21

Pull request was closed

@alexr00 alexr00 reopened this Jul 9, 2026
@alexr00

alexr00 commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

@microsoft-github-policy-service rerun

2 similar comments
@alexr00

alexr00 commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

@microsoft-github-policy-service rerun

@alexr00

alexr00 commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

@microsoft-github-policy-service rerun

@alexr00 alexr00 merged commit 7a31ba4 into main Jul 9, 2026
8 checks passed
@alexr00 alexr00 deleted the alexr00/worthy-canidae branch July 9, 2026 10:42
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