Skip to content

refactor(core): Update webmcp support to use document.modelContext#68961

Open
JeanMeche wants to merge 1 commit into
angular:mainfrom
JeanMeche:mcp-document
Open

refactor(core): Update webmcp support to use document.modelContext#68961
JeanMeche wants to merge 1 commit into
angular:mainfrom
JeanMeche:mcp-document

Conversation

@JeanMeche
Copy link
Copy Markdown
Member

The implementation in Chrome 150 moved modelContext from the navigator to the document (see webmachinelearning/webmcp/pull/184)

We're also removing the calls to the deprecated unregisterTool method.

fixes #68947

@JeanMeche JeanMeche requested a review from dgp1130 May 27, 2026 21:14
@angular-robot angular-robot Bot added the area: core Issues related to the framework runtime label May 27, 2026
@ngbot ngbot Bot added this to the Backlog milestone May 27, 2026
Comment thread packages/core/src/webmcp/declare_tool.ts Outdated
The implementation in Chrome 150 moved `modelContext` from the navigator to the document (see webmachinelearning/webmcp/pull/184)

We're also removing the calls to the deprecated `unregisterTool` method.

fixes angular#68947
@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: rc This PR is targeted for the next release-candidate labels May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

move WebCMP from navigator to document API

2 participants