Skip to content

feat(tui): support MCP resources - #35658

Closed
rekram1-node wants to merge 1 commit into
mcp-resource-apifrom
mcp-resource-ui
Closed

rekram1-node wants to merge 1 commit into
mcp-resource-apifrom
mcp-resource-ui

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • load Location-scoped MCP resource catalogs and refresh them on resource/status events
  • add MCP resources to @ autocomplete with stable server, URI, and originating Location identity
  • preserve resource references in prompt history and read current contents only when submitting
  • materialize text/blob resource contents into normal inline attachments before session creation
  • await command submission failures so resource prompts are retained for retry
  • regenerate the compatibility V2 SDK event/types surface still consumed by the TUI

Stacked on #35657, which is stacked on #35656. MCP resource tools, template parameter UI, app/web migration, and long-lived resource viewers remain excluded.

Testing

  • bun test --only-failures in packages/tui (214 passed, 1 skipped)
  • bun typecheck in packages/tui
  • bun test and bun typecheck in packages/sdk/js
  • workspace bun typecheck (31 packages)
  • git diff --check

@rekram1-node

Copy link
Copy Markdown
Collaborator Author

Superseded by #35780, rebuilt on current v2 with canonical URI-only attachments and backend MCP resolution.

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.

1 participant