Skip to content

Provide the session resource for input states#309687

Merged
mjbvz merged 3 commits intomainfrom
dev/mjbvz/nutty-stork
Apr 14, 2026
Merged

Provide the session resource for input states#309687
mjbvz merged 3 commits intomainfrom
dev/mjbvz/nutty-stork

Conversation

@mjbvz
Copy link
Copy Markdown
Collaborator

@mjbvz mjbvz commented Apr 14, 2026

@mjbvz mjbvz self-assigned this Apr 14, 2026
Copilot AI review requested due to automatic review settings April 14, 2026 00:35
@mjbvz mjbvz enabled auto-merge April 14, 2026 00:35
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 14, 2026

Screenshot Changes

Base: ad2f77ef Current: d5a73c8e

Changed (1)

chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Light
Before After
before after

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 extends the proposed chat sessions provider API so that a ChatSessionInputState can expose which chat session resource it belongs to, and wires that value through the extension host implementation.

Changes:

  • Add sessionResource to the proposed ChatSessionInputState API surface.
  • Populate sessionResource on ChatSessionInputStateImpl instances in ext host flows that create/resolve input state.
Show a summary per file
File Description
src/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts Adds sessionResource to ChatSessionInputState and documents when it is undefined.
src/vs/workbench/api/common/extHostChatSessions.ts Sets sessionResource on ChatSessionInputStateImpl instances when resolving input state for sessions and commands.

Copilot's findings

  • Files reviewed: 1/2 changed files
  • Comments generated: 0

joshspicer
joshspicer previously approved these changes Apr 14, 2026
@mjbvz mjbvz merged commit d4ff4fe into main Apr 14, 2026
27 checks passed
@mjbvz mjbvz deleted the dev/mjbvz/nutty-stork branch April 14, 2026 19:39
@vs-code-engineering vs-code-engineering bot added this to the 1.117.0 milestone Apr 14, 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.

4 participants