stagehand-python@4.2.0a0.dev1524: feat : add WebMCP tools added/removed event hooks ( 2916)
Browserbase Stagehand releases published stagehand-python@4.2.0a0.dev1524: feat : add WebMCP tools added/removed event hooks ( 2916). why users need a way to subscribe to events that fire when webmcp tools were added or removed from a page note: this PR ended up a lot larger than just adding two hooks because WebMCP.enable causes Chrome to emit toolsAdded…
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Browserbase Stagehand releases published stagehand-python@4.2.0a0.dev1524: feat : add WebMCP tools added/removed event hooks ( 2916). This release-watch entry was generated from the project's official GitHub release feed and is kept separate from human-reviewed editorial analysis. Release notes: why users need a way to subscribe to events that fire when webmcp tools were added or removed from a page note: this PR ended up a lot larger than just adding two hooks because WebMCP.enable causes Chrome to emit toolsAdded events for tools that already exist (docs here ). ie, the WebMCP.toolsAdded event would fire every time someone called page.tools() . therefore, we needed to manage some state, and essentially keep a registry of tools that have been added/removed. with the changes from this PR, page.tools() reads that registry instead of enabling WebMCP again. a lot of the code here is related to state synchronization, because the registry now needs to be kept in sync across navigation and iframe detachment etc.. what changed added onToolsAdded() / onToolsRemoved() in TypeScript, on tools added() / on tools removed() in Python, and OnToolsAdded() / OnToolsRemoved() in Go reused the…
可执行摘要
Treat stagehand-python@4.2.0a0.dev1524: feat : add WebMCP tools added/removed event hooks ( 2916) as an official release signal. Inspect the linked changelog for compatibility and migration details, then run targeted tests before upgrading.
- Agent 实用度
- 82/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Review the official Browserbase Stagehand releases release notes before upgrading.
- Check compatibility, migration, and security notes against your current agent stack.
- Run focused regression tests before production rollout.