@mcp-use/client 2.4.6-canary.3 → 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.
@@ -128,7 +128,7 @@ var Logger = class {
128
128
  var logger = Logger.get();
129
129
 
130
130
  // src/utils/version.ts
131
- var VERSION = "2.4.6-canary.3";
131
+ var VERSION = "2.4.6-canary.4";
132
132
  function getPackageVersion() {
133
133
  return VERSION;
134
134
  }
package/dist/index.js CHANGED
@@ -1662,7 +1662,7 @@ init_connector_telemetry();
1662
1662
  init_logging();
1663
1663
 
1664
1664
  // src/utils/version.ts
1665
- var VERSION = "2.4.6-canary.3";
1665
+ var VERSION = "2.4.6-canary.4";
1666
1666
  function getPackageVersion() {
1667
1667
  return VERSION;
1668
1668
  }
@@ -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.3";
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;