Flute-Connect / websocket-service-v1 tester

single 'message' wire event · type-discriminated

Connection

Disconnected

Send chat message (CHAT_MSG · TEXT)

Read receipt (MESSAGE_READ)

Callback request (CHAT_MSG · msgType=2 · first time · USER only)

Sends a new CALLBACK_REQUEST row (status=PENDING). User-only — ws-svc rejects non-user senders. Reuses convKey + recipientActorId from the TEXT section. text is required on the initial send (it seeds the row); subsequent updates omit it.

Update callback (CHAT_MSG · msgType=2 + callbackStatus)

Patches an existing CALLBACK_REQUEST row by messageId. chat-svc detects callbackStatus on a msgType=2 frame and updates instead of inserting. CANCELLED stamps cancelledBy + cancelledAt; CALLED_BACK stamps callbackedBy + callbackedAt. Direction: CANCELLED (2) is bidirectional; CALLED_BACK (3) is consultant-only — ws-svc enforces this.

Event Log

no events