agent.on.(...) throws 'WebSocket not connected. Call connect() first.' when handlers are registered before connect(). Handlers should be registrable before connecting (queue them and attach on connect), matching common SDK usage. Found in AgentWorkforce/skills#157.
agent.on.(...) throws 'WebSocket not connected. Call connect() first.' when handlers are registered before connect(). Handlers should be registrable before connecting (queue them and attach on connect), matching common SDK usage. Found in AgentWorkforce/skills#157.