Skip to content

chat: register file system provider via workbench contribution#299801

Merged
connor4312 merged 1 commit intorelease/1.111from
connor4312/cp-299504
Mar 6, 2026
Merged

chat: register file system provider via workbench contribution#299801
connor4312 merged 1 commit intorelease/1.111from
connor4312/cp-299504

Conversation

@connor4312
Copy link
Copy Markdown
Member

Fixes #299504

- Moves the registerProvider call from ChatResponseResourceFileSystemProvider constructor
  to a new ChatResponseResourceWorkbenchContribution class that gets instantiated by
  the workbench. This ensures the vscode-chat-response-resource:// file system provider
  is registered even though the service has no other dependencies that would trigger
  eager instantiation.
- Changes the singleton registration from Eager to Delayed since the workbench
  contribution now depends on it, triggering instantiation.
- Fixes file system provider not being found errors (ENOPRO) when MCPs or extensions
  try to access chat response resources.

Fixes #299504

(Commit message generated by Copilot)
@connor4312 connor4312 merged commit dd8661a into release/1.111 Mar 6, 2026
20 checks passed
@connor4312 connor4312 deleted the connor4312/cp-299504 branch March 6, 2026 21:13
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.

2 participants