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).
Headers applied to every request.
The configured API key, when present, is added as the x-api-key
header after these defaults are initialized.
Hook for inspecting or mutating a request before it is sent.
Receives the resolved URL and prepared RequestInit; return the
original init or a replacement object to continue the request.
Override the default /threads/:threadId/... protocol paths.
Thread ID this transport currently targets.
Optional WebSocket factory. Supplying it flips the adapter into WebSocket mode ā SSE is bypassed entirely.