Skip to content

chore(demo): take agent-web 0.0.13 so the panel explains CORS failures - #6

Merged
siarheidudko merged 1 commit into
mainfrom
claude/mcp-remote-http-oauth-ges1mj
Aug 16, 2026
Merged

chore(demo): take agent-web 0.0.13 so the panel explains CORS failures#6
siarheidudko merged 1 commit into
mainfrom
claude/mcp-remote-http-oauth-ges1mj

Conversation

@siarheidudko

Copy link
Copy Markdown
Member

Why

@dudko.dev/agent-web@0.0.13 diagnoses the CORS failure that kills browser MCP clients right after the consent screen — it names the refused header instead of repeating the browser's bare TypeError: Failed to fetch. The demo's MCP panel is exactly where someone meets that failure, and it would not have picked the fix up.

The Vite alias redirects only this library to ../dist; the core is resolved from npm. And ^0.0.12 pins 0.0.12 exactly — below 0.1.0, caret does not cross the patch digit. Verified rather than assumed:

$ npm view '@dudko.dev/agent-web@^0.0.12' version
0.0.12

So the deployed demo would have kept showing the unhelpful message while the library that fixes it sat published.

What

^0.0.12 → ^0.0.13 in the demo's dependencies and this package's devDependencies, with both lockfiles updated (demo/package-lock.json now resolves 0.0.13).

No release needed for this package. The published peerDependencies range is >=0.0.12, which already admits 0.0.13, so nothing changes for consumers — this only affects what the repo and the deployed demo build against.

Verification

typecheck, format:check, test (24 pass), demo typecheck, and test:e2e (4 pass) all green.


Generated by Claude Code

The Vite alias redirects only this library to ../dist; the core resolves from
npm. With `^0.0.12` that pins 0.0.12 exactly — caret does not cross the patch
digit below 0.1.0 — so the deployed demo, which is where people connect their
own MCP server and meet this failure, would keep showing the browser's bare
"Failed to fetch" instead of naming the refused header.

The published peer range is `>=0.0.12` and already admits 0.0.13, so consumers
need nothing and this needs no release.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FKop4At26QqqkwVGEjJur
@siarheidudko
siarheidudko marked this pull request as ready for review August 16, 2026 20:37
@siarheidudko
siarheidudko merged commit 52d59e3 into main Aug 16, 2026
3 checks passed
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