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

Function pingNonce

packages/server-e2e/src/ws.ts:262–265  ·  view source on GitHub ↗
(frame: AnyFrame)

Source from the content-addressed store, hash-verified

260}
261
262function pingNonce(frame: AnyFrame): string {
263 const payload = frame.payload as { nonce?: unknown } | undefined;
264 return typeof payload?.nonce === 'string' ? payload.nonce : '';
265}
266
267function errorForReport(error: unknown): unknown {
268 if (error instanceof Error) {

Callers 1

_onMessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected