interface HttpAgentServerAdapterOptionsRetries and concurrency for SSE/command HTTP. When omitted, requests
use raw fetch with no automatic retries (same as constructing
ProtocolSseTransportAdapter without this option).
Auth / tenant / diagnostic headers applied to every request.
Per-request hook for last-mile header mutation.
Override the default /threads/:threadId/... protocol paths.
Thread this adapter targets. Optional: omit to construct an unbound
adapter and let the framework bind it via HttpAgentServerAdapter.setThreadId
(client.threads.stream does this) ā e.g. lazy thread creation, where
the id is only known after the first submit().
Optional WebSocket factory. Supplying it flips the adapter into WebSocket mode ā SSE is bypassed entirely.