Repository navigation
feat(webmcp): expose consequential and debugging tool annotations - #3250
vishalanton16 wants to merge 6 commits into
Conversation
🦋 Changeset detectedLatest commit: ebe27ed The changes in this PR will be included in the next version bump. This PR includes changesets to release 23 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
This PR is from an external contributor and must be approved by a stagehand team member with write access before CI can run. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
…ential # Conflicts: # packages/sdk-go/internal/extensionassets/stagehand-extension.zip
|
I ran this branch against real Chrome to check the CDP side. The page registers one tool with
Stable already sends Canary also sends Raw
|
|
Thanks for testing both Chrome builds and reporting the new |
Why
Applications need WebMCP annotations to identify consequential actions and tools intended for developers.
What
Preserves optional
consequentialanddebuggingannotations in the TypeScript and Python SDKs, including explicit false values and omitted fields. Documents approval handling and debugging metadata.How
Updates the Chrome DevTools Protocol dependency, annotation mapping, schema, and generated models. Merges current main and drops Go SDK changes and its changeset entry because Go is maintained on
v4-go.Validation: 236 targeted TypeScript, protocol, docs, and field-pipeline tests; 55 Python page tests; extension and protocol typechecks; affected TypeScript lint and changeset formatting pass.
Reviewer testing: register a tool with
consequentialHint: trueanddebugging: truein a supporting Chrome build. Verifypage.tools()preserves both flags, explicit false values, and omitted fields.