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

Function buildAck

packages/server/src/ws/protocol.ts:76–78  ·  view source on GitHub ↗
(id: string, code: number, msg: string, payload: P)

Source from the content-addressed store, hash-verified

74}
75
76export function buildAck<P>(id: string, code: number, msg: string, payload: P): AckFrame<P> {
77 return { type: 'ack', id, code, msg, payload };
78}
79
80/**
81 * WS.md §2: event envelope (S→C). `seq` is per-session monotonically

Callers 12

onClientHelloMethod · 0.90
onSubscribeMethod · 0.90
onUnsubscribeMethod · 0.90
onWatchFsAddMethod · 0.90
onWatchFsRemoveMethod · 0.90
onAbortMethod · 0.90
onTerminalAttachMethod · 0.90
onTerminalDetachMethod · 0.90
onTerminalInputMethod · 0.90
onTerminalResizeMethod · 0.90
onTerminalCloseMethod · 0.90
sendTerminalErrorAckMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected