interface HttpAgentServerAdapterOptionsAuth / tenant / diagnostic headers applied to every request.
Optional fetch override, forwarded to the SSE transport. Useful
for auth proxies, Next.js route handlers, or tests with injected
mocks. Ignored when webSocketFactory is also supplied.
Per-request hook for last-mile header mutation.
Override the default /threads/:threadId/... protocol paths.
Optional WebSocket factory. Supplying it flips the adapter into WebSocket mode ā SSE is bypassed entirely.