Appearance
Socket Overview
Use AIChatSocket for a typed Socket.IO client with callbacks for:
chat:message,presence:updateai:processing,ai:token,ai:message,ai:errorai:tool_call,ai:tool_result(optional)
Most apps won’t use it directly—prefer the Chat SDK which wires it to the graph and normalizes events.
