Interface: OpenIntentThreadOptions
Defined in: aiui-intent-runtime/src/thread.ts:15
Properties
format
format:
string
Defined in: aiui-intent-runtime/src/thread.ts:19
The wire stream format (the server must know it), e.g. intent-v1.
meta?
optionalmeta?:ClientMeta
Defined in: aiui-intent-runtime/src/thread.ts:21
Hello metadata (tab identity, actor, effective intent config…).
onSocket?
optionalonSocket?: (socket) =>void
Defined in: aiui-intent-runtime/src/thread.ts:29
Called with the RAW socket once connected, before the thread wrapper is returned — the place for connection-level listeners (error pushes carry no threadId and would be filtered by the wrapper's routing).
Parameters
socket
Returns
void
url
url:
string
Defined in: aiui-intent-runtime/src/thread.ts:17
The channel's websocket endpoint, e.g. ws://127.0.0.1:52424/ws.
webSocketFactory?
optionalwebSocketFactory?:WebSocketFactory
Defined in: aiui-intent-runtime/src/thread.ts:23
Test hook: replaces the global WebSocket.