Update dependency @mcp-b/webmcp-polyfill to v2.3.1#8530
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
af060bf to
21f7498
Compare
21f7498 to
64c5263
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.2.0→2.3.1Release Notes
WebMCP-org/npm-packages (@mcp-b/webmcp-polyfill)
v2.3.1Patch Changes
v2.3.0Minor Changes
9289d98: Track the April 23, 2026 WebMCP draft.registerTool(tool, options?)acceptsModelContextRegisterToolOptions { signal?: AbortSignal }. Aborting the signal unregisters the tool. Pre-aborted signals short-circuit registration with a console warning.unregisterTool(name)is@deprecated(removed from the spec on April 23, 2026). It still works against current Chrome Beta 147 and emits a one-time runtime deprecation warning. It will be removed in the next major version.ToolAnnotationsaddsuntrustedContentHintper the April 23 draft.@mcp-b/react-webmcpand@mcp-b/usewebmcpuse a per-effectAbortControllerfor cleanup. On runtimes that ignore the second arg (Chrome Beta 147 native), aborting cannot remove the tool. Install@mcp-b/globalor@mcp-b/webmcp-polyfillto mitigate this.BrowserMcpServer.registerTool(tool, options?)forwardsoptions.signalto the underlying native context when supported. The deprecated{ unregister }return handle is preserved for back-compat and will be removed in the next major version.Closes #188.
Patch Changes
Add future-facing producer shims for Chrome's WebMCP surface, including
getTools(),ontoolchange, andtoolchangesupport.Continue registering tools through the WebMCP transport when native Chrome exposes
navigator.modelContextbut blocks mirroredregisterTool()calls inside permission-policy-restricted iframes.Updated dependencies
Updated dependencies [
9289d98]Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.