Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: anomalyco/opencode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dev
Choose a base ref
...
head repository: visusnet/opencode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feat/mcp-resource-tools
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 8 files changed
  • 1 contributor

Commits on Mar 25, 2026

  1. feat: add MCP resource support for LLM

    Add two built-in tools that let the LLM discover and read MCP resources:
    - mcp_list_resources: lists resources and resource templates from connected servers
    - mcp_read_resource: reads a resource by URI
    
    Also adds listResourceTemplates() support to the MCP client.
    
    Fixes #19102
    visusnet committed Mar 25, 2026
    Configuration menu
    Copy the full SHA
    bb4c5d9 View commit details
    Browse the repository at this point in the history
  2. refactor: clean up fetch*ForClient functions in MCP client

    Hoist sanitizedClientName before loops and fix copy-paste log message
    in fetchResourcesForClient ("prompts" → "resources").
    visusnet committed Mar 25, 2026
    Configuration menu
    Copy the full SHA
    8485b44 View commit details
    Browse the repository at this point in the history
Loading