MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / sendWsEvent

Function sendWsEvent

src/runtime/adapters/web.ts:35–38  ·  view source on GitHub ↗
(ws: WebSocket, event: AgentEvent)

Source from the content-addressed store, hash-verified

33}
34
35function sendWsEvent(ws: WebSocket, event: AgentEvent): void {
36 if (ws.readyState !== ws.OPEN) return;
37 ws.send(JSON.stringify(event));
38}
39
40export function getRuntimeConfigSignature(config: DataConfig): string {
41 return JSON.stringify({

Callers 3

sendMessageMethod · 0.85
handleWsConnectionMethod · 0.85
onEventMethod · 0.85

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected