Skip to content

Provide the session resource for input states#309687

Open
mjbvz wants to merge 1 commit intomainfrom
dev/mjbvz/nutty-stork
Open

Provide the session resource for input states#309687
mjbvz wants to merge 1 commit 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

Screenshot Changes

Base: dff36cce Current: 4b61f9c1

Changed (2)

agentSessionsViewer/CompletedUnread/Dark
Before After
before after
agentSessionsViewer/CompletedUnread/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

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