Skip to content

fix: align WebMCP consumer calls with Chrome 155 - #68

Merged
kashishhora merged 2 commits into
mainfrom
fix/bridge-object-inputs
Sep 23, 2026
Merged

kashishhora merged 2 commits into
mainfrom
fix/bridge-object-inputs

Conversation

@kashishhora

@kashishhora kashishhora commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Use object inputs in the bridge, with a guarded JSON-string fallback for older Chrome that preserves arguments and avoids retrying tool failures or cancellations.

Match native executeTool defaults: omitted or undefined input becomes a fresh empty object when options are omitted or undefined. Undefined input with supplied options still rejects. Update the polyfill, regression tests, native harness, and docs.

Validation: 291 tests pass; library and extension builds and type checks, lint, and the native-harness build pass. The harness passes in native Chrome 155.0.8059.2 and with the polyfill.

@kashishhora kashishhora changed the title fix: use object inputs in the WebMCP bridge fix: align WebMCP consumer calls with Chrome 155 Sep 23, 2026
@kashishhora
kashishhora merged commit 94cacef into main Sep 23, 2026
4 checks passed
@kashishhora
kashishhora deleted the fix/bridge-object-inputs branch September 23, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants