Repository navigation
Conversation
adamziel
commented
Apr 1, 2023
| @@ -1,4 +1,4 @@ | |||
| # WordPress Playground | |||
| # WordPress Playground and PHP WASM (WebAssembly) | |||
Collaborator
Author
There was a problem hiding this comment.
This is already a in trunk, I must have squashed this PR to the last trunk commit. It doesn't matter, I'll leave it like this.
This is useful in itself and makes the client package self-contained. In this instance we need it to avoid producing an invalid list of dependencies in the final package.json. This package technically depends on php-wasm/web, but takes great care not to import anything from it other than TypeScript types that are then released in a rollup file.
Closed
akirk
added a commit
that referenced
this pull request
Sep 3, 2026
Chrome 150 deprecated `navigator.modelContext` in favour of `document.modelContext` (webmachinelearning CG issue 173, PR #184) but still serves it. Playground provides the registry itself, so a plugin that has not migrated — the Abilities-to-WebMCP bridges register through `navigator` with no fallback — worked in Chrome and threw only here. Both registries now expose the deprecated global as a getter returning the same instance, warning once on first access the way a platform deprecation does. `document.modelContext` stays the documented surface, and this goes when Chrome removes it. The test registers its runtime-added tool through the alias, so the proxy path is covered from the deprecated global too. Claude-Session: https://claude.ai/code/session_01SES9wgwFmrkkhwqfmfMuMU
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.
Description
It's hard to publish all the npm packages living in this repo without a tool. After considering changesets and Lerna I decided to go with the latter since it's maintained by the authors of nx – another tool used in this project.
Solves #148