@mcp-use/agent 2.0.20-canary.1 → 2.0.20-canary.2

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/index.js CHANGED
@@ -1151,7 +1151,7 @@ function buildGeminiToolResponse(content) {
1151
1151
  } catch {
1152
1152
  parsed = { result: content };
1153
1153
  }
1154
- if (!parsed || typeof parsed !== "object") {
1154
+ if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
1155
1155
  parsed = { result: parsed };
1156
1156
  }
1157
1157
  return { response: parsed, imageParts: [] };
@@ -2703,7 +2703,7 @@ function providerConfigFromOptions(provider, model, config) {
2703
2703
  }
2704
2704
 
2705
2705
  // src/version.ts
2706
- var VERSION = "2.0.20-canary.1";
2706
+ var VERSION = "2.0.20-canary.2";
2707
2707
  function getPackageVersion() {
2708
2708
  return VERSION;
2709
2709
  }