0.2.0: native Chrome compatibility, E2E harness, docs & release#25
Merged
Conversation
…gate pending Chrome 150+)
…onously (Chrome 151)
…g native Chrome 151
naji247
approved these changes
Jun 25, 2026
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.
Summary
Final PR of the WebMCP 0.2.0 alignment (follows #23 and #24). Adds native-browser verification, the compatibility fixes it surfaced, the docs/CHANGELOG, the version bump, and migrates the in-repo examples/skills.
examples/native-harness): a Vite + React app that registers tools, shows native-vs-polyfill detection and a livetoolchangecounter, and a one-click self-test drivingnavigator.modelContextTesting. Verified against nativedocument.modelContextin Chrome 151 (detectionnative, tools register, executes PASS, clean console).registerTooltolerates native Chrome (≤151), which returnsundefinedand throws synchronously rather than returning a Promise. The hook now handles both the native (void + sync throw) and spec/polyfill (rejecting Promise) shapes instead of crashing on.catch.AbortSignalnow resolves as a no-op (registration skipped), matching native Chrome 151. (Spec PR #202 specifies rejection; native hadn't shipped that — revisit if it changes.)docs/api.md, README "Breaking changes in 0.2.0", updatedAGENTS.md, newCHANGELOG.md, and version bump to0.2.0.webmcp-add-tool/webmcp-setupskills).Test plan
pnpm typecheck/pnpm lint— cleanpnpm test— 174 passingpnpm build,pnpm --filter webmcp-react-playground build, native-harness build#enable-webmcp-testing): self-test PASS against nativedocument.modelContextMerging this completes 0.2.0 and bumps the version; publish to npm after it lands.