@mcp-use/client 2.4.6-canary.2 → 2.4.6-canary.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1985,7 +1985,7 @@ var HttpConnector = class extends BaseConnector {
1985
1985
  };
1986
1986
 
1987
1987
  // src/utils/version.ts
1988
- var VERSION = "2.4.6-canary.2";
1988
+ var VERSION = "2.4.6-canary.4";
1989
1989
  function getPackageVersion() {
1990
1990
  return VERSION;
1991
1991
  }
@@ -8915,7 +8915,8 @@ function getViewResourceUri(toolMeta) {
8915
8915
  if (uri && typeof uri === "object" && "resourceUri" in uri && typeof uri.resourceUri === "string") {
8916
8916
  return uri.resourceUri;
8917
8917
  }
8918
- return null;
8918
+ const legacy = toolMeta?.["ui/resourceUri"];
8919
+ return typeof legacy === "string" ? legacy : null;
8919
8920
  }
8920
8921
  function isViewTool(toolMeta) {
8921
8922
  return getViewResourceUri(toolMeta) !== null;