MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / makeStreamMessage

Function makeStreamMessage

services/cloud-agent-next/src/websocket/ingest.test.ts:81–87  ·  view source on GitHub ↗
(streamEventType: string, data?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

79 wrapperConnectionId: 'conn-1',
80 connectedAt: now,
81 kiloSessionState: { captured: false },
82 lastHeartbeatUpdate: now,
83 lastEventAtUpdate: now,
84 ...overrides,
85 };
86}
87
88function makeStreamMessage(streamEventType: string, data?: Record<string, unknown>) {
89 return JSON.stringify({
90 streamEventType,

Callers 1

ingest.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected