@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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/core/config.d.ts +1 -1
- package/dist/core/config.d.ts.map +1 -1
- package/dist/index-browser.js +2 -2
- package/dist/index-browser.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/react/index.js +3 -2
- package/dist/react/index.js.map +1 -1
- package/dist/react/view/view-detection.d.ts +3 -0
- package/dist/react/view/view-detection.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/react/index.js
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
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;
|