File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -310,7 +310,9 @@ export type ClientContext = BaseContext & LegacyContextFields;
310310 *
311311 * v1 name for the handler context. v2 also exposes the same data under
312312 * `ctx.mcpReq` / `ctx.http`; the flat fields remain available so existing
313- * handlers compile and run unchanged. See {@linkcode BaseContext}.
313+ * handlers using them compile and run unchanged. HTTP-transport-specific fields
314+ * (`requestInfo`, `closeSSEStream`, `closeStandaloneSSEStream`) are not shimmed
315+ * and require migration to `ctx.http?.req` / `ctx.http?.closeSSE`. See {@linkcode BaseContext}.
314316 */
315317// eslint-disable-next-line @typescript-eslint/no-unused-vars -- phantom params kept for v1 source compatibility
316318export type RequestHandlerExtra < _Req = unknown , _Notif = unknown > = ServerContext ;
You can’t perform that action at this time.
0 commit comments