@browserbasehq/stagehand 3.6.0 → 3.6.1-alpha-022d68fc81ffe96e16008c3c751ea005eeb0b929

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/README.md CHANGED
@@ -43,18 +43,6 @@ If you're looking for the Python implementation, you can find it
43
43
  <a href="https://github.com/browserbase/stagehand-python"> here</a>
44
44
  </p>
45
45
 
46
- <div align="center" style="display: flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: 0;">
47
- <b>Vibe code</b>
48
- <span style="font-size: 1.05em;"> Stagehand with </span>
49
- <a href="https://director.ai" style="display: flex; align-items: center;">
50
- <span>Director</span>
51
- </a>
52
- <span> </span>
53
- <picture>
54
- <img alt="Director" src="../../media/director_icon.svg" width="25" />
55
- </picture>
56
- </div>
57
-
58
46
  ## What is Stagehand?
59
47
 
60
48
  Stagehand is a browser automation framework used to control web browsers with natural language and code. By combining the power of AI with the precision of code, Stagehand makes web automation flexible, maintainable, and actually reliable.
@@ -1525,7 +1525,10 @@ let V3 = (() => {
1525
1525
  tools: { value: JSON.stringify(options?.tools ?? {}), type: "object" },
1526
1526
  ...(options?.integrations && {
1527
1527
  integrations: {
1528
- value: JSON.stringify(options.integrations),
1528
+ // Integrations may contain live MCP `Client` instances (from
1529
+ // connectToMCPServer), which are circular and throw in JSON.stringify.
1530
+ // Log a safe descriptor instead: keep URL strings, summarize clients.
1531
+ value: JSON.stringify(options.integrations.map((integration) => typeof integration === "string" ? integration : "[mcp client]")),
1529
1532
  type: "object",
1530
1533
  },
1531
1534
  }),