Patch Changes
- #1198
dde826eThanks @threepointone! - DerivecallbackHostfromconnection.uriinaddMcpServerwhen called from a@callablemethod over WebSocket. Previously,callbackHosthad to be passed explicitly (or read from an env var) because the WebSocketonMessagecontext has no HTTP request to derive the host from. Now the host is automatically extracted from the WebSocket connection's original upgrade URL, soaddMcpServer("name", url)works without any extra options in callables. Also addsvite/clientto the sharedagents/tsconfigtypes for TS6 compatibility with CSS side-effect imports.