chat: resolve MCP App resources through agent host - #332653
Merged
Connor Peet (connor4312) merged 3 commits intoAug 25, 2026
Merged
Conversation
Routes resource links from agent-host MCP Apps through the connection-specific URI mapper. - Adds the connection authority to agent-host MCP App render data. - Converts App resource URIs with toAgentHostUri before the workbench uses them. - Updates adapter tests for the new render data. (Commit message generated by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…p-uri-transformation
Contributor
There was a problem hiding this comment.
Pull request overview
Routes Agent Host MCP App resource links through connection-aware URI handling.
Changes:
- Adds connection authority to MCP App render data.
- Wraps Agent Host resource links for workbench resolution.
- Updates adapter expectations.
Show a summary per file
| File | Description |
|---|---|
stateToProgressAdapter.test.ts |
Updates MCP App expectations. |
chatService.ts |
Adds connection authority metadata. |
chatMcpAppModel.ts |
Maps Agent Host resource URIs. |
stateToProgressAdapter.ts |
Propagates connection authority. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 4/4 changed files
- Comments generated: 2
- Review effort level: Balanced
Includes the connection authority when comparing agent-host MCP App render data. This recreates the model when resource routing moves to another agent-host connection. (Commit message generated by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Raymond Zhao (rzhao271)
approved these changes
Aug 25, 2026
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.
chat: resolve MCP App resources through agent host
Routes resource links from agent-host MCP Apps through the connection-specific URI mapper.
(Commit message generated by Copilot)
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com