Repository navigation
@agent-native/core@0.78.9
·
7021 commits
to main
since this release
Patch Changes
- d2a14ea: Fix MCP App transplant (Claude) rendering the app's 404 page instead of the
target route. The embed ticket'stargetPathis/_agent-native/open?...&to=/plans/<id>,
which 302-redirects to the real app route. The transplant followed that redirect
to fetch the correct SSR HTML, but then calledhistory.replaceStatewith the
pre-redirect location (/_agent-native/open) — a server-only framework route
React Router has no client route for — so hydration threw
No route matches URL "/_agent-native/open"and rendered the app's 404 boundary.
The transplant now uses the post-redirectresponse.url(the resolved app route,
e.g./plans/<id>) forreplaceState, so the hydrated router matches the route.