MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / buildServerHello

Function buildServerHello

packages/server/src/ws/protocol.ts:44–46  ·  view source on GitHub ↗
(payload: ServerHelloPayload)

Source from the content-addressed store, hash-verified

42}
43
44export function buildServerHello(payload: ServerHelloPayload): ServerHelloFrame {
45 return { type: 'server_hello', timestamp: new Date().toISOString(), payload };
46}
47
48/** WS.md §3.5: `ping` frame (S→C). `nonce` is server-minted ULID. */
49export interface PingFrame {

Callers 1

constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected